Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

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

    Bug Reports
    3
    5
    71
    Loading More Posts
    • 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
      schmarcopolo last edited by

      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 Reply Quote 0
      • Richard
        Richard Global Moderator last edited by Richard

        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 Reply Quote 0
        • S
          schmarcopolo last edited by

          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 Reply Quote 0
          • Richard
            Richard Global Moderator last edited by

            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 Reply Quote 0
            • arminunruh
              arminunruh Global Moderator last edited by

              Ah interesting!

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              Try this to fix issues before you post:

              Use the Search Feature. Maybe there is already a solution to your issue.

              1. Update Lay Theme and all Lay Theme Addons
              2. Disable all Plugins
              3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
              4. Now see if your problem solved itself
              5. Go here, see if your problem is listed here:
              Troubleshooting

              When you post:
              1. Post a link to where the problem is
              2. If the problem is difficult to explain, post screenshots / link to a video to explain it

              Thanks!

              Online Users

              G
              M
              I
              M
              L

              Recent Topics

              • text underline

              • open all links in a thumbnail grid in a new tab

              • lazy loading affects project thumbnail mouseover images

              laytheme.com