You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, i had the same problem, since php7.3 version compact have this behaviour:
compact() now issues an E_NOTICE level error if a given string refers to an unset variable. Formerly, such strings have been silently skipped.
So i had to go to the function and add the ThrowException variable by myself:
public static function beforeRemoveChildren($parentName, $childrenNames)
{
$throwException = null; //Missing variable error, you must add
$event = new AbstractItemEvent(compact('parentName', 'childrenNames', 'throwException'));
$event->trigger(get_called_class(), self::EVENT_BEFORE_REMOVE_CHILDREN, $event);
}
user-management/models/rbacDB/AbstractItem.php
Line 270 in ae159f7
The text was updated successfully, but these errors were encountered: