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. 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 148 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.
  • B Offline
    B Offline
    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 Offline
      RichardR Offline
      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 Offline
        B Offline
        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 Offline
          RichardR Offline
          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 Offline
            D Offline
            dbachmann
            wrote on last edited by
            #5

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

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

              Thanks @dbachmann ⭐️

              1 Reply Last reply
              0
              • B Offline
                B Offline
                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 Online
                  arminunruhA Online
                  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
                  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