• First of all, thanks a lot for an excellent theme. I am really happy with its features and design and receive a lot of praise for our website.

    I am using “Contact Form 7”. Since a few weeks, my forms no longer display error messages when the user forgets to fill out required fields. Instead, an empty red rectangle is shown. The console lists the following error:

    “Type error: n is null”

    …/wp-content/plugins/contact-form-7/includes/js/index.js?ver=5.4:1

    The problem is related to the Materialis theme. When I switch to the default theme, everything works fine. I tried deactivating other plugins etc., but Materialis seems to be the only reason.

    I tried downgrading to Materialis 1.1.14, where everything worked fine recently, but this didn’t help either. So I think this has something to do with the interplay between Materialis and the recent WP 5.7 upgrade.

    Thanks for any hint!

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    Can you please try to de-activate all plugins except the Materialis Companion Contact form plugins and re-check your page with the issue?

    This seems to be a plugin related issue.

    Please let me know if this solved your issue.

    Thread Starter longdistance

    (@longdistance)

    Hello Cristian,

    Thanks for your response. I deactivated all plugins except Materialis Companion and Contact Form 7, but this doesn’t help. The problem only disappears when I switch to another theme, as described in my post above.

    Thanks for any further tip.

    Thread Starter longdistance

    (@longdistance)

    Hello again,

    Could you let me know if there is anything else I can do to solve this?

    Our website visitors won’t know if they filled our various registration and contact forms correctly unless this error notice is shown.

    Thanks in advance!

    Hello

    Not seeing an answer and being faced with the same problem, I found the temporary solution that works correctly, downgrade version 5.4.x to 5.3.2!

    I let the contact team find the issue between these 2 versions.

    Best regards
    SUPERVISOR
    ————————–

    Bonjour

    Ne voyant pas de réponse et étant confronté au même soucis, j’ai trouvé la solution temporaire qui fonctionne correctement, downgrader la version 5.4.x en 5.3.2!

    Je laisse l’équipe de contact chercher le soucis entre ces 2 versions.

    cordialement
    SUPERVISOR

    • This reply was modified 3 years, 5 months ago by supervis0r.

    Hello
    I looked by inspecting the code
    when it works I have it en v5.3.2

    <div class=”wpcf7-response-output” aria-hidden=”true”></div>
    ::before
    One or more fields have an error. Please check and try again.
    ::after
    —————————–
    in version 5.4 which no longer works
    TypeError: n is null
    c https://www.alpinfo.eu/wp-content/plugins/contact-form-7/includes/js/index.js?ver=5.4.1:1
    v https://www.alpinfo.eu/wp-content/plugins/contact-form-7/includes/js/index.js?ver=5.4.1:1
    …etc…
    and
    <div class=”wpcf7-response-output” aria-hidden=”true”></div>
    ::before
    ::after
    no more message after before

    I hope this will advance the problem

    Best regards
    SUPERVISOR

    anybody ? up

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Materialis theme breaking Contact Form 7 error notice’ is closed to new replies.