Hi,
Just thought I would bring this to your attention. I keep getting these warnings in the log…
PHP Warning: foreach() argument must be of type array|object, null given in /public_html/wp-admin/includes/plugin.php on line 1792
Hi,
Just thought I would bring this to your attention. I keep getting these warnings in the log…
PHP Warning: foreach() argument must be of type array|object, null given in /public_html/wp-admin/includes/plugin.php on line 1792
Thanks for your reply.
The only thing I found with Query Monitor is I was using depreciated contextual_help_list
to remove the help tab.
Maybe that was the problem.
It was remove_menu_page
. It was using admin_init
rather than admin_menu
.
Thanks for your help on this.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.