WordPress.org

Forums

Jetpack by WordPress.com
[resolved] Update causing errors (4 posts)

  1. awentherapy
    Member
    Posted 1 year ago #

    I just updated the jetpack plugin and now I'm consistently receiving this message -

    Warning: Invalid argument supplied for foreach() in /home/content/p3nexnas05_data01/75/2167375/html/wp-content/plugins/jetpack/class.jetpack.php on line 4470

    Any suggestions?

    Thanks.

    https://wordpress.org/plugins/jetpack/

  2. Brandon Kraft
    Happiness Engineer
    Plugin Contributor

    Posted 1 year ago #

    Howdy,

    I'm sorry about this— a new feature in 3.1 mixed badly with something coming from your site that we weren't expecting.

    Version 3.1.1 will resolve this, but in the meantime, this change in the class.jetpack.php file will take care of it (delete the red line and paste, in its place, the green):

    https://github.com/Automattic/jetpack/commit/3f59fe6d393677be98ce69fa5fb6c4ce1b93cbc1

    My apologies for the hassle. Cheers!

  3. awentherapy
    Member
    Posted 1 year ago #

    Thank you! That took care of it.

  4. dtpuga
    Member
    Posted 1 year ago #

    I had the same issue, your fix worked. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Jetpack by WordPress.com
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic