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. Addons
  3. Critical error with Lay Theme Carousel Version 2.7.7

Critical error with Lay Theme Carousel Version 2.7.7

Scheduled Pinned Locked Moved Addons
11 Posts 8 Posters 358 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.
  • E Offline
    E Offline
    ericcodina
    wrote on last edited by
    #1

    Hi there!

    After updating the Lay Theme Carousel plugin to version 2.7.7, the website no longer loads and shows the following critical error:

    There has been a critical error on this website.

    When I deactivate the plugin (or addon), the website works again as expected.
    Any help or suggestions on how to fix this?

    Thank you!!

    1 Reply Last reply
    0
    • E Offline
      E Offline
      ericcodina
      wrote on last edited by
      #2

      After debugging and some Chatgpt I found this:

      The error you're seeing is caused by a problem in the LayTheme Carousel plugin. Specifically:

      A variable named $LayFrontend_Options is being used without being defined first (this causes a PHP Warning).

      Then, the code tries to use that undefined variable as if it were a class name — but since it's null or not a valid string/object, PHP throws a Fatal Error.

      As a result, the layout can't be built correctly, and the page crashes or fails to render.

      I tested the plugin update on other websites using Lay Theme, and it works fine.

      To add more context, I re-uploaded the previous versions of both Lay Theme and the plugin, then updated them again — but the error still persists.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        antonioprado
        wrote on last edited by
        #3

        Same here!

        1 Reply Last reply
        0
        • P Offline
          P Offline
          polychroma
          wrote on last edited by
          #4

          same here

          1 Reply Last reply
          0
          • H Offline
            H Offline
            henrinternet
            wrote on last edited by
            #5

            same problem here

            1 Reply Last reply
            0
            • J Offline
              J Offline
              j36g2
              wrote on last edited by
              #6

              same problem here

              1 Reply Last reply
              0
              • J Offline
                J Offline
                j36g2
                wrote on last edited by
                #7

                @Armin-Unruh

                1 Reply Last reply
                0
                • J Offline
                  J Offline
                  j36g2
                  wrote on last edited by
                  #8

                  fatalerror.jpg

                  1 Reply Last reply
                  0
                  • OLVVDBO Offline
                    OLVVDBO Offline
                    OLVVDB
                    wrote on last edited by
                    #9

                    same issue

                    1 Reply Last reply
                    0
                    • L Offline
                      L Offline
                      Liefko
                      wrote on last edited by
                      #10

                      same here... looks like the error appears, if a video is inside the the carousel. All others, without videos, work fine.

                      1 Reply Last reply
                      0
                      • arminunruhA Online
                        arminunruhA Online
                        arminunruh
                        Global Moderator
                        wrote on last edited by
                        #11

                        please refer to this:

                        http://laythemeforum.com:4567/topic/11012/lay-theme-carousel-crashing-my-website/2

                        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

                        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
                        W
                        wua.frank
                        arminunruhA
                        arminunruh
                        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