Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Bug Reports
  3. customizer is not loading (Uncaught SyntaxError: Invalid or unexpected token)

customizer is not loading (Uncaught SyntaxError: Invalid or unexpected token)

Scheduled Pinned Locked Moved Bug Reports
5 Posts 3 Posters 331 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    schmarcopolo
    wrote on last edited by
    #1

    Hey everyone,
    I updated the new version from lays theme version 3.4.8 and the customizer isn't loading anymore.
    I've already deactivated every plugin and try to solve the problem that way - it didn't work.

    The console give me that error message : customize.php:5831 Uncaught SyntaxError: Invalid or unexpected token

    I've also tried to change my site language in the settings and change it back to the original - it didn't work.

    please help, thanks

    1 Reply Last reply
    0
    • RichardR Offline
      RichardR Offline
      Richard
      Global Moderator
      wrote on last edited by Richard
      #2

      Dear @schmarcopolo

      Some early de-bugging steps before we move forwards if you are able:

      As you mentioned your Lay Theme is up to date, however are any Addon's that you may have purchased also up to date?

      Additionally do you have any Custom HTML, CSS or Javascript that when temporarily removed resolves the issue?

      Does this troubleshooting help you?
      https://laytheme.com/troubleshooting.html#customizer-does-not-show-up

      If none of the above work for you and you do believe it is a Bug we would love to know as we can then resolve it quickly for you as well as other users who have this issue,

      If so,
      could you please send your website address, /wp-admin/ username and password and a link to this topic to info@laytheme.com?

      And we will get back to you shortly,

      In the meantime thank you for using Lay Theme and your patience with these issues,

      Best wishes

      Sincerely
      Richard

      1 Reply Last reply
      0
      • S Offline
        S Offline
        schmarcopolo
        wrote on last edited by
        #3

        Hey Richard

        problem is solved.

        it was a problem with a password protection add on

        https://passwordprotectwp.com/?utm_source=user-website&utm_medium=author_link&utm_campaign=ppwp_lite

        deactivated it and now everything works fine.

        thanks for your help

        1 Reply Last reply
        0
        • RichardR Offline
          RichardR Offline
          Richard
          Global Moderator
          wrote on last edited by
          #4

          Dear @schmarcopolo

          Thank you for the quick reply
          And to confirm that your problem is solved, this helps others with similar issues as well,

          Best wishes and as always thank you for using Lay Theme

          Sincerely
          Richard

          1 Reply Last reply
          0
          • arminunruhA Online
            arminunruhA Online
            arminunruh
            Global Moderator
            wrote on last edited by
            #5

            Ah interesting!

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            I also code custom websites or custom Lay features.
            šŸ’æ Email me here: šŸ’æ
            info@laytheme.com

            Before you post:
            1. When using a WordPress Cache plugin, disable it or clear your cache.
            2. Update Lay Theme and all Lay Theme Addons
            3. Disable all Plugins
            4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

            This often solves issues you might run into

            When you post:
            1. Post a link to where the problem is
            2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
            3. If the problem is difficult to explain, post screenshots / link to a video to explain it
            Online Users
            arminunruhA
            arminunruh
            F
            francesco
            L
            lurchifon
            Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
            laytheme.com
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Search