Posted: January 14, 2013 at 3:43 am
|
I know it’s my theme, not any additional plugins.
I’ve turned the EventEspresso plugin off and on. Error: TypeError: $(…).on is not a function which is this line: $( ‘#registration_form’ ).on( ‘click’, ‘.add-additional-attendee-lnk’, function(e) { Thoughts? |
|
Hi can you provide a link to an event with the issue please? |
|
Of course, how foolish of me (was up very late last night!)…. http://buckeyegathering.net/wp2/event-registration-2/ EE: 3.1.29.1.P Using no other plugins than yours (just EE and your Calendar) |
Hi there, I’d recommend removing this code:
because this is a jQuery issue. The theme that is installed is calling an older version of the jQuery JavaScript library (1.4.2) that predates when jQuery added the on method (version 1.7). In this case, you’ll need to update to the latest version of the WP theme. If the latest version is still using the out of date version of jQuery, you can contact the theme author for support, or update the theme so it uses the version of jQuery that is included with WordPress. Please see this post for more info and code examples: https://eventespresso.com/2012/08/using-jquery-in-safe-mode/ |
|
|
First THANKS for your promptness, you guys are amazing! If I may share a painful ‘lol’: I do have the latest version of the template/theme. I know the old template works with the older WP and EE. If the NEW template NEEDS the old JavaScript Library, then I may have to see if the OLD template works with the NEW WP and EE. I was trying to be good by getting everything up-to-date to avoid exactly this: compatibility issues. So I’ll invent a new acronym for this occasion: |
I doubt the theme needs the old version of jQuery. It’s usually a case where the theme author de-registers/de-queues the version of jQuery that ships with WordPress and switches to the Google CDN version, with the unintended consequence of freezing the version number in time. If you check with the developer of the theme, you can ask them if that theme will work with newer versions of jQuery. |
|
The support post ‘Add More Attendees – not working 3’ 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.