• Resolved trixicom

    (@trixicom)


    Hi,

    Using Contact Form 7 – Version 5.9.3 + WP Rocket + Cloudflare

    I activated reCAPTCHA (v3) on my site at https://www.trixi.com/contact/

    In the front-end of my site a small reCAPTCHA badge appears at the bottom right – so the Site Key & Secret Key are ok.

    Trying to send a message I receive
    “Failed to send your message. Please try later or contact the administrator by another method.”

    Would you please so kind to give me a hand? I do not have any idea why reCAPTCHA is not visualized – even after cache purging….

    Thank you very much

    Gerald from Spain

    ______FORM___________

    [text* Nombreyapellidos placeholder “Name and surname”]

    [email* your-email akismet:author_email placeholder “eMail”]

    [textarea your-message 0x0 placeholder "Message"]

    [acceptance acceptance-424-english] Yes [/acceptance] – I have read and accept the privacy policy and terms & conditions

    [submit “Send”]
    ______FORM___________

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

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

    (@takayukister)

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

    Thread Starter trixicom

    (@trixicom)

    Thank you very much for your message.
    
    I tried with the plugin Health Check & Troubleshooting in "Troubleshooting Mode" with enabled Contact Form 7 only + Theme Twenty Twenty-Three - but it does not work (asking for reRAPTCHA code)
    
    Here is a list of my themes and plugins. I tried to troubleshoot with "Health Check & Troubleshooting" - and activated
    Theme: Twenty Twenty-Three
    Plugins: Contact Form 7
    
    With this minimal config I can send message, can see the Google ReCAPTCHA badge at the bottom right but it is not asking for any verificaction…. I also do receive the email then in my inbox.
    
    This are my plugins & themes:
    
    Ad Inserter
    Advanced Database Cleaner PRO
    Data types for Adventure Tours theme
    Broken Link Checker
    Burst Statistics - Privacy-Friendly Analytics for WordPress
    Show 24 remaining plugins
    Business Reviews Bundle
    Chaty Pro
    Child Theme Configurator
    Complianz Privacy Suite (GDPR/CCPA) premium
    Complianz - Terms and Conditions
    Contact Form 7
    Custom Field Suite
    Custom Taxonomy Order
    Easy Table of Contents
    FareHarbor for WordPress
    Font Awesome
    Health Check & Troubleshooting
    Imagify
    WPBakery Page Builder
    MalCare WordPress Security Plugin - Malware Scanner, Cleaner, Security Firewall
    Really Simple SSL Pro
    Rank Math SEO PRO
    Rank Math SEO
    TranslatePress - Business
    TranslatePress - Multilingual
    URL Shortify
    WooCommerce
    Asset CleanUp Pro: Page Speed Booster
    WP Rocket
    
    Available themes (4)
    Active: Twenty Twenty-Three
    Adventure Tours - Switch to this theme
    Adventure Tours Child - Switch to this theme
    Twenty Twenty-Four - Switch to this theme
    
    I tried with the plugin Health Check & Troubleshooting in "Troubleshooting Mode" with enabled Contact Form 7 only + Theme Twenty Twenty-Three - but it does not work (asking for reRAPTCHA code)
    
    Thank you very much
    
    Saludos from Spain
    
    Gerald
    www.trixi.com
    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Try switching to the default theme, deactivating all plugins excluding Contact Form 7 and Health Check & Troubleshooting, and clearing all cache data.

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

    Thread Starter trixicom

    (@trixicom)

    Thank you so much for answering, Takayuki! I cleaned / purged cache. Now my problem is at https://www.trixi.com/contact/

    After sending a form it reloads – the written message is still there…after a second try of sending (clicking SEND button) it send it and is received…but I have always to send it twice…

    Strange….

    Thread Starter trixicom

    (@trixicom)

    Ignore my last message. Stupid me. I was loggen in as admin. I will do what you Said ans Report again.

    Thread Starter trixicom

    (@trixicom)

    Hi Takayuki,
    
    finally I did the test on live site. I switched to Twenty-Twenty-Three theme and swichted off all plugins - except yours...
    
    Then I switched plugins ON in groups of 5 but the last one was WP Rocket.
    
    This plugin seems to generate my trouble....with WP Rocket DEACTIVATED and Cloudflare cache purged I am able to sent perfectly message from your form.
    
    As far as I read there a known problems of compatibility with Contact Form 7 - tomorrow I will check the suggestions from WP Rocket as described here:
    
    https://docs.wp-rocket.me/article/1495-using-contact-form-7-with-wp-rocket
    
    If you have any other idea: Welcome to tell me :-) - I do use WP Rocket Version 3.15.10 
    
    Thank you very much
    
    Saludos from Spain
    
    Gerald
    Trixi.com
    
    _____________________________
    
    
    Complianz Privacy Suite (GDPR/CCPA) premium: 7.0.8
    Contact Form 7: 5.9.3
    Custom Field Suite: 2.6.5
    Custom Taxonomy Order: 4.0.0
    Data types for Adventure Tours theme: 2.6.0
    Easy Table of Contents: 2.0.63
    FareHarbor for WordPress: 3.6.9
    Font Awesome: 4.4.0
    Health Check & Troubleshooting: 1.7.0
    Imagify: 2.2.0.1
    MalCare WordPress Security Plugin - Malware Scanner, Cleaner, Security Firewall: 5.53
    Rank Math SEO: 1.0.215.1
    Rank Math SEO PRO: 3.0.58
    Really Simple SSL Pro: 8.0.0
    TranslatePress - Business: 1.3.8
    TranslatePress - Multilingual: 2.7.3
    URL Shortify: 1.8.4
    WooCommerce: 8.7.0
    WPBakery Page Builder: 7.5 Inactive Plugins ("plugins" directory)
    
    WP Rocket: 3.15.10 Webserver Configuration
    
    PHP Version: 7.4.33
    MySQL Version: 5.5.5
    Webserver Info: Apache/2.4.58 (Debian) PHP Configuration
    
    Memory Limit: 2048M
    Upload Max Size: 10M
    Post Max Size: 10M
    Upload Max Filesize: 10M
    Time Limit: 300
    Max Input Vars: 2500
    Display Errors: N/A PHP Extensions
    
    cURL: Supported
    fsockopen: Supported
    SOAP Client: Installed
    Suhosin: Not Installed
    Thread Starter trixicom

    (@trixicom)

    I fixed my problem, just switching OFF theme and all plugins and then swichting everything ON again, one by one

    WP ROCKET generated my trouble and headache.
    Tab: FILE OPTIMIZATION
    “Delay Java Script execution” is marked.

    I had in the field “Excluded JavaScript Files”
    Specify URLs or keywords that can identify inline or JavaScript files to be excluded from delaying execution (one per line).:

    The following code:
    \/jquery(-migrate)?-?([0-9.]+)?(.min|.slim|.slim.min)?.js(\?(.))?( |’|”|>) js-(before|after) (?:/wp-content/|/wp-includes/)(.)

    WP Rocket says “If you have problems after activating this option, copy and paste the default exclusions to quickly resolve issues”

    No clue who put the code in the past at this place / in the field – maybe one of the guys who worked on our WordPress…no clue…

    I just deleted the code and saved.

    This fixed my problem. Now I can send emails from Contact Form 7 and the our site looks as before.

    No clue, what this code exactly does which I deleted…but at the end it works.

    Saludos and thank you

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