Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Multi event registration and Java errors | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Multi event registration and Java errors

Multi event registration and Java errors

Posted: November 7, 2012 at 2:21 pm

Viewing 11 reply threads


Suhaib Siddiqi

November 7, 2012 at 2:21 pm

After I activate multi event registration plugin, I see some java conflicts in Firebug. Below is the message from Firebug:

TypeError: jQuery(“#event_espresso_shopping_cart :input[id^=”price_option-“], .price_id, #event_espresso_coupon_code, #event_espresso_groupon_code”).on is not a function
[Break On This Error]

…conds();wa=na.getUTCMilliseconds();}na=(pa=10000?(pa<0?"-":"+")+o(6,pa<0…


Jonathan Wilson

  • Support Staff

November 14, 2012 at 4:03 pm

Suhaib,

Can you share the link to your site where the errors are occurring, so we can take a look?


Suhaib Siddiqi

November 20, 2012 at 12:30 pm

Jonathan, Sorry for late response. I updated to one of the latest build and the errors disappear. Anyway the link is http://bostondesiconnection.com.

Thanks


Jonathan Wilson

  • Support Staff

November 20, 2012 at 1:59 pm

Hi Suhaib,

Glad to know this has been fixed. Let us know if you have anymore issues.

I am marking this issue resolved. If you need further assistance, please start a new topic. Thanks.


Dave Wilkinson

November 26, 2012 at 12:13 pm

Sorry but I have the Same error but this is with the latest downloads

With the plugin activated;
(espresso_cart_functions.js)
Uncaught TypeError: Object # has no method ‘on’ espresso_cart_functions.js:227
//Couppon codes
jQuery(‘#event_espresso_shopping_cart :input[id^=”price_option-“], .price_id, #event_espresso_coupon_code, #event_espresso_groupon_code’).on( ‘change’, function(){
SyntaxError: Unexpected end of input

Calendar will display with plugin disabled.


Jonathan Wilson

  • Support Staff

November 26, 2012 at 1:40 pm

Hi Dave, will you activate the plugin and share the URL with us?


Dave Wilkinson

November 26, 2012 at 2:01 pm

Just Emailed you :)

support@eventexpress.com

plugin activated.


Josh

November 26, 2012 at 2:36 pm

Hi Dave,

Event Espresso requires the current version of jQuery that ships with the current version of WordPress. It looks like your theme, or another plugin, is de-registering the version of jQuery that is bundled with WordPress, and is including a much older version (version 1.4.2 of the jQuery JavaScript Library)

Can you check to see if the theme is deregistering the current version of jQuery that is bundled with WordPress?


Dave Wilkinson

November 26, 2012 at 3:06 pm

Hi,

What version should it be using?

I have found the reference within the theme it is using
http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js

Regards

Dave


Dave Wilkinson

November 26, 2012 at 3:12 pm

I have just used http://code.jquery.com/jquery-1.8.3.min.js?ver=1.8.3 instead – I dont get the calendar but just the buttons

Scrap that – I just removed the wp_register & wp_deregister lines out of the theme and it has worked fine :)

Thank you for pointing me in the right direction!

Dave


Josh

November 26, 2012 at 3:15 pm

WordPress 3.4 ships with jQuery version 1.7.2.

You can alter the theme so it will always be current.
It will likely have a function like this:

function theme_js() {
  if (is_admin()) return;
  wp_deregister_script( 'jquery' );
  wp_register_script( 'jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js');
  wp_enqueue_script( 'jquery' );
}

these two lines can be removed so the bundled version loads:

  wp_deregister_script( 'jquery' );
  wp_register_script( 'jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js');

If the theme is loading jQuery in the header.php file (not in a function), you could change it to this:

<?php wp_enqueue_script("jquery"); ?>


Dave Wilkinson

November 26, 2012 at 3:19 pm

I just removed the wp_register & wp_deregister lines out of the theme and it has worked fine
Thank you for pointing me in the right direction!
Dave

Viewing 11 reply threads

The support post ‘Multi event registration and Java errors’ 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 - Staging Server