Support

Home Forums Event Espresso Premium "Add more attendees" toggle not working – JS and stylesheet errors in Console

"Add more attendees" toggle not working – JS and stylesheet errors in Console

Posted: August 22, 2012 at 2:50 pm


jmahood

August 22, 2012 at 2:50 pm

Hello,

I’m getting the following errors on a page where I have multi-registrations available:

Timestamp: 8/22/12 4:31:31 PM Error: The stylesheet http://dev.templedavid.org/wp-content/plugins/event-espresso.3.1.24.1.P/templates/css/themeroller/?ver=3.4.1 was not loaded because its MIME type, “text/html”, is not “text/css”. Source File: http://dev.templedavid.org/event-registration/?regevent_action=register&event_id=1319 Line: 0

Timestamp: 8/22/12 4:32:29 PM Error: SyntaxError: unterminated string literal Source File: http://dev.templedavid.org/event-registration/?regevent_action=register&event_id=1319 Line: 173, Column: 198 Source Code: $jaer = jQuery.noConflict();var attendee_num = 0;var additional_limit = 15;var first_add_button = null;var selector = ‘div#additional_attendee_’ + attendee_num;function markup(attendee_num) {return ‘

I am using version 3.1.26.P with the latest version of WordPress.

  • This topic was modified 11 years, 8 months ago by  jmahood. Reason: wrong forum


Chris Reynolds

  • Support Staff

August 22, 2012 at 3:15 pm

There is a ton of JQuery going on in your site, and any one of those could be potentially throwing that error (which is what’s causing the toggle not to work). I’d try disabling all your plugins except Event Espresso and see if you can get it to work. If it still doesn’t work with all the plugins disabled, you can try the theme test drive plugin and see if you’re still getting that issue with Twentyeleven.


jmahood

August 23, 2012 at 10:17 am

Thanks Chris,

I disabled all plugins except for EE and that didn’t do the trick. I also removed all of my custom JS from the header and footer.

Running the theme test drive plugin with Twenty11 revealed that something in my custom theme is causing the issue, but I can’t figure out what that is.. Any thoughts?

I also upgraded to the latest version of EE.

Thanks again.


Josh

  • Support Staff

August 23, 2012 at 3:56 pm

Usually, if you view the source of the page with Firebug or the web inspector, it can give you a clue.

The troubleshooting guide has some tips that should help:

https://eventespresso.com/wiki/troubleshooting-event-espresso/


jmahood

August 23, 2012 at 5:05 pm

Thanks Josh,

Adding the RAW tags helped fix my issue.

The support post ‘"Add more attendees" toggle not working – JS and stylesheet errors in Console’ 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