Hello
Current version: 14.4.0
I get this message when trying to access one of my albums
Warning
: Trying to access array offset on value of type null in
/var/www/html/piwigo/include/derivative_params.inc.php
on line
92
Warning
: Trying to access array offset on value of type null in
/var/www/html/piwigo/include/derivative_params.inc.php
on line
93
Warning
: Trying to access array offset on value of type null in
/var/www/html/piwigo/include/derivative_params.inc.php
on line
318
Warning
: Trying to access array offset on value of type null in
/var/www/html/piwigo/include/derivative_params.inc.php
on line
318
Warning
: Trying to access array offset on value of type null in
/var/www/html/piwigo/themes/modus/themeconf.inc.php
on line
329
Warning
: Trying to access array offset on value of type null in
/var/www/html/piwigo/themes/modus/themeconf.inc.php
on line
330
(Copy here your environment details, found on your Piwigo page [Administration > Tools > Maintenance])
Piwigo 14.4.0 Check for upgrade
Installed on 28 December 2022, 1 year 5 months 2 weeks 1 day ago
Operating system: Linux
PHP: 8.1.2-1ubuntu2.17 (Show info) [2024-06-13 01:32:24]
MySQL: 8.0.37-0ubuntu0.22.04.3 [2024-06-13 00:32:24]
Graphics Library: GD 2.3.0
Cache size 1114.06 Mo calculated 1 month ago Refresh
Keith
Offline
It's (only) a warning, either disable displaying deprecated and warning messages (because it effectively may break functionality of a page even if nothing else is broken), in local config
$conf['show_php_errors_on_frontend'] = false;
or fine tune message classes to display, see [Forum, post 183126 by erAck in topic 31852] Menubar tags issue after 12.2.0 upgrade, or better, log to file instead.
See [Forum, post 180778 by erAck in topic 31258] Error Message.
Offline
I'm sorry, how could I fix the error rather than just not show error
Keith
Last edited by kdmiller45 (2024-06-15 10:29:46)
Offline
As mentioned the messages above are WARNINGS not errors. Functionality of the website is not affected. Warnings typically appear when deprecated but still usable functions are used in the code.
The display of such warnings can be disabled as described by erAck.
Offline