On my install of Piwigo 16 that has been upgraded from 15.7.0 I get shown error messages on the Photo sizes configuration page in the admin when I click on the "show details" link. Rather than showing a default size like the others, 3XL and 4XL show:
Warning: Undefined array key "w" in /var/www/html/piwigo/_data/templates_c/p6jhns_623in6^fa71c34bb4571b77bce065cdd09509d343282728_0.file_configuration_sizes.tpl.php on line 243 x Warning: Undefined array key "h" in /var/www/html/piwigo/_data/templates_c/p6jhns_623in6^fa71c34bb4571b77bce065cdd09509d343282728_0.file_configuration_sizes.tpl.php on line 244 pixels Warning: Undefined array key "crop" in /var/www/html/piwigo/_data/templates_c/p6jhns_623in6^fa71c34bb4571b77bce065cdd09509d343282728_0.file_configuration_sizes.tpl.php on line 246
I have never modified any of the image size settings but this installation is being used for testing so it did pass through 16.0.0RC2 and 16.0.0RC3 between 15.7.0 and the release version of 16.0.0. (This instance is running on PHP 8.4.11)
On my other testing site (which is running PHP 7.4.33 in case that matters) which is a fresh install of 16.0.0 those two image sizes display blank sizes ("x pixels") rather than the error messages.
Instance 1:
Environment
Piwigo 16.0.0 Check for upgrade
Installed on November 6, 2025, 3 weeks 2 days ago
Operating system: Linux
PHP: 8.4.11 (Show info) [2025-11-30 05:00:49]
MySQL: 11.8.3-MariaDB-0+deb13u1 from Debian [2025-11-30 05:00:49]
Graphics Library: External ImageMagick 7.1.1-43
Cache size 112.27 Mo calculated 6 days ago Refresh
Activated plugin list 16
Add Users Notes
Additional Pages
Admin Tools
Community
Community Plugin Extensions
Copyrights
Custom Registration Form
Extended Description
LocalFiles Editor
Perso Footer
Personal Plugin
Photo added by
Protect Notification
Register Codes
Upload 1 menu
Write Metadata
Instance 2:
Environment
Piwigo 16.0.0 Check for upgrade
Installed on November 25, 2025, 4 days ago
Operating system: Linux (container)
PHP: 7.4.33 (Show info) [2025-11-30 11:04:40]
MySQL: 10.6.23-MariaDB-cll-lve [2025-11-30 06:04:40]
Graphics Library: External ImageMagick 6.9.13-25
Cache size N/A never calculated Refresh
Activated plugin list 2
LocalFiles Editor
Personal Plugin
Offline
I do not meet this issue with my test site which has this environment :
Piwigo 16.0.0
Système d'exploitation: Linux (container)
PHP: 8.3.28
MySQL: 8.0.36
Bibliothèque graphique: External ImageMagick 6.9.11-60
Offline
I switched instance 2 (the one that had a fresh install a few days ago) to PHP 8.4 and it showed the same error as my other test instance (that was already on PHP 8.4). (I also tried to deactivate all the plugins but the error showed the same either way.)
Activating the reset to default values link resolved the error on this install but since this was a fresh install in which these values had not been touched I am assuming that somehow I was missing something from the installation process.
Environment
Piwigo 16.0.0 Check for upgrade
Installed on November 25, 2025, 4 days ago
Operating system: Linux (container)
PHP: 8.4.14 (Show info) [2025-11-30 13:05:50]
MySQL: 10.6.23-MariaDB-cll-lve [2025-11-30 08:05:50]
Graphics Library: External ImageMagick 6.9.13-25
Cache size N/A never calculated Refresh
Activated plugin list 2
LocalFiles Editor
Personal Plugin
Offline
I must have made some kind of error in the process of doing both of the previous installs. I did another fresh install (PHP 7.4.33) and this one is now fine with regard to the missing dimensions. I don't understand what went wrong before. Sorry about that.
Environment
Piwigo 16.0.0 Check for upgrade
Installed on 30 November 2025, 8 minutes ago
Operating system: Linux (container)
PHP: 7.4.33 (Show info) [2025-11-30 09:44:34]
MySQL: 10.6.23-MariaDB-cll-lve [2025-11-30 09:44:34]
Graphics Library: External ImageMagick 6.9.13-25
Cache size N/A never calculated Refresh
Activated plugin list 0
No plugin activated
Offline
Moberley, maybe you can mark the thread as solved ?
Offline
I apologize I didn't know where that option was.
Offline
After upgrade from Piwigo 15.7.0 to Piwigo 16.1.0 I have the same (probably) problem with Image Sizes configuration page. PHP crashed on this page with no output (blank page). I have PHP logs switched off for the moment, tomorrow I will try to get some error messages and provide details.
All other configuration pages work fine.
Environment:
Piwigo 16.1.0
Linux
PHP: 8.2.28
MySQL: 8.0.41-32
External ImageMagick 6.9.11-60
Activated plugins (though I think it doesn't matter in this case)
Additional Pages
Admin Tools
Automatic Size
Extended Description
gdThumb
Language Switch
LocalFiles Editor
Manage Properties Photos
OpenStreetMap
Photo Update
PWG Stuffs
Rotate Image
RV Menu Tree
Take A Tour of Your Piwigo
Personal Plugin
Thanks,
Alexandr
Offline
See [Github] Piwigo issue #2488 it's resolved in the upcoming version 16.2.0 :-) we're waiting for a few more bugs to be fixed to release this new version.
Offline
plg wrote:
See [Github] Piwigo issue #2488 it's resolved in the upcoming version 16.2.0 :-) we're waiting for a few more bugs to be fixed to release this new version.
Thanks! That's not critical for me, will wait 16.2.0
Merry Christmas for everybody!
Alexandr
Offline