Support » Plugin: Events Manager - Calendar, Bookings, Tickets, and more! » [Plugin: Events Manager] Layout Breaks and shows JavaScript Error

  • The layout for the plugin keeps breaking and it looks like it’s caused from a javascript error.

    Link to screenshot:
    http://screencast.com/t/wE9lVbewlOo

    I have this plugin activated in two different templates and I have this error happening:

    ——-
    unterminated string literal
    $(‘.em-events-search select[name=state]’).html(‘
    ——-

    I’ve deactivated all my plugins and I’m still getting this error. There has to be something on the template level that is causing this. When used with TwentyEleven theme it works fine.

Viewing 5 replies - 1 through 5 (of 5 total)
  • If its working on TwentyEleven theme then it could be your custom theme. Does your theme correctly loads all necessary scripts and does not load duplicate script or function.

    Thread Starter Tony Bianco

    (@tbianco)

    I’m not sure if it properly loading the scripts. I purchased the themes off of themeforest.net.

    How can I check to see if it’s loading duplicate scripts or not in the proper order.

    at firefox you can take a look at the Error log [Tools/Error Console] or try the firebug in this way you can see error logs

    Thread Starter Tony Bianco

    (@tbianco)

    This is the error I’m getting:

    Error: unterminated string literal
    Source File: http://216.172.175.120/~nikkenra/events/

    Line: 247, Column: 50
    Source Code:
    $(‘.em-events-search select[name=state]’).html(‘

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    you need to pinpoint which plugin/theme is conflicing. my guess is your theme is breaking the javascript our plugin outputs.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Events Manager] Layout Breaks and shows JavaScript Error’ is closed to new replies.