Home › Forums › All Other Themes › SKT Natro Pro – Uncaught SyntaxError: Unexpected token
- This topic has 8 replies, 2 voices, and was last updated 8 years, 7 months ago by Sonl Sinha.
-
AuthorPosts
-
April 24, 2016 at 1:10 am #31369
Hi,
Wordpress Version 4.5
When viewing the website logged in as administrator, I get the following error:
Uncaught SyntaxError: Unexpected token < www.example.com/:1
Source:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <html> <head> <title>Index of /wp-content/themes/skt-naturo-pro/testimonials-rotator/js</title> </head> <body> <h1>Index of /wp-content/themes/skt-naturo-pro/testimonials-rotator/js</h1> <ul><li><a href="/wp-content/themes/skt-naturo-pro/testimonials-rotator/"> Parent Directory</a></li> <li><a href="bootstrap.js"> bootstrap.js</a></li> <li><a href="jquery.quovolver.min.js"> jquery.quovolver.min.js</a></li> <li><a href="tm-rotator.css"> tm-rotator.css</a></li> </ul> </body></html>
The error does not appear when not logged in.
April 24, 2016 at 1:11 am #31370Error appears on line 1
April 25, 2016 at 12:45 pm #31500Hi Patrick,
This error might be due to creation of wrong child theme.
Kindly show us your website URL.Regards,
DaveApril 27, 2016 at 11:54 pm #31858Hi Dave,
This is on the supplied theme, no customisation.
I cannot show the URL as the issue occurs when logged in as admin.It seems to have a problem with the testimonials plugin.
I have read that updating all plugins can fix this issue- how do I update the bundled plugins?Thanks
April 28, 2016 at 9:38 am #31906Hi Patrick,
Kindly send us your URL of the site and WordPress admin details via sktthemes.net/contact
Please mention this forum URL while replying so that we understand what needs to be done.
Regards,
DaveApril 28, 2016 at 1:04 pm #31943Hi,
The URL is http://www.smarterbetterbusiness.com/The issue is clear in the console – I haven’t changed anything and I cant send on the admin credentials.
Sorry!Can you see what the issue is?
Thanks
April 29, 2016 at 1:30 pm #32075Hi Patrick,
Kindly go to the folder testimonials-rotator then click on the folder “js” open/edit the bootstrap.js and find this code
document.write(unescape('%3Cscript src="' + myScriptSrc + 'bd.ui.js"%3E%3C/script%3E'));
And remove it from there.
Regards,
DaveMay 3, 2016 at 3:47 am #32411Hi,
This has fixed the issue.
Thanks
PatrickMay 3, 2016 at 5:28 am #32426🙂
-
AuthorPosts
- You must be logged in to reply to this topic.