Piwigo update 15.6.0 generates inline "deprecated" messages in the UI

The Piwigo container (https://hub.docker.com/r/linuxserver/piwigo) was updated two days ago to 15.6.0. I updated to this version from 15.5.0 and now the Piwigo UI generates “deprecated” messages inline with the rest of the UI. Here is an example.

Deprecated
: Smarty::_getTemplateId(): Implicitly marking parameter $template as nullable is deprecated, the explicit nullable type must be used instead in
/app/www/public/include/smarty/libs/Smarty.class.php
on line
1048

Rolling back to Piwigo version 15.5.0 resolves the problem. Version information for the Piwigo container indicates 7.07.25: - Rebase to Alpine 3.22. I see that Alpine 3.22 has PHP 8.4. I think Piwigo 15.6.0 may be incompatible with this version of PHP.

I would suggest opening an issue with them. we will internally discuss using an older version to support this app. normally a deprecation warning isn’t a big deal, but for whatever reason the app devs decide to spam it across the ui.

for now

their github suggests to remove “Deprecated” warnings, in local/config/config.inc.php set $conf['show_php_errors'] to E_ALL & ~E_DEPRECATED instead of E_ALL

or

$conf[‘show_php_errors_on_frontend’] = false;

we have reverted piwigo to alpine 3.21. Hopefully the project stops making claims that php 7+ are supported when it’s not true.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.