[Resolved] E_WARNING: Invalid argument supplied for foreach()
Hi there…first, thanks for updating & supporting a great plugin.
We use New Relic to monitor sites on our multi-site network, and one site is showing an E_WARNING that appears to be tied to Widget Visibility under Jetpack. Here’s the stack trace:
E_WARNING: Invalid argument supplied for foreach()
in Jetpack_Widget_Conditions::sidebars_widgets called at ? (?)
in call_user_func_array called at /srv/www/wordpress/wp-includes/plugin.php (199)
in apply_filters called at /srv/www/wordpress/wp-includes/widgets.php (1016)
in wp_get_sidebars_widgets called at /srv/www/wordpress/wp-includes/widgets.php (977)
…alled at /srv/www/wordpress/wp-content/themes/genesis/lib/structure/
in genesis_footer_widget_areas called at ? (?)
in call_user_func_array called at /srv/www/wordpress/wp-includes/plugin.php (429)
in do_action called at /srv/www/wordpress/wp-content/themes/genesis/footer.php (17)
in require_once called at /srv/www/wordpress/wp-includes/template.php (441)
in load_template called at /srv/www/wordpress/wp-includes/template.php (417)
… locate_template called at /srv/www/wordpress/wp-includes/
…ooter called at /srv/www/wordpress/wp-content/themes/genesis/lib/
in genesis called at /srv/www/wordpress/wp-content/themes/genesis/page.php (15)
in include called at /srv/www/wordpress/wp-includes/template-loader.php (74)
in require_once called at /srv/www/wordpress/wp-blog-header.php (16)
in require called at /srv/www/wordpress/index.php (17)
It seems to occur when running post.php with action=edit but it might occur at other times.
Let me know if I can provide more info to help you track down what’s going on.
- The topic ‘[Resolved] E_WARNING: Invalid argument supplied for foreach()’ is closed to new replies.