Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • 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. Fatal JS errors on Mobile on Lay 4.1.0

Fatal JS errors on Mobile on Lay 4.1.0

Scheduled Pinned Locked Moved Bug Reports
8 Posts 4 Posters 798 Views 2 Watching
  • 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.
  • B
    B
    brogr
    wrote on last edited by
    #1

    Since a recent Lay theme update our site https://dominikbachmann.com (user & pw: 0000) is no longer working on mobile (desktop works fine), due to fatal JS errors that occur both on load and on menu click:

    ON LOAD error:
    Uncaught TypeError: Cannot read properties of undefined (reading 'currentStyle')
    at HTMLDivElement.<anonymous> (frontend.app.min.js?ver=4.1.0:1)
    at Function.each (jquery.min.js?ver=3.6.0:2)
    at S.fn.init.each (jquery.min.js?ver=3.6.0:2)
    at ao (frontend.app.min.js?ver=4.1.0:1)
    at Object.initModule (frontend.app.min.js?ver=4.1.0:1)
    at Object.<anonymous> (frontend.app.min.js?ver=4.1.0:1)
    at n (frontend.app.min.js?ver=4.1.0:1)
    at frontend.app.min.js?ver=4.1.0:1
    at frontend.app.min.js?ver=4.1.0:1

    ON MENU CLICK error:
    frontend.app.min.js?ver=4.1.0:1 Uncaught TypeError: Cannot read properties of undefined (reading 'find')
    at HTMLAnchorElement.<anonymous> (frontend.app.min.js?ver=4.1.0:1)
    at HTMLDocument.dispatch (jquery.min.js?ver=3.6.0:2)
    at HTMLDocument.v.handle (jquery.min.js?ver=3.6.0:2)

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

      Dear @brogr

      Please confirm the Following:

      Wordpress, Lay Theme & Laytheme's Addons are all up to date ?


      Any custom CSS or JS that may interfere is temporarily removed.


      Any third-party plugins are de-activated to see if this resolves the issue (most likely).


      If using a WordPress Cache plugin, disable it or clear your cache.


      License key not activated - (in website blank situations or button not available)


      If your WordPress Dashboard shows a warning "PHP Update required”
 Please update your PHP version in your webhost control panel.

      Sorry to give a list @brogr but this will help narrow down the possible issues for the future.


      Best wishes
      Richard
      1 Reply Last reply
      0
      • B
        B
        brogr
        wrote on last edited by
        #3

        Hi @Richard

        Can confirm that we've tested all the conditions you listed. The error persists.

        Best,
        Brogr

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

          Thanks for testing @brogr Have forwarded this to Armin for further inspection ✅ could you also:

          Please send your website address, /wp-admin/ username and password and a link to this topic to info@laytheme.com?


          Talk soon & have a wonderful day ✨
          Richard
          D 1 Reply Last reply
          0
          • RichardR Richard

            Thanks for testing @brogr Have forwarded this to Armin for further inspection ✅ could you also:

            Please send your website address, /wp-admin/ username and password and a link to this topic to info@laytheme.com?


            Talk soon & have a wonderful day ✨
            Richard
            D
            D
            dbachmann
            wrote on last edited by
            #5

            @Richard i have sent the information to info@laytheme.com

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

              Thanks @dbachmann ⭐️

              1 Reply Last reply
              0
              • B
                B
                brogr
                wrote on last edited by
                #7

                Hey @Richard, any news yet on the issue? Or might it be an option to downgrade to an older version? If so, could you provide us with a ZIP.

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

                  hey there seems to be an issue where this bug happens when you have activated the tag filter for a project thumbnailgrid but it doesnt contain any tags

                  i deactivated the tag filter for you

                  but of course this is a bug and i need to fix it!

                  1 Reply Last reply
                  1

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  Online Users
                  I
                  Ingi
                  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