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. Lay 10.6.2 + PHP 8.2: Fatal error when editing posts/pages

Lay 10.6.2 + PHP 8.2: Fatal error when editing posts/pages

Scheduled Pinned Locked Moved Bug Reports
4 Posts 2 Posters 69 Views 3 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.
  • S Offline
    S Offline
    smartin
    wrote last edited by
    #1

    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]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

    1 Reply Last reply
    0
    • S Offline
      S Offline
      smartin
      wrote last edited by
      #2

      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 ...

      1 Reply Last reply
      0
      • S Offline
        S Offline
        smartin
        wrote last edited by
        #3

        For now I rolled back to Laytheme 10.5.9 and it works again

        1 Reply Last reply
        0
        • arminunruhA Offline
          arminunruhA Offline
          arminunruh
          Global Moderator
          wrote last edited by
          #4

          oh sorry! i released an update now that fixes this.

          1 Reply Last reply
          0
          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

          Our Web Development company: 100k.studio

          Want to tip me? https://www.paypal.com/paypalme/arminunruh

          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
          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