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).
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