#1 2023-09-02 18:12:39

krist
Member
2016-01-30
56

Deprecated error

Hello/Hi/Greetings,

I moved my piwigo server to a newly install Debian 12.  I uploaded backup piwigo file and restored the saved database.  I can sign in to my piwigo server, and upgraded to the latest version.  But I encounter this error.  Do I go into 282 and comment it out or is there other problem that is causing this.  In the Maintenance section, there is a long list of deprecated statements like this:


Deprecated: Creation of dynamic property Smarty_Variable::$do_else is deprecated in /var/www/piwigo/_data/templates_c/p6jhns^b6cb91870811d94b2729f4aa99a882f00ef4baad_0.file.admin.tpl.php on line 282


Comment this line out does not change anything.

(Copy here your environment details, found on your Piwigo page [Administration > Tools > Maintenance])

    Piwigo 13.8.0 Check for upgrade
    Installed on 31 January 2016, 7 years 7 months 2 days ago
    Operating system: Linux
    PHP: 8.2.7 (Show info) [2023-09-02 16:10:23]
    MySQL: 10.11.3-MariaDB-1 [2023-09-02 12:10:23]
    Graphics Library: GD 2.3.3
    Cache size N/A   never calculated Refresh

Piwigo URL: http://

Last edited by krist (2023-09-02 18:17:44)

Offline

 

#2 2023-09-03 00:38:12

FloPinguin
Member
2023-09-03
1

Re: Deprecated error

I also had this problem with the newest piwigo version and PHP 8.2.

To remove the warnings, set $conf['show_php_errors'] = ''; in the file config_default.inc.php

Offline

 

#3 2023-09-03 02:43:26

erAck
Only trying to help
2015-09-06
2231

Re: Deprecated error

The better remedy is to set

$conf['show_php_errors_on_frontend'] = false;

so errors are still logged to file if such is activated on the server.


Running Piwigo at https://erack.net/gallery/

Offline

 

Board footer

Powered by FluxBB

github linkedin newsletter Piwigo.org © 2002-2025 · Contact