Title: Persistent PHP errors re: Jetpack Grunion Contact Form
Last modified: September 1, 2016

---

# Persistent PHP errors re: Jetpack Grunion Contact Form

 *  Resolved [Hannah West Design](https://wordpress.org/support/users/vesica/)
 * (@vesica)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/persistent-php-errors-re-jetpack-grunion-contact-form/)
 * I am seeing PHP warnings on several sites, thanks to the Bulletproof Security
   Pro plugin, that makes me wonder if there is something wrong with the Jetpack
   contact form, and if this means my clients are not receiving the emails that 
   should be sent from it. This is how the error is reported. The line number is
   the same every time: [08-Aug-2016 21:39:51 UTC] PHP Warning: Invalid argument
   supplied for foreach() in /home3/newnapaw/public_html/wp-content/plugins/jetpack/
   modules/contact-form/grunion-contact-form.php on line 204
 * I see this over and over again at random intervals, and presume that it is occurring
   each time the contact form is used. Can you tell me if this is a known issue 
   and if a fix is being developed? When can we expect to see this issue resolved?
 * Thanks!
 * [https://wordpress.org/plugins/jetpack/](https://wordpress.org/plugins/jetpack/)

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

 *  [Luke Cavanagh](https://wordpress.org/support/users/lukecavanagh/)
 * (@lukecavanagh)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/persistent-php-errors-re-jetpack-grunion-contact-form/#post-7657124)
 * [@vesica](https://wordpress.org/support/users/vesica/)
 * That code line is just
 * [https://github.com/Automattic/jetpack/blob/master/modules/contact-form/grunion-contact-form.php#L204](https://github.com/Automattic/jetpack/blob/master/modules/contact-form/grunion-contact-form.php#L204)
 *  Plugin Author [Brandon Kraft](https://wordpress.org/support/users/kraftbj/)
 * (@kraftbj)
 * Code Wrangler
 * [9 years, 10 months ago](https://wordpress.org/support/topic/persistent-php-errors-re-jetpack-grunion-contact-form/#post-7657286)
 * Luke—that’s JP trunk. More likely, this line [https://github.com/Automattic/jetpack/blob/4.1.1/modules/contact-form/grunion-contact-form.php#L204](https://github.com/Automattic/jetpack/blob/4.1.1/modules/contact-form/grunion-contact-form.php#L204)
 * It was fixed via [https://github.com/Automattic/jetpack/pull/4426](https://github.com/Automattic/jetpack/pull/4426)
   and will be in Jetpack 4.2.
 * Cheers!
 *  [Luke Cavanagh](https://wordpress.org/support/users/lukecavanagh/)
 * (@lukecavanagh)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/persistent-php-errors-re-jetpack-grunion-contact-form/#post-7657302)
 * [@brandon](https://wordpress.org/support/users/brandon/) Kraft
 * Good to know.
 *  Thread Starter [Hannah West Design](https://wordpress.org/support/users/vesica/)
 * (@vesica)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/persistent-php-errors-re-jetpack-grunion-contact-form/#post-7657319)
 * Thank you gentlemen. Good to know it will be fixed soon.
 *  [gt-e-andy](https://wordpress.org/support/users/gt-e-andy/)
 * (@gt-e-andy)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/persistent-php-errors-re-jetpack-grunion-contact-form/#post-7657367)
 * I’ve been through the file
    jetpack / modules / contact -form / grunion -contact
   form.php a 500 error . The provider has now suspended because it had exceeded
   the storage limit . Is also responsible for the entirety of contributions in 
   social networks this file? My contributions are namely about since no longer 
   on Facebook and co ….. someone your idea?
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [9 years, 10 months ago](https://wordpress.org/support/topic/persistent-php-errors-re-jetpack-grunion-contact-form/#post-7657368)
 * [@gt-e-andy](https://wordpress.org/support/users/gt-e-andy/) This issue was fixed
   in the last Jetpack release. Could you try to log in to your site via FTP or 
   CPanel, and delete the existing Jetpack plugin folder, and reinstall the plugin
   manually as explained here:
    [http://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation](http://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation)
 * You’ll find the Jetpack plugin folder here:
 *     ```
       wp-content
          plugins
            jetpack - DELETE THIS FOLDER
       ```
   
 * If you’re not sure how to do this, you can ask your hosting company for help.
   They should also have documentation explaining how to edit or remove files from
   your site using FTP or a File Manager in your admin panel.
 * Let me know how it goes.
 *  [AOS](https://wordpress.org/support/users/fandoment/)
 * (@fandoment)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/persistent-php-errors-re-jetpack-grunion-contact-form/#post-8688386)
 * I manually removed and manually installed, and the problem persisted.
 * I switched to Ninja Forms, but I’d prefer to have one less plugin and have the
   Jetpack form work properly.
 * How can this be fixed?
 * Thank you.
    -  This reply was modified 9 years, 4 months ago by [AOS](https://wordpress.org/support/users/fandoment/).
 *  Plugin Author [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [9 years, 4 months ago](https://wordpress.org/support/topic/persistent-php-errors-re-jetpack-grunion-contact-form/#post-8688725)
 * [@fandoment](https://wordpress.org/support/users/fandoment/) Could you let me
   know what version of PHP is currently installed on your server?

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

The topic ‘Persistent PHP errors re: Jetpack Grunion Contact Form’ 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

 * [contact-form](https://wordpress.org/support/topic-tag/contact-form/)
 * [PHP Warning](https://wordpress.org/support/topic-tag/php-warning/)

 * 8 replies
 * 6 participants
 * Last reply from: [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/persistent-php-errors-re-jetpack-grunion-contact-form/#post-8688725)
 * Status: resolved