Support » Plugin: Contact Form by WPForms - Drag & Drop Form Builder for WordPress » WPForms are not working properly.

  • Resolved nextgenerationreaders

    (@nextgenerationreaders)


    I’m getting this error. ” Heads up! WPForms has detected an issue with JavaScript on this page. JavaScript is required for this form to work properly, so this form may not work as expected. See the troubleshooting guide to learn more or contact support”

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

Viewing 15 replies - 1 through 15 (of 15 total)
  • I can confirm this, for me it showed up after last update.

    I do have this error in browser console, if it helps:
    Uncaught TypeError: Cannot read property ‘val_limit_characters’ of undefined
    at text-limit.min.js:1
    at Array.map (<anonymous>)
    at a (text-limit.min.js:1)
    at Object.1 (text-limit.min.js:1)
    at d (text-limit.min.js:1)
    at i (text-limit.min.js:1)
    at text-limit.min.js:1

    The form is working fine, sending the message.

    • This reply was modified 1 year, 1 month ago by Mihai.
    • This reply was modified 1 year, 1 month ago by Mihai.
    Plugin Support Prashant Rai

    (@prashantrai)

    Hello @nextgenerationreaders & @poemihai,

    Thank you for contacting us! I’m sorry for any inconvenience caused.

    This error suggests that there is a problem loading JavaScript assets on the form pages and the issue appears to be coming from your caching plugin. Would you mind temporarily turning off your caching plugins and let me know if the issue is still reported?

    I’m looking forward to your response.

    Thanks! 🙂

    Hi, it seems it was the Speed Booster Pack plugin, Optimize JS set to Defer it creates that error. Seems to be working fine if i turn it off or set it to Move to footer.
    Thanks, guess i will use the move to footer option for now.

    cecowe

    (@cecowe)

    I got this too: Heads up! WPForms has detected an issue with JavaScript on this page. JavaScript is required for this form to work properly, so this form may not work as expected. See our troubleshooting guide to learn more or contact support.
    This message is only displayed to site administrators.

    After disabling JS options in Autoptimize, it breaks my site.

    1waytoheaven

    (@1waytoheaven)

    I confirm I also have the same error, using Litespeed cache ona Lightspeed server.

    I reverted to the WPFormsLite 1.6.4 that didn’t break our site.

    Will this be fixed this year, or do we have to run the old version 1.6.4 until next year?

    Shaun Fox

    (@shaunrfox)

    Hello, I’m also getting this error: “This page isn’t loading JavaScript properly, and the form will not be able to submit. Please check out our troubleshooting guide for details on resolving this issue.”

    I have tried all of the advice listed above, including disabling all other plugins, swapping themes, and disabling all caches, and I still cannot resolve the error. I’m also not getting any errors in the dev console.

    I see that this warning was launched recently as part of the 1.6.4.1 release. I’m curious if that also introduced a bug, since my form was working before that update.

    Here’s my site, if that helps: https://www.christchurcharts.org/contact-us/

    Plugin Support Prashant Rai

    (@prashantrai)

    Hello @shaunrfox @1waytoheaven @cecowe @poemihai,

    I would be happy to take a closer look with the JavaScript issue you’re facing. However, to avoid any confusion I would need your help. When you have sometime, can you please create separate tickets and share the issue you’re facing along with the website URL?

    Thanks for understanding!

    I’m facing the same issue. It happens when I enable JS defer in LiteSpeed Cache optimization. If I disable it and purge the cache, the error is gone. I don’t know if the problem is on WPForms or LiteSpeed Cache. I hope it get fixed soon. Thank you for you work.

    Plugin Support Prashant Rai

    (@prashantrai)

    Hello @davidmcasas,

    Thanks for contacting us & I apologize for the issues you’re facing!

    To avoid any confusion, when you have sometime, could you please create a new ticket along with the website URL? As that will help us to take a closer look at the issue you’re facing.

    Thanks!

    giangel84

    (@giangel84)

    I had the same issue, this is my fix:

    jQuery slug is changed from WP 5.6 version (previously slug was: “jquery”, new slug is “jquery-core”.
    On some custom themes this behaviour need to be changed to load jquery custom version with the new “jquery-core” slug across wp_enqueue_script declaration, usually inside “functions.php” and moreover jQuery needs to be loaded to the header instead of the footer.

    So, after changed the slug and the position properly, the issue is fixed.

    example:

    
    wp_deregister_script( 'jquery-core' );
    
    $footer = true;
    $header = false;
    wp_enqueue_script( 'jquery-core', MY_THEME_PATH . '/js/jquery-3.5.1.min.js', false, "3.5.1", $header );
    • This reply was modified 11 months ago by giangel84.

    Same problem here with Litespeed cache. Disabling JS defer solved the problem, but it slows down my site.

    I would invest in this product if I could get past this issue. Does anyone have a definitive resolution to this error? Should I have Litespeed or Autoptimize and configure with a specific setting? It only happens on chrome and I’ve tweaked everything possible on it.

    Plugin Support Prashant Rai

    (@prashantrai)

    Hello @rickbiss @lnelissen,

    We apologize for the delay in circling back!

    When you have sometime, please share your website URL in a new ticket and I’m happy to take a closer look at the issue you’re facing.

    Thanks!

    I know I may not be in the right place, the other forums have closed the thread.

    I am new to creating a website, had someone help and they made a huge mess of it.

    How do I contact support for help?

    Thank you!

    TJ

    Была аналогичная проблема. Помогло снять чек-бокс «Оптимизировать JS» в плагине кеширования Autoptimize.
    Проблема не критична. Форма отправки сообщения от WPForms работает даже с этой ошибкой. Кроме того, ошибка появляется только администратору сайта. Простым пользователям она не видна =)

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