WordPress.org

Support

Support » Plugins and Hacks » Jetpack by WordPress.com » [Resolved] foreach() line 4527 invalid argument

[Resolved] foreach() line 4527 invalid argument

  • When I updated today, I got stuck in maintenance mode. My update screen showed the “Down for Maintenance. Please check back in a few minutes.” which normally appears on the site.

    Now, my site has this warning on the front and back ends:

    Warning: Invalid argument supplied for foreach() in /home/content/94/9852494/html/wp-content/plugins/jetpack/jetpack.php on line 4527

    Any ideas?
    http://redmundpro.com

    I would gladly reupdate, but I cannot find just the update.

    http://wordpress.org/extend/plugins/jetpack/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Update:

    I deactivated it to see if something was set wrong and got this error message:

    The plugin generated 169 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

    Otilia

    @otilia-ad-ops-online

    Having the very same problem, after the most recent update (yesterday):

    – received the following Warning: Invalid argument supplied for foreach() in /home/…/wp-content/plugins/jetpack/jetpack.php on line 4527

    after deactivating and re-activating, I receive the same error (taking the site down) with the following notification: “The plugin generated 183 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.”

    Update:

    Today’s update created a new error:

    Warning: Invalid argument supplied for foreach() in /home/content/94/9852494/html/wp-content/plugins/jetpack/jetpack.php on line 4534

    The warning on activation remained the same:
    The plugin generated 169 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

    When attempting to approve comments, I got this:

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/94/9852494/html/wp-content/plugins/jetpack/jetpack.php:4534) in /home/content/94/9852494/html/wp-includes/pluggable.php on line 876

    I followed the instructions and removed JetPack. A fresh install gave the same line 4534 error.

    I’m having the same error message. (Sorry for the %, tried googling, the following is cut and paste from URL.)

    I deactivated. Will reinstall a lower version now and see what happens.

    warning: Invalid argument supplied for foreach%28%29 in /home/content/19/7058619/html/wp-content/plugins/jetpack/jetpack.php on line 4534Warning: session_start%28%29 [function.session-start]: Cannot send session cache limiter – headers already sent %28output started at /home/content/19/7058619/html/wp-content/plugins/jetpack/jetpack.php:4534%29 in /home/content/19/7058619/html/wp-content/plugins/wp-e-commerce/wpsc-core/wpsc-constants.php on line 19

    If you want to keep the current version, you can use this patch. It is in a few other threads.
    http://wordpress.org/support/topic/223-warning?replies=16

    That worked. Thank you!

    For me, it was the bbPress clash. Commenting out the line fixed it.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Resolved] foreach() line 4527 invalid argument’ is closed to new replies.
Skip to toolbar