• dessol

    (@dessol)


    There appears to be an issue with Contact From 7 (version 6.0.2) and Recaptcha Integration. With the integration added, the form both does not submit and also provides no feedback. The error reported in the console is:

    index.js?ver=6.0.2:1 TypeError: Cannot set properties of null (setting 'innerText')
    at d (index.js?ver=6.0.2:1:7078)
    at index.js?ver=6.0.2:1:6826
    at c.reduceRight.url (index.js?ver=6.0.2:1:1138)
    at index.js?ver=6.0.2:1:7878
    at c.reduceRight.url (index.js?ver=6.0.2:1:1138)
    at r (index.js?ver=6.0.2:1:1952)
    at p (index.js?ver=6.0.2:1:5933)
    at index.js?ver=6.0.2:1:429

    The aforementioned line reads:

    e.wpcf7.parent.querySelector('.screen-reader-response [role="status"]').innerText = "",

    It appears to be trying to set the value of the querySelector which is returning null in some cases and breaking the form. I can have added optional chaining as a quick fix for this in the interim.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    What other plugins and theme do you use on the site?

    Thread Starter dessol

    (@dessol)

    Plugins comprise of:

    • Better Search Replace
    • Contact Form 7
    • Disable Comments
    • Facebook Albums
    • Gallery by BestWebSoft
    • GP Premium
    • Metaslider
    • Really Simple Security
    • Responsive Lightbox & Gallery
    • ShareThis Dashboard for Google Analytics
    • Smash Balloon Instagram Feed
    • WEN’s Responsive Column Layout Shortcodes
    • Wordfence Security
    • WordPress Importer
    • WP Mail SMTP

    All updated to their latest where applicable. Some of these need replacing, which we have informed the website owner of.

    Theme is GeneratePress.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Try switching to the default theme, deactivating all plugins excluding Contact Form 7, Really Simple Security, Wordfence Security, WordPress Importer and WP Mail SMTP, and clearing all cache data.

    Why you are advised to deactivate plugins and switch to the default theme.

    webbuddysg

    (@webbuddysg)

    Try to deactivate recaptcha and install the plugin ‘WP Armour’ (simple plugin that works very well in blocking CF7 spam), it works for me.

    Hope this works for you too.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.