Support

Home Forums Event Espresso Premium Register link javascript error

Register link javascript error

Posted: April 4, 2013 at 9:05 pm


joelw

April 4, 2013 at 9:05 pm

Hi–we’re having an issue with the register (add to cart) link on our development site. It seems like there is a javascript error when we click on the link to register, the spinning circle goes on infinitely and never forwards to cart. Here is a link to a page where you can see the issue:
http://67.18.19.182/~joelgw/courses/adobe-acrobat-x-pro-training/

One detail–the register link works and forwards to cart when we are logged in. The error only appears when we are not logged into wp-admin. Any ideas what the issue is? Thanks.


Josh

  • Support Staff

April 5, 2013 at 11:22 am

Hi Joel,

Can you check the same page in Firebug or Web inspector, both logged in and logged out and see if there are any scripts that load up when you are not logged in compared to when you are logged in?

You might try temporarily switching to the default WordPress theme and temporarily deactivating other WP plugins to help narrow down what may be causing the issue.


joelw

April 5, 2013 at 5:24 pm

Hi Josh–thanks for your reply.

All the same javascript is loading logged in vs. logged out with the exception of the admin bar.

We changed the IP of the site, it is now accessible here:
http://74.53.71.196/courses/adobe-acrobat-x-pro-training/

In the Chrome console, this is the error I get when logged out, which doesn’t appear when logged in for some reason:
Uncaught TypeError: Cannot read property 'html' of null espresso_cart_functions.js:52
(anonymous function) espresso_cart_functions.js:52
process_response espresso_cart_functions.js:456
jQuery.ajax.success espresso_cart_functions.js:434
l jquery.js:2
c.fireWith jquery.js:2
T jquery.js:2
r jquery.js:2

Ideas?


joelw

April 5, 2013 at 5:40 pm

And I deactivated all plugins, same issue.

Is there a way to code in the add to cart link without javascript?


joelw

April 5, 2013 at 5:46 pm

And I also switched to twentyten, this same js error popped up:
Uncaught TypeError: Cannot read property ‘html’ of null espresso_cart_functions.js:52


Sidney Harrell

April 7, 2013 at 6:35 pm

The error that I’m getting is: “Uncaught ReferenceError: domticker is not defined ” from the line:

new domticker(tickercontent, "domticker", "someclass", 7000, "fadeit")

The support post ‘Register link javascript error’ 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