Error with PHP 8.5

I went to check to see if my BackLight software was up to date just now. When I clicked on the Modules link, I received this message:

Something went wrong
The predefined locally scoped $http_response_header variable is deprecated, call http_get_last_response_headers() instead

Setting it back to PHP 8.4 made this go away, and I was able to determine that everything is up to date.

Paul

which version of Backlight are you using? BL 6 should be compatible with php 8.5 but if it isn’t, @Ben will want to know.

Hi @kolohe280, thanks for raising this. Backlight 6 strives to be compatible with PHP 8.5 - it’s updated according to the documentation and I run 8.5 for my development.
I’ll look into this to see what might have been missed.

1 Like

Should have mentioned that. BL6.

Hi @kolohe280, are you still able to use the Backlight Modules page, or does this error prevent it from loading? If you are able to, then a simple update from us should be able to fix it without you needing to manually update and re-run the installer.