I just updated to 5.1 (the first time I’ve updated since upgrading from TTG3 to Backlight 5) and when I click on Galleries in the home page I get the error quoted below. Clicking on About or Search everything works normally. In fact, on the Search page I can open any of the galleries. It’s just clicking on the Galleries link that generates this error:
**
Something went wrong
Argument 1 passed to Album::setLoginToAccessProtectedPhotosEnabled() must be an instance of bool, boolean given, called in /home/edruzjls/public_html/backlight/modules/module-publisher/application/models/Album.php on line 718 and defined in Album.php on line 1039
**
This is some sort of privacy setting, yes? All my albums are public and password is not enabled.
Hi @erudolph, I have put in a fix for this. Can you visit the Backlight Modules page and click Reinstall for module-publisher?
We can’t give older versions of PHP as much testing as we’d like. PHP 5.6 reached end-of-life in 2018. I strongly suggest updating to a newer version of PHP.
Hi @erudolph, thanks for confirming the fix. For now I would suggest either PHP 8.1 or 8.2. We generally recommend the latest, except for when the latest has just come out. Some hosts tend to update within a week or so of a new version, before we’ve had a chance of testing and updating Backlight for it.
The main consideration of upgrading is whether you’re running other PHP software on your site, such as Wordpress.
There should be no consequences for Backlight, assuming your host hasn’t broken anything in the support from one version to another. If you’re able to switch between versions then you could always change back to a previous version of PHP in that case.