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

Fatal Error when running other 10up plugins #196

Closed
1 task done
claudiulodro opened this issue Jul 8, 2024 · 0 comments · Fixed by #197
Closed
1 task done

Fatal Error when running other 10up plugins #196

claudiulodro opened this issue Jul 8, 2024 · 0 comments · Fixed by #197
Assignees
Labels
type:bug Something isn't working.
Milestone

Comments

@claudiulodro
Copy link

Describe the bug

[08-Jul-2024 21:03:54 UTC] PHP Fatal error:  Cannot redeclare minimum_php_requirement() (previously declared in /srv/htdocs/wp-content/plugins/publisher-media-kit/publisher-media-kit.php:33) in /srv/htdocs/wp-content/plugins/simple-local-avatars/simple-local-avatars.php on line 26

The minimum_php_requirement and site_meets_php_requirements functions were recently added to a bunch of 10up plugins. Some of these plugins do not have a namespace e.g. Publisher Media Kit and Simple Local Avatars, so when any 2 of these plugins are run together the site crashes hard.

Steps to Reproduce

  1. Install and activate Publisher Media Kit and Simple Local Avatars. Observe fatal errors.

Screenshots, screen recording, code snippet

No response

Environment information

No response

WordPress information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants