Support

Home Forums Event Espresso Premium Uncaught TypeError after upgrade

Uncaught TypeError after upgrade

Posted: November 11, 2012 at 10:56 am

Viewing 5 reply threads


Julien Meyer

November 11, 2012 at 10:56 am

I just upgraded to 3.1.28 and updated a few other plugins, and I get this message:

Uncaught TypeError: Object [object Object] has no method 'on' - espresso_cart_functions.js:375

In addition my calendar doesn’t show up (using the shortcode). How can this be fixed?


Dean

November 12, 2012 at 3:21 am

Hello Julien

When and where does this error occur?

Also your calendar shows up fine on your sites front page, are you having issues with it elsewhere?


Julien Meyer

November 12, 2012 at 9:05 am

I commented out the offending line in the javascript code, that’s why it works. It also prevents animations from happening on the page.


Jonathan Wilson

November 12, 2012 at 11:39 am

Hi Julien,

Try wrapping the [ESPRESSO_EVENTS] and [ESPRESSO_CALENDAR] shortcodes in [RAW] tags, like so: [RAW][ESPRESSO_EVENTS][/RAW] and [RAW][ESPRESSO_CALENDAR][/RAW]


Jonathan Wilson

November 12, 2012 at 11:40 am

If that doesn’t work, then try to rule out any plugin conflicts. Deactivate all non-Event Espresso plugins, then test to see if the problem is still occurring. If it isnt then we know it is a plugin conflict. To find out which one, activate each plugin individually testing for the issue after each activation. If the issue occurs after activating a plugin, this plugin is the culprit.


Josh

  • Support Staff

November 12, 2012 at 1:48 pm

Hi Julien,

It looks to me that the JavaScript error was thrown, not because there was an error in the code itself, but because the theme is loading up an older version of jQuery (1.6.2). Can you try updating the theme to load up the version of jQuery that ships with the current version of WordPress (1.7.2) ?

The other thing to verify is that all the custom jQuery plugins/scripts are using no-conflict wrappers if they are using the $ shortcut for jQuery.

Viewing 5 reply threads

The support post ‘Uncaught TypeError after upgrade’ 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