plegall / Piwigo-community

11 stars 24 forks source link

Warnings in Configuration Tab PHP 8.3.10 #91

Open TheLuke99 opened 2 months ago

TheLuke99 commented 2 months ago

Piwigo: 14.5.0 PHP: 8.3.10 community_14b

When wanting to configure and use this plugin, the following PHP Warnings appear:

PHP Warning: Undefined array key "who_options_selected" in C:\inetpub\wwwroot_data\templates_c\8cpdn4^3b3bcbc467e326d00f331b563f8a8601cf2a0516_0.file.admin_permissions.tpl.php on line 463 PHP Warning: Attempt to read property "value" on null in C:\inetpub\wwwroot_data\templates_c\8cpdn4^3b3bcbc467e326d00f331b563f8a8601cf2a0516_0.file.admin_permissions.tpl.php on line 463

PHP Warning: Undefined array key "user_options_selected" in C:\inetpub\wwwroot_data\templates_c\8cpdn4^3b3bcbc467e326d00f331b563f8a8601cf2a0516_0.file.admin_permissions.tpl.php on line 474 PHP Warning: Attempt to read property "value" on null in C:\inetpub\wwwroot_data\templates_c\8cpdn4^3b3bcbc467e326d00f331b563f8a8601cf2a0516_0.file.admin_permissions.tpl.php on line 474

PHP Warning: Undefined array key "group_options_selected" in C:\inetpub\wwwroot_data\templates_c\8cpdn4^3b3bcbc467e326d00f331b563f8a8601cf2a0516_0.file.admin_permissions.tpl.php on line 482 PHP Warning: Attempt to read property "value" on null in C:\inetpub\wwwroot_data\templates_c\8cpdn4^3b3bcbc467e326d00f331b563f8a8601cf2a0516_0.file.admin_permissions.tpl.php on line 482

Im guessing there is an incompatibility with the newest PHP? Trying PHP 8.0 and see if it works.

nicoleonwien commented 2 months ago

Jup I have the same problem with the same errors :/

TheLuke99 commented 2 months ago

After fiddeling around with PHP Versions i figured this out: PHP 8.x does not work with community. Tried with 8.0, 8.1, 8.2 and 8.3

I installed PHP 7.4.33 and i got no more errors + it is working