Title: Update causing errors
Last modified: August 21, 2016

---

# Update causing errors

 *  Resolved [awentherapy](https://wordpress.org/support/users/awentherapy/)
 * (@awentherapy)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/update-causing-errors/)
 * 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/](https://wordpress.org/plugins/jetpack/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Brandon Kraft](https://wordpress.org/support/users/kraftbj/)
 * (@kraftbj)
 * Code Wrangler
 * [11 years, 8 months ago](https://wordpress.org/support/topic/update-causing-errors/#post-5150712)
 * 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](https://github.com/Automattic/jetpack/commit/3f59fe6d393677be98ce69fa5fb6c4ce1b93cbc1)
 * My apologies for the hassle. Cheers!
 *  Thread Starter [awentherapy](https://wordpress.org/support/users/awentherapy/)
 * (@awentherapy)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/update-causing-errors/#post-5150734)
 * Thank you! That took care of it.
 *  [dtpuga](https://wordpress.org/support/users/dtpuga/)
 * (@dtpuga)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/update-causing-errors/#post-5150806)
 * I had the same issue, your fix worked. Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Update causing errors’ is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

## Tags

 * [errors](https://wordpress.org/support/topic-tag/errors/)
 * [invalid argument](https://wordpress.org/support/topic-tag/invalid-argument/)

 * 3 replies
 * 3 participants
 * Last reply from: [dtpuga](https://wordpress.org/support/users/dtpuga/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/update-causing-errors/#post-5150806)
 * Status: resolved