#1 2025-04-18 19:19:41

Rob Visser
Member
2021-07-28
4

Deprecated warnings fro smarty

Hello Piwigo

I get lots of deprecated warnings like so:


Deprecated: CssMinifier::__construct(): Implicitly marking parameter $filters as nullable is deprecated, the explicit nullable type must be used instead in /home/deb82075/domains/fotoclub-borne.nl/public_html/album/include/cssmin.class.php on line 34



Piwigo 15.5.0 Check for upgrade
Installed on 4 March 2024, 1 year 1 month 2 weeks ago
Operating system: Linux
PHP: 8.4.5 (Show info) [2025-04-18 19:15:01]
MySQL: 10.6.21-MariaDB-cll-lve-log [2025-04-18 19:15:01]
Graphics Library: ImageMagick ImageMagick 7.1.1-43
Cache size N/A   never calculated Refresh
Piwigo URL: http://album.fotoclub-borne.nl

Offline

 

#2 2025-05-13 22:08:52

dirkx
Member
2025-05-13
2

Re: Deprecated warnings fro smarty

I just added into

            local/config/config.inc.php

the lines

            <?php
            $conf['show_php_errors_on_frontend'] = false;
            ?>

to quell these. The fix would be replacing the deprecated functions.

Offline

 

#3 2025-05-16 22:30:47

Rob Visser
Member
2021-07-28
4

Re: Deprecated warnings fro smarty

Thank you, warnings are no longer reported at the front-end.
I assume the new releases of Piwigo will also have an improved back-end.

Rob Visser

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2025 · Contact