• Resolved willmarques

    (@willmarques)


    Hello, I’m having an issue with Contact Form 7 on Border Theme. When the form is filled and sent, I get the following message on my website:

    Warning: array_keys() expects parameter 1 to be array, string given in /home/willmarques/public_html/wp-content/plugins/jetpack/modules/contact-form/grunion-contact-form.php on line 1508

    I get the contact form filled in my e-mail, but this message appears in my website for the person that sent the contact form.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Thanks for the report. We’ve been working on a patch to solve the issue, but we still need to test it before it’s included in a future version of Jetpack.

    If you feel comfortable editing PHP files, you can test the patch yourself by making the changes highlighted here:
    https://github.com/Automattic/jetpack/pull/3222/files

    Let me know how it goes.

    Hi Jeremy,

    I have the same problem here.

    The patch you offer hides the error message, but it still makes the extra fields disappear from the e-mail that is sent, and from the confirmation page that is displayed to the user.

    When you call “get_post_meta” to obtain the extra fields, the return is an empty string (which causes the warning to appear), even if there were extra fields.

    The surprising point is that when you wait a couple of minute and refresh the confirmation page, that problem is solved by itself.

    And for the record, I can still view the correct extra fields in the Feedback section of the admin, as soon as it is posted.

    @piwel: If you require assistance then, as per the Forum Welcome, please post your own topic.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem with JetPack module with Contact Form’ is closed to new replies.