- April 24, 2016 at 1:10 am #31369
Wordpress Version 4.5
When viewing the website logged in as administrator, I get the following error:
Uncaught SyntaxError: Unexpected token < http://www.example.com/:1
<!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 #31370
Error appears on line 1April 25, 2016 at 12:45 pm #31500
This error might be due to creation of wrong child theme.
Kindly show us your website URL.
DaveApril 27, 2016 at 11:54 pm #31858
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?
ThanksApril 28, 2016 at 9:38 am #31906
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.
DaveApril 28, 2016 at 1:04 pm #31943
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.
Can you see what the issue is?
ThanksApril 29, 2016 at 1:30 pm #32075
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.
DaveMay 3, 2016 at 3:47 am #32411
This has fixed the issue.
PatrickMay 3, 2016 at 5:28 am #32426
- You must be logged in to reply to this topic.