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
Hi guys.
PHP 8+ seems to have Problems with the class-registry:
Warning: The magic method Members\Registry::__wakeup() must have public visibility in
/homepages/31/d578283096/htdocs/wp-content/plugins/wp-permission-manager/inc/class-registry.php on line 68
i temporarily changed
private function __wakeup() {}
to
public function __wakeup() {}
in my local php files.
Hi guys.
PHP 8+ seems to have Problems with the class-registry:
Warning: The magic method Members\Registry::__wakeup() must have public visibility in
/homepages/31/d578283096/htdocs/wp-content/plugins/wp-permission-manager/inc/class-registry.php on line 68
i temporarily changed
private function __wakeup() {}
to
public function __wakeup() {}
in my local php files.
I dont get why this is mandatory now, but i found this:
https://stackoverflow.com/questions/8231090/why-do-php-magical-methods-have-to-be-public
Cheers from Germany
Christian
The text was updated successfully, but these errors were encountered: