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
I've been trying to track down what plugin is causing a surge in “PHP Warning” erros in my WP instance, hosted at WordPress.com.
I set up a staging site and deactivated one plugin at a time, checking out how they affect my logs. After deactivating ActivityPub plugin, the error messages disappeared.
They look like this:
Transcription:
Message: PHP Warning: foreach() argument must be of type array|object, null given in /wordpress/core/6.7/wp-admin/includes/plugin.php on line 1853 Timestamp: 2024-11-20T20:52:05.000Z Type: core Name: 6.7 File: /wordpress/core/6.7/wp-admin/includes/plugin.php Line: 1853
I'm really not sure if they are caused by AP plugin; it's just my main suspicion. I also suspect it may be something related to the WordPress.com interventions with MU plugin and Jetpack, which causes some headaches from time to time.
I hope this report helps anyway.
Steps to reproduce
Activate AP plugin.
Wait.
Check “Logs” (not sure if it's available in self-manage WP or only in Business WP.com accounts).
What you expected to happen
No errors appearing.
What actually happened
PHP Warnings appear frequently.
Impact
Some (< 50%)
Available workarounds?
No but the platform is still usable
Logs or notes
No response
The text was updated successfully, but these errors were encountered:
Maybe it isn't related to AP plugin, after all. I searched my WordPress theme for remove_menu_page() references and found a couple on functions.php. Probably the culprit.
Quick summary
I've been trying to track down what plugin is causing a surge in “PHP Warning” erros in my WP instance, hosted at WordPress.com.
I set up a staging site and deactivated one plugin at a time, checking out how they affect my logs. After deactivating ActivityPub plugin, the error messages disappeared.
They look like this:
Transcription:
I'm really not sure if they are caused by AP plugin; it's just my main suspicion. I also suspect it may be something related to the WordPress.com interventions with MU plugin and Jetpack, which causes some headaches from time to time.
I hope this report helps anyway.
Steps to reproduce
What you expected to happen
No errors appearing.
What actually happened
PHP Warnings appear frequently.
Impact
Some (< 50%)
Available workarounds?
No but the platform is still usable
Logs or notes
No response
The text was updated successfully, but these errors were encountered: