I too just upgraded too 2.2.3 today and i am getting the warning
Warning: Invalid argument supplied for foreach() in /wp-content/plugins/jetpack/jetpack.php on line 4534
@jason102178 I noticed that both Fabrizio and I have bbpress on our sites. Do you as well? This could be the problem as there is a bit of code right before that foreach() specific to bbpress.
@probablynot Yup i do , i never use to have bbpress, afer 5 yrs i finally installed bbpress yesterday.
I’ve bbpress 2.3.1 and WordPress 3.6-beta1-24095 (and buddypress)
yeah I too have BBpress 2.3.1 and i have wordpress 3.5 i don’t have the beta version
+1. bbPress 2.3.1 and same error with Jetpack 2.2.3. Rolling back now, in fact.
This happened again on my website from the last update before this.
I “fixed” it by deleting the code in public_html>wp_content>plugins>jetpack.php
foreach ( $_jetpack_rest_api_compat_includes as $_jetpack_rest_api_compat_include )
require_once $_jetpack_rest_api_compat_include;
I really hope the developers fix this.
If you comment out the lines:
if ( function_exists( 'bbpress' ) )
$_jetpack_rest_api_compat_includes = dirname( __FILE__ ) . '/class.jetpack-bbpress-json-api-compat.php';
it also works.
Same error, bbpress also, buddypress, my error shows an extra line with nivo slider.
Should we request support from buddypress too?
I came back to 2.2.2.
Everything good!
How do you roll back to 2.2.2?
Deactivating the bbPress plug-in got my site to not have those error messages on top in the live version.
I’m not a great wp expert.
To roll back I go to
http://wordpress.org/extend/plugins/jetpack/developers/
download version 2.2.2
and install it via ftp but I think you can install directly the zip