Bug in LayTheme 11.5.1 – Right-click in Gridder causes React render error
-
Hi everyone, hey @arminunruh
after updating LayTheme from 11.4.9 to 11.5.1, I encountered a reproducible issue in the gridder editor. Whenever I right-click on any element inside the gridder, the context menu does not open and the following error appears:
Gridder render error:
Minified React error #185After opening the browser console, I also received:
Maximum update depth exceeded.
This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate.
React limits the number of nested updates to prevent infinite loops.I already cleared browser cache, disabled all custom JavaScript and plugins but the problem remained in all cases. I downgraded LayTheme back to 11.4.9, and the issue disappeared immediately. Right-clicking in the gridder works normally again.
Has anyone else experienced this issue, or is this a known regression in 11.5.1? I'd be happy to provide any additional information or help with testing if needed!
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
For paid 1-on-1 Lay Theme Coaching, contact Audrey (audrey@cyberslayers.work) or me (info@laytheme.com).
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