Lay 10.6.2 + PHP 8.2: Fatal error when editing posts/pages
-
Hi Lay Support,
since updating earlier today to Lay Theme 10.6.2 on a Bitnami/Lightsail WordPress setup, I can access wp-admin, but opening any page/post in the editor crashes and shows “There has been a critical error on this website”.Server details:
• PHP: 8.2.7
• Lay Theme: 10.6.2
• (Bitnami / AWS Lightsail stack)!![Screenshot 2026-03-03 at 11.24.33.png]

Do you have any idea what might cause this?
Happy to provide more context if needed.
Many Thanks!
Martin -
Apache log shows this fatal error:
PHP Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, bool given
in /opt/bitnami/wordpress/wp-content/themes/lay-5/formatsmanager/formatsmanager.php:685
Stack trace:
#0 .../themes/lay-5/formatsmanager/formatsmanager.php(685): array_merge()
#1 .../themes/lay-5/gridder/gridder_css_output.php(276): FormatsManager::get_textformat_css_for_selector()
#2 ... Griddder_CSS_Output::lay_customize_css_for_admin()
#3 ... WP_Hook->apply_filters()
#4 ... wp-admin/admin-header.php ... -
oh sorry! i released an update now that fixes this.
I also code custom websites or custom Lay features.
💿 Email me here: 💿
info@laytheme.com
Our Web Development company: 100k.studio
Want to tip me? https://www.paypal.com/paypalme/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