Updating to new backlight

Hiya,

I want to upgrade to latest backlight but when I hit the module button in the current version I run into this error


Is it save to upgrade?
the webshop is located at circuitpics.nl/webshop

When refreshing sometimes the webshop gives errors, sometimes it looks fine but slow…

@Ben will need to take a look. It might help him to know the current version of Backlight you’re trying to update from and what version of php your host is running.
(you can find out the version of php by going to Backlight > Admin > Special Links and click on View PHP info)

PHP logo
PHP Version 8.5.0

and what version of Backlight are you currently using?

Backlight 5

It could be an incompatibility between Backlight 5 and PHP 8.5 (which is probably new)

You could try changing the PHP version to something earlier and see if that works.
(you can often do this on your own from your host’s C-Panel)
Or wait for @Ben to advise.

1 Like

Hi @Phoentje, as Rod suggested, this is an incompatibility between Backlight 5 and PHP 8.5. I suggest either changing the PHP version to something older (PHP 8.2 should be safe), or upgrading to Backlight 6.

Hiya
Thanks I can surely downgrade to an older version. I can also upgrade to backlight 6, should I downgrade first to older pho before upgrading to 6?

Hi @Phoentje, I suggest going into your Backlight admin and seeing whether you can access the Backlight Modules page and reinstall any of the modules. If so then you should be right to upgrade Backlight without needing to downgrade PHP first.