• I’ m using the plugin “Event Booking Pro – WP Plugin” (more than 1000 sales) but I’m issuing a problem that occurs to the Customizr Theme, according to the developer (Moe Haydar):
    Uncaught SyntaxError: Unexpected token ILLEGAL
    caused by line 78 of your website. (In header of the page)///This is freezing the work of the plugin. Contact the theme provider so he can fix the problem

    If I use the default WordPress theme, it works fine.
    Please let me know if it’s a common issue.
    Thanx in advance.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Link to your page?

    Thread Starter edelexia

    (@edelexia)

    https://www.pixidatours.gr

    The plug-in is used in page: https://www.pixidatours.gr/book-on-line/

    Thanks a lot for the interest and let me know if I can provide you with more details (e.g. WP 3.9.1.,Event Booking Pro – WP Plugin v.3.33,Firefox 30,…)

    I don’t see any errors on either of those pages (and line 78 in the source is fine). Where are you seeing the error?

    @electricfeet: when I check with Chrome and IE11…first page link errors at line 69…second page link errors at line 70…Firefox on initial page load shows no errors, but if refreshed it errors as well…I still do not know how to fully use/understand the browser dev tools…and looking at those lines is beyond my abilities as well…just thought it might be helpful…

    Thread Starter edelexia

    (@edelexia)

    @electricfeet: The problem occurs when you press the “+””-” buttons on “Quantity” section after choosing “Book” button. It seems that’s a Customizr theme’s problem because if I change my theme to WordPress default, “+””-” buttons works fine.
    @electricfeet:Thanks for the interest

    I still can’t see any errors, but the “+” for sure doesn’t work.

    I would try switching off some of the javascript extras in Customizr (e.g. the lightbox effect on images, retina support etc), because maybe there’s a conflict there.

    I would also try temporarily switching off all plugins except this one, just to see if it’s not a conflict between Customizr and another plugin (and the event plugin is effectively caught in the crossfire).

    Otherwise I’m at a loss without more info from the developers.

    Thread Starter edelexia

    (@edelexia)

    I just turned off all the plugins and tried the website only with the specific plug-in active, but nothing happened. I browsed the page with Firefox, Safari and Chrome. Also, I reinstalled customzr theme and nothing changes. One more detail that may help us, is that if you visit the website from mobile phone, the “+”, “-“, buttons works fine. Moreover I installed the plug-in to another website that I have built (just to test it) and works fine! Very peculiar reaction….

    Could you switch off the lightbox effect in Appearance > Customize > images and see if that helps?

    Thread Starter edelexia

    (@edelexia)

    Nice idea ElectricFeet but unfortunately didn’t work. It’s definitely something wrong with the Customizr theme. Thanks for keeping alive this thread!We are keep looking for a solution…

    Thread Starter edelexia

    (@edelexia)

    The problem with “Uncaught SyntaxError: bla..bla” was solved by creating a child theme of Customizr!!! The side effects are that the slider doesn’t work as well as menu button for phone devices and… I don’t know what else. Site

    Thread Starter edelexia

    (@edelexia)

    To be more specific:
    1)
    if the content of the child theme is header.php,functions.php, folder inc and style.css then the booking page works fine -no Errors with “Quantity button“- but slideshow, main menu doesn’t work. The following errors are occurred:
    GET holder.js 404 not found
    GET jguery.fancybox-1.3.4.min 404 not found
    GET get retina.min.js 404 not found
    2)
    if the I remove style.css from the child theme then everything works fine except from the purpose of these thread, I mean to solve the issue with”Uncaught SyntaxError”, so the button “Quantity” doesn’t work:
    https://www.pixidatours.gr/wp-content/themes/customizr-child/style.css?ver=3.9.1 404 not found
    ….
    As I’m getting closer to the solution I think a java script causes the problem, maybe the one that triggers the sliders or the main menu drop down..

    Any idea?

    The fancybox one is unlikely, because this is why I suggested you turn off the lightbox effect, to eliminate problems there.

    I’m can’t see things from behind the scenes, so it’s a bit difficult to follow, but it sounds like you’re saying that when you break things it works ?? and you’ve narrowed it down to the three js files for holder fancybox and retina.

    Did I understand right? If so, you could try putting everything back together again, then temporarily deleting all those files, keeping a copy on your own computer. Then put them back one by one to find which is the problem.

    If it’s retina, then simply switching off retina support will be your solution.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Uncaught SyntaxError’ is closed to new replies.