I've got the message:
glpi.CRITICAL: *** Uncaught PHP Exception TypeError: "GlpiPlugin\Behaviors\Change::beforeAdd(): Argument #1 ($change) must be of type GlpiPlugin\Behaviors\Change, Change given, called in ./src/Plugin.php on line 1759" at Change.php line 47
The solution is:
On file src/Change.php, line 47:
- public static function beforeAdd(Change $change)
+ public static function beforeAdd(\Change $change)
I've got the message:
glpi.CRITICAL: *** Uncaught PHP Exception TypeError: "GlpiPlugin\Behaviors\Change::beforeAdd(): Argument #1 ($change) must be of type GlpiPlugin\Behaviors\Change, Change given, called in ./src/Plugin.php on line 1759" at Change.php line 47
The solution is:
On file src/Change.php, line 47: