typeerror with window.laytheme and source-map-errors
-
After updating LayTheme today to the newest version 6.1.1 two errors occurred:
1.) Uncaught TypeError: window.laytheme is undefined
I use custom Javascript for a newpage event. I used the tutorial and code you provided in the documentation. Since the update it is not working anymore.2.) Source-Map-Errors
As showen in the attached screenshot two 404 errors occurred concerning two JS files.The screenshot:

The website:
https://thanhaeuser.at/Can you help me on these issues?
-
oh can you update again now to 6.1.3?
the typeerror could be gone,
the map files not loading thats not a big deal -
oh can you update again now to 6.1.3?
the typeerror could be gone,
the map files not loading thats not a big deal@arminunruh
It works again! Thank you!
For paid 1-on-1 Lay Theme Coaching, contact Audrey (audrey@cyberslayers.work) or me (info@laytheme.com).
We also code custom websites or bespoke Lay features. Drop me a line at info@laytheme.com or check out my work at arminunruh.com.
Want to support my work? paypal.me/arminunruh
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- 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:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it