Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some PHP 8+ Issues #4

Open
Hamborn opened this issue Mar 6, 2023 · 0 comments
Open

Some PHP 8+ Issues #4

Hamborn opened this issue Mar 6, 2023 · 0 comments

Comments

@Hamborn
Copy link

Hamborn commented Mar 6, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant