Hello,
I installed Piwigo 13.8.0 on a PHP8 server.
It seems to work fine but there are still some error notice, specially in plugins.
For instance in "Properties Mass Update" 12.b
Warning: Attempt to read property "value" on null in /_data/templates_c/p6jhns^19bde44f813ef313e46f37f7cf3e968c5f051792_0.file.admin_update.tpl.php on line 29 " enctype="multipart/form-data">
This is because in the tpl file there is the use of {$F_ACTION} which is not set by PHP
There should be a review of the plugins, or set a default value such as
'F_ACTION'=>''
Criss
Offline
Hi
I see from GitHub https://github.com/plegall/Piwigo-prope … ate/pull/5
Last edited by k5 (2023-11-26 13:26:26)
Offline
k5 wrote:
Hi
I see from GitHub https://github.com/plegall/Piwigo-prope … ate/pull/5
Unfortunatly it's not the right fix, is has to be fixed in the php file
$template->assign( array( 'level_options'=> get_privacy_level_options(), 'level_options_selected' => array($selected_level), 'F_ACTION'=>'' ) );
or remove the use of {$F_ACTION} in the tpl.
Offline
Criss wrote:
or remove the use of {$F_ACTION} in the tpl.
sounds better to me.
@k5 can you make another commit on your pull-request?
Offline