SKT Natro Pro – Uncaught SyntaxError: Unexpected token

Home Forums All Other Themes SKT Natro Pro – Uncaught SyntaxError: Unexpected token

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #31369
    PatrickPatrick
    Member
    • Topics: 3
    • Replies: 5
    • Total: 8
    Member since: April 18, 2016

    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.

    #31370
    PatrickPatrick
    Member
    • Topics: 3
    • Replies: 5
    • Total: 8
    Member since: April 18, 2016

    Error appears on line 1

    #31500
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 31035
    • Total: 31035
    Member since: August 16, 2013

    Hi Patrick,

    This error might be due to creation of wrong child theme.
    Kindly show us your website URL.

    Regards,
    Dave

    #31858
    PatrickPatrick
    Member
    • Topics: 3
    • Replies: 5
    • Total: 8
    Member since: April 18, 2016

    Hi 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

    #31906
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 31035
    • Total: 31035
    Member since: August 16, 2013

    Hi 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,
    Dave

    #31943
    PatrickPatrick
    Member
    • Topics: 3
    • Replies: 5
    • Total: 8
    Member since: April 18, 2016

    Hi,
    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

    #32075
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 31035
    • Total: 31035
    Member since: August 16, 2013

    Hi 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,
    Dave

    #32411
    PatrickPatrick
    Member
    • Topics: 3
    • Replies: 5
    • Total: 8
    Member since: April 18, 2016

    Hi,

    This has fixed the issue.
    Thanks
    Patrick

    #32426
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 31035
    • Total: 31035
    Member since: August 16, 2013

    🙂

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.