• stan255

    (@stan255)


    Hi, on our site https://www.selbys.net/ it shows “Uncaught SyntaxError: Unexpected identifier” in the console. However, the dropdown shows nothing.

    What do you think is causing this error?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator t-p

    (@t-p)

    Have you tried:
    – Flushing any caching plugins you might be running, as well as server and/or browser caches. Not just your browser, but any op cache or content network cache as well such as Cloudflare. That will solve many weird JavaScript issues.
    – deactivating ALL (yes all) plugins temporarily to see if this resolves the problem (plugin functions can interfere). If this works, re-activate them individually (one-by-one) to find the problematic plugin(s).
    – If you can’t get into your admin dashboard, try resetting the plugins folder by FTP. Sometimes, an apparently inactive plugin can still cause problems. Also remember to deactivate any plugins in the mu-plugins folder (if you have created such folder). The easiest way is to rename that folder to mu-plugins-old.
    – switching to the unedited default Theme (Twenty Sixteen) for a moment using the WP dashboard to rule out any theme-specific issue (theme functions can interfere like plugins). If you don’t have access to your admin area, use FTP , or your web-host’s cPanel or whatever file management application your host provides (no Dashboard access required). Navigate to /wp-content/themes/ and switch to the default theme by renaming your current theme’s folder by adding “-old” to the end of the folder name. Alternately, you can remove other themes except the default theme. That will force your site to use it.

    jibbius

    (@jibbius)

    Is the error still there if you disable Google Tag Manager?

    Index 904:

    <script type='text/javascript' src='https://selbys-jar3lrgnkfm0r1c00hl.stackpathdns.com/wp-content/plugins/ubermenu/assets/js/ubermenu.min.js?ver=3.2.5'></script> <script id="x-customizer-js">Google Tag Manager -->

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