I am running BL v3.2.2, Win 11 (the latest release) and run the latest Edge.
Home - Franz Zihlmann Photography
I receive an error when I click “Galleries” and “Search” see below:
“Something went wrong
preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in 95-page-3.0.4-13-733-menu_153-93-index-2.0.1-16-179-1-admin.view-1.template on line 124”
Everything works fine except for the above error.
Can you help, please?
Franz Zihlmann
Could be that your host is running a newer version of php, perhaps creating incompatibilities with Backlight 3.
You might need to revert to an earlier version of php.
You can check the php version being used from Backlight. You’ll find a View PHP Info link in the Admin area. I can’t remember exactly where it is in BL3.
Can you take a look?
you also have issues with Font Awesome icons. This is because of changes in how Font Awesome in integrated with Backlight.
See: Upcoming Changes to Font Awesome
If you want to keep using Font Awesome you have a few options. One is to buy Font Awesome Pro and integrate it with backlight through custom css.
Font Awesome free is also an option. Again, you’ll have to integrate it with Backlight. I don’t remember if Backlight 3 had the option for serving Font Awesome locally.
By far, the easiest thing to do (probably for both Font Awesome and your original problem) is to upgrade to Backlight 5. It’s kept up to date with php versions so you shouldn’t run into more compatibility issues as php changes.
Bluehost has made it more difficult to find with their new and “improved” layout.
Log into your account. Click on Hosting. You should see, among other things, a box with Quick Links. the Cpanel link is there. Click on that.
Scroll down to “Software” and click on MultiPHP Manager.
You can change the version of php you’re site is using from there.
Coming from BL3, it’s super easy. Just purchase the upgrade using the same email address you used for previous versions. Go to your Backlight Modules page and click on the Update All link.
All of your customization should still work. There may be differences if you’ve customized Font Awesome icons.
If you’re using Lightroom Publisher, you probably need to update the Publisher plug-in as well, Maybe? Current version is 7.0 I believe.