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

Public visibility error in PHP 8 #80

Open
leftlane opened this issue Nov 5, 2021 · 0 comments
Open

Public visibility error in PHP 8 #80

leftlane opened this issue Nov 5, 2021 · 0 comments
Assignees
Labels

Comments

@leftlane
Copy link
Collaborator

leftlane commented Nov 5, 2021

From the WordPress.org repo support channel...

When I try to use this plugin on a server running PHP 8, I get the following warning:

PHP Warning: The magic method WP101\API::__wakeup() must have public visibility in /sitename/wp-content/plugins/wp101/includes/class-api.php on line 71

Changing the visibility to public does fix it, so I wanted to give you a heads up!

@leftlane leftlane added the bug label Nov 5, 2021
@stevegrunwell stevegrunwell self-assigned this Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants