Okay
  Public Ticket #3363929
Upgrade PHP 8.0 LayerSlider Causing site to crash
Closed

Comments

  • jim carter started the conversation

    When I updated our Wordpress site from PHP 7.4 to 8.0 it crashes. I got an email from the host stating LayerSlider caused it.  I went in and deactivated all Plugins just to make sure, still crashed, but realized LayerSlider does not allow it to be deactivated. The LayerSlider was an old version so I purchased and loaed the latest version 7.7.1.  Same problems, crashes and cannot deactivate.  So now LayerSlider is the only active plugin, site still crashes with PHP version 8.0.  To verify if LayerSlider is the cause I need to understand how to temporarily deactivate this plug in, unless you have a better solution to diagnose the cause of this problem.

  •  69
    John replied

    Hi Jim,

    Thank you for getting in touch with us. My name is John, and I'm happy to assist you today. I appreciate your patience while we've been working towards your ticket.

    I'm sorry to hear that you're experiencing difficulties. I believe the issue is that your WordPress theme still loads a very old and severely outdated version of LayerSlider. Recent versions of LayerSlider support PHP 8 and all other relevant software versions.

    It's a telling sign of using a theme-bundled plugin when it's not listed under the Plugins screen, or you cannot disable it. This is because older WordPress themes didn't offer an option to install a plugin as you'd normally do. Instead, they "forcefully" loaded the plugin files. 

    It's possible that now you're running two versions simultaneously, and the old one still causes troubles. To overcome challenges like this, theme authors usually include an option to disable built-in plugins. I'd recommend checking the theme settings to find such an option or contacting the theme author regarding the matter. You can also look for an alternative plugin manager used by the theme that's usually accessible through the theme settings or from the WordPress admin sidebar. In many cases, the menu is just called "Install Plugins" and might be under the Appearance menu item.

    To make sure, you could also check the PHP error logs. Most web hosting companies offer a customer dashboard where they can access the log files. Knowing the exact error messages would help us better understand what happens.

    Best Regards,
    John | Kreatura Dev Team

  • jim carter replied

    Thank you for this information it was a great help.  Looks like the cause was out dated theme that is no longer being updated.  Looks like I will need to find a new theme to install.  Does Layerslider work with all Themes?  Can you recommend a basic free or minimal cost theme that will work with Layerslider?  There are so many themes out there, I am wanting to switch over as easy as possible, our site is srehsv.com. We are a small non-profit professional organization and I re-created & maintain this for free.  

  •  69
    John replied

    Yes, LayerSlider should work with all themes out of the box. We're closely following standards and best practices to ensure maximum compatibility. We're also fixing everything we can on our side to eliminate these issues completely. LayerSlider also supports all the popular page builders, so you can freely choose any theme with any page builder. Unfortunately, I'm not that familiar with all the themes to choose from, so I can't make a recommendation.

    Best Regards,
    John | Kreatura Dev Team

  • jim carter replied

    Again thanks for the information.  You said the LayerSlider works with all Themes.  I have activated a bunch of different Themes to help identify which one will work the best to replace my current theme that doesn’t work with PHP 8.0.  My old theme had Page options under Home Settings that allowed you to select the slider you want displayed on a specific Page.  All the new Themes have few to no options on the Wordpress Page Edit.  Is there something I need to do after I install the Layerslider Plugin to get my Pages to have the Slider option?  My old version Slider is updated and working in Preview Project, I just don’t know how to add it to my Wordpress Home Page.

  •  69
    John replied

    That option was likely provided by the old theme specifically made for LayerSlider, but you can use any other standard embed method that works with any theme. For example, shortcodes are universally supported. It's a text snippet you can paste anywhere you can enter text.

    In your list of projects, right-click on the slider you want to add to your pages and choose the Embed option. It'll list the shortcode and all the other embed options. You can learn more about publishing and embedding projects on the following URL: https://layerslider.com/documentation/#publishing-sliders

    Best Regards,
    John | Kreatura Dev Team