Title: Javascript error on Firefox
Last modified: August 17, 2021

---

# Javascript error on Firefox

 *  Resolved [delanthear](https://wordpress.org/support/users/delanthear/)
 * (@delanthear)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-on-firefox-2/)
 * I’m getting a Javascript error, but only on Firefox which is preventing the Forminator
   forms appearing. This is the error seen in the console
 * Uncaught SyntaxError: unexpected token: identifier update-details:265:4
    Uncaught
   SyntaxError: unexpected token: identifier update-details:297:4
 * These two lines are the same:
    } runForminatorFront(); if (window.elementorFrontend){}
   runForminatorFront(); if (window.elementorFrontend) {
 * We don’t have elementor running on this site but it is on the multisite host 
   so might be visibile to forminator in someway?
 * Site is also running Complianz.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-error-on-firefox-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [delanthear](https://wordpress.org/support/users/delanthear/)
 * (@delanthear)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-on-firefox-2/#post-14776482)
 * I’ve worked out that it is the HTML minification being done by SG Optimiser. 
   Probably needs a look at? I’m not sure why it only seems to affect Firefox!
 *  Plugin Support [Amin – WPMU DEV Support](https://wordpress.org/support/users/wpmudev-support2/)
 * (@wpmudev-support2)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-on-firefox-2/#post-14777542)
 * Hello [@delanthear](https://wordpress.org/support/users/delanthear/) ,
 * Can you export your form so we could check it on SG lab site?
    [https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-export](https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-export)
 * Share it with us using google drive (or a similar service).
 * kind regards,
    Kasia
 *  Thread Starter [delanthear](https://wordpress.org/support/users/delanthear/)
 * (@delanthear)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-on-firefox-2/#post-14783680)
 * I had to fiddle with the SG optimiser settings. Here is what is enabled in there:
   
   Dynamic Caching: yes Automatic Cache Purge: no Browser-Specific Caching: no Memcached:
   yes Minify the HTML Output: yes Web Fonts Optimization: yes Remove Query Strings
   From Static Resources: yes All other front end optimisation: no. Generate WebP
   Copies of New Images: yes,lossless Lazy Load Media: yes – iframes, videos, mobile
   All other media options no.
 * Exported form: [https://drive.google.com/file/d/1HOh3HIf-_01RmLgqrzcU8oVEkZbdevJY/view?usp=sharing](https://drive.google.com/file/d/1HOh3HIf-_01RmLgqrzcU8oVEkZbdevJY/view?usp=sharing)
 * Here is a screenshot showing the errors in the console and how the form hasn’t
   rendered at all: [https://imgur.com/a/ECCCNDj](https://imgur.com/a/ECCCNDj)
 *  Thread Starter [delanthear](https://wordpress.org/support/users/delanthear/)
 * (@delanthear)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-on-firefox-2/#post-14783698)
 * Interestingly, turning Combine JavaScript Files on in SG optimiser fixed it. :/
 *  Plugin Support [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * (@wpmudevsupport12)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-on-firefox-2/#post-14786031)
 * Hi [@delanthear](https://wordpress.org/support/users/delanthear/)
 * Thank you for the update, I tested the form on my lab site but didn’t have any
   issue, another option that you can test is using the Rendering > Load from Ajax
   to confirm no issue will return due to cachings.
 * In case the problem return kindly let us know.
 * Best Regards
    Patrick Freitas
 *  Plugin Support [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * (@wpmudevsupport12)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-on-firefox-2/#post-14813008)
 * Hi [@delanthear](https://wordpress.org/support/users/delanthear/)
 * I hope you are doing well and safe!
 * We haven’t heard from you in a while, I’ll mark this thread as resolved.
 * Feel free to let us know if you have any additional questions or problems.
 * Best Regards
    Patrick Freitas

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

The topic ‘Javascript error on Firefox’ is closed to new replies.

 * ![](https://ps.w.org/forminator/assets/icon-256x256.gif?rev=3443182)
 * [Forminator Forms – Contact Form, Payment Form & Custom Form Builder](https://wordpress.org/plugins/forminator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/forminator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/forminator/)
 * [Active Topics](https://wordpress.org/support/plugin/forminator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/forminator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/forminator/reviews/)

## Tags

 * [Firefox](https://wordpress.org/support/topic-tag/firefox/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 6 replies
 * 3 participants
 * Last reply from: [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/javascript-error-on-firefox-2/#post-14813008)
 * Status: resolved