foreach() error in 2.2.3 update
-
Since the update a few minutes ago, now getting the following error on every page.
Warning: Invalid argument supplied for foreach() in /home/user/root/wp-content/plugins/jetpack/jetpack.php on line 4534
-
@designsimply
Resolved for me too
So many thanksHi all, Jetpack 2.2.4 has been released to address this issue. My apologies and thanks for your prompt attention and reports!
After Jetpack update on 27/4/2013 to 2.2.4 got a warning..!
Having updated Jetpack twice within 2 hours on 27/4/2013 to 2.2.4 I got this very akwerd warning on my site in every post and page.
The warning is:
Warning: Missing argument 3 for Jetpack_Custom_CSS::editor_max_image_size() in /wp-content/plugins/jetpack/modules/custom-css/custom-css.php on line 1147Could anyone tell me what to do please?
Best regards Silvie.
European Bridal Fashion Blog
http://www.silviesbridal.com@bridal_blog, that looks like possibly a separate issue compared to the one reported earlier in this thread. I will look into it. Is the warning message the only issue? Does everything else work normally?
@bridal_blog, actually, instead of replying here, can you please make a separate help request at http://wordpress.org/support/plugin/jetpack#postform for your issue?
@bridal_blog, so you know, I tested and I couldn’t find the warning you mentioned on my test blog, but I’m also not sure how it’s being triggered. Can you tell me what you currently have saved for “Image Sizes” on your Settings → Media page? Here are my current settings: http://cl.ly/Oag7
Great! Thanks this worked fine now!
I’m getting this same error [the Warning: Invalid argument supplied for foreach() in /home/user/public_html/wp-content/plugins/jetpack/jetpack.php on line 4534 one], but am unable to even login to wp-admin. When I try to login, I get this:
Warning: Invalid argument supplied for foreach() in /home/user/public_html/wp-content/plugins/jetpack/jetpack.php on line 4534
Warning: Cannot modify header information – headers already sent by (output started at /home/user/public_html/wp-content/plugins/jetpack/jetpack.php:4534) in /home/user/public_html/wp-login.php on line 368
Warning: Cannot modify header information – headers already sent by (output started at /home/user/public_html/wp-content/plugins/jetpack/jetpack.php:4534) in /home/user/public_html/wp-login.php on line 380
Warning: Cannot modify header information – headers already sent by (output started at /home/user/public_html/wp-content/plugins/jetpack/jetpack.php:4534) in /home/user/public_html/wp-includes/pluggable.php on line 680
Warning: Cannot modify header information – headers already sent by (output started at /home/user/public_html/wp-content/plugins/jetpack/jetpack.php:4534) in /home/user/public_html/wp-includes/pluggable.php on line 681
Warning: Cannot modify header information – headers already sent by (output started at /home/user/public_html/wp-content/plugins/jetpack/jetpack.php:4534) in /home/user/public_html/wp-includes/pluggable.php on line 682
Warning: Cannot modify header information – headers already sent by (output started at /home/user/public_html/wp-content/plugins/jetpack/jetpack.php:4534) in /home/user/public_html/wp-includes/pluggable.php on line 876
This is all on a plain white page with nothing else at all.
If I can’t login, I can’t rollback or install a new update or address this in any way I can think of. Can anyone help?
Nevermind! I was able to find a way into the files and edit them. Have the new update now and all seems good. Thanks!
@bridal_blog, please apply the following changeset to your jetpack files and let me know if that fixes the warning for custom-css.php you mentioned above.
Hello designsimply,
I have read your answer and will upload my settings of media in a jpg file. Although its in Dutch, you can see what the settings are. I use large pictures because of the female which would like to see the details on the Wedding Dresses. I asked myself why it has occured after an update of Jetpack? Settings where as on jpg file for a long time and no problems at all.
Best regards,
Silvie.
http://www.silviesbridal.comlink of the settings: http://silviesbridal.com/images/settings_in_Dutch.jpg
Hello designsimply,
Problem solved. For answer, look at link: http://en.forums.wordpress.com/topic/after-jetpack-update-on-2742013-to-224-got-a-warning?replies=4
Best regards,
Silvie.
I’m having the exact same error message as BridalBlog. But I have no clue how to resolve it according to the link above.
@bridal_blog, please apply the following changeset to your jetpack files and let me know if that fixes the warning for custom-css.php you mentioned above.
This solution worked for me. My blog was having the same issue as the one detailed by Bridal_blog.
The topic ‘foreach() error in 2.2.3 update’ is closed to new replies.