• Hello,
    When I press the SEND button, there is no message on whether the form has been submitted or not. The gray circle keeps spinning, look at the screenshot (https://ibb.co/tpfWgX9). Interestingly – the form is sent correctly. This error occurs only when I am submitting the form as a non-logged user. When I’m logged in as admin, I can see form messages like “Message sent”.

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

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

    (@takayukister)

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

    Thread Starter wordpressdatasal

    (@wordpressdatasal)

    Hello,
    Plugins:
    1)CF7
    2)Easy WP SMTP
    3)Elementor
    4)Elementor – Header, Footer & Blocks
    5)Essential Addons for Elementor
    6)GDPR Cookie Consent
    7)MouseWheel Smooth Scroll
    8)SG Optimizer
    9)Yoast SEO
    Theme -> Hello Elementor

    Thanks.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Try switching to the default theme and deactivating all plugins excluding Contact Form 7.

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

    Thread Starter wordpressdatasal

    (@wordpressdatasal)

    Unfortunately, the problem is my child theme. Maybe some function or CSS. Because all I had to do was change to hello elementor from my child theme and the messages are displayed correctly.

    Thread Starter wordpressdatasal

    (@wordpressdatasal)

    Ok, I found the reason in my functions.php :

    function defer_parsing_of_js( $url ) {
        if ( is_user_logged_in() ) return $url; //don't break WP Admin
        if ( FALSE === strpos( $url, '.js' ) ) return $url;
        if ( strpos( $url, 'jquery.js' ) ) return $url;
        return str_replace( ' src', ' defer src', $url );
    }
    
    add_filter( 'script_loader_tag', 'defer_parsing_of_js', 10 );

    I still need it, so it would be good to do something about it 🙁
    Thanks

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

The topic ‘No message after pressing submit button AJAX LOADER PROBLEM’ is closed to new replies.