Support

Home Forums Event Espresso Premium Javascript errors crashing website

Javascript errors crashing website

Posted: April 5, 2019 at 2:32 pm


General Gun

April 5, 2019 at 2:32 pm

We are receiving ReferenceError messages along with a Jed localization error. This plugin is using a ton of resources that is causing the website to crash. We have disabled it for now until we can identify the problem.

These are the errors we are getting:
ReferenceError: _ is not defined[Learn More] course-schedule:793:1
ReferenceError: wp is not defined[Learn More] course-schedule:806:2
ReferenceError: wp is not defined[Learn More] course-schedule:818:2
ReferenceError: wp is not defined[Learn More] course-schedule:823:1
ReferenceError: eejs is not defined[Learn More] course-schedule:827:1
ReferenceError: eejs is not defined[Learn More] course-schedule:832:1
ReferenceError: eejs is not defined[Learn More] course-schedule:837:1
<anonymous> http://generalgun.alphawork.co/course-schedule:837
ReferenceError: eejs is not defined[Learn More] course-schedule:842:1
ReferenceError: eejs is not defined[Learn More] course-schedule:847:1
ReferenceError: wp is not defined[Learn More] course-schedule:851:1
ReferenceError: moment is not defined[Learn More] course-schedule:855:1
ReferenceError: wp is not defined[Learn More] course-schedule:864:2
ReferenceError: wp is not defined[Learn More] course-schedule:873:2
ReferenceError: eejs is not defined[Learn More] course-schedule:878:1
ReferenceError: eejs is not defined[Learn More] course-schedule:883:1
unreachable code after return statement[Learn More] autoptimize_8a091d18a9837e0413d1d45fa29fb1fc.js:2231:12
JQMIGRATE: Migrate is installed, version 1.4.1 autoptimize_8a091d18a9837e0413d1d45fa29fb1fc.js:2:542
Jed localization error:

Error: Domain event_espresso was not found. autoptimize_8a091d18a9837e0413d1d45fa29fb1fc.js:355:24608
unreachable code after return statement[Learn More]

Any help would be appreciated. Thank you.

Url: generalgun.com
Event Espresso: 4.9.79.p
WordPress: 5.1.1
Php version: 7.1.27


Josh

  • Support Staff

April 5, 2019 at 2:44 pm

Hi,

The error messages indicate that the Autoptimize plugin is removing the localized dynamic strings that the Event Espresso scripts require. If you temporarily deactivate Autoptimize do the errors go away?


General Gun

April 9, 2019 at 11:35 am

Hey Josh,

We tried deactivating Autoptimize, the errors go away, but the plugin keeps overloading the website. When the ES plugin is up and running the CPU, physical memory, I/O usage, and IOPS are all getting maxed out to 100%. When we have it disabled the usage goes back to normal.

Any idea on what is happening?


Josh

  • Support Staff

April 9, 2019 at 12:51 pm

No idea, but you could contact the host and they may have the tools that can be used to pinpoint what’s causing the usage spike.

The support post ‘Javascript errors crashing website’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso