WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] foreach() line 4527 invalid argument (10 posts)

  1. annmariedwyer
    Member
    Posted 1 year ago #

    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/

  2. annmariedwyer
    Member
    Posted 1 year ago #

    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.

  3. Otilia
    Member
    Posted 1 year ago #

    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."

  4. annmariedwyer
    Member
    Posted 1 year ago #

    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.

  5. annmariedwyer
    Member
    Posted 1 year ago #

    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

  6. annmariedwyer
    Member
    Posted 1 year ago #

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

  7. CorpWritingPro
    Member
    Posted 1 year ago #

    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

  8. annmariedwyer
    Member
    Posted 1 year ago #

    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

  9. CorpWritingPro
    Member
    Posted 1 year ago #

    That worked. Thank you!

  10. annmariedwyer
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic