- This topic has 3 replies, 3 voices, and was last updated 5 years, 9 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › Pull down menus for page numbers not working
The only problem that I have – in each of the galleries, the pull down page number menus do not bring up the relevant page. The Previous and Next buttons do work quite normally.
In the console I am getting a message: “Uncaught SyntaxError: Unexpected token < .(index):12”
It’s a little too cryptic for me to work that one out! Any ideas gratefully received!
Example page: auswildlife.com/photogallery/gallery11/
The JavaScript syntax error that you are getting will prevent some other JavaScript code from executing on that page. So that would cause this issue. The following post will explain what I am talking about when I say JavaScript errors:
https://support.tipsandtricks-hq.com/forums/topic/debugging-javascript-errors-on-your-site
Our plugin doesn’t have any JavaScript error. So there is likely another source this error is coming from. Please do the following test:
https://support.tipsandtricks-hq.com/forums/topic/test-to-identy-a-conflicting-theme-or-plugin
Yes, it appears that your script is in conflict with a thing called SiteOrigin Page Builder. I have no work around because the Page Builder is essential. The page formatting self destructs without it. Trust me to have a conflict with two essential plugins!!!
Is there any way around this?
Hi @BThomson,
I think what’s happening is that the “SiteOrigin Page Builder” plugin is adding paragraph element tags (<p>
) throughout the inline javascript code (added by the photo seller plugin) which is in turn breaking that javascript code.
Can you ask the developers of that plugin if there is a way to prevent it from adding <p>
tags inside the inline javascript code?