🌍
English
Greetings,
After the migration to piwigo version 12.1.0 I noticed following php errors
Warning: Parameter 2 to copyrights_add_to_pic_info() expected to be a reference, value given in /var/www/htdocs/include/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php on line 63 Warning: Parameter 2 to CR_batch_single() expected to be a reference, value given in /var/www/htdocs/include/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php on line 63 Warning: Parameter 2 to CR_modify() expected to be a reference, value given in /var/www/virtual/web41665.pfweb.eu/flederohr.de/gallerie/htdocs/include/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php on line 63
The methods are from the Copyrights plugin
I found a related topic: Piwigo 12, Smarty 3.1.39 and prefilters
These are the places that need to be updated to fix the problem in the Copyrights plugin:
copyrights_add_to_pic_info()
- function copyrights_add_to_pic_info($content, &$smarty) + function copyrights_add_to_pic_info($content)
- function CR_batch_single($content, &$smarty) + function CR_batch_single($content)
- function CR_modify($content, &$smarty) + function CR_modify($content)
Last edited by flederohr (2021-11-13 03:07:34)
Offline
I found similar issues with the FCKEditor plugin
FCKEditor/fckeditor.php (lines 98 - 113)
FCKEditor/fckeditor.php:function add_remove_button($content, &$smarty) FCKEditor/fckeditor.php:function add_remove_button_stuffs($content, &$smarty) FCKEditor/fckeditor.php:function add_remove_button_banner($content, &$smarty)
Last edited by flederohr (2021-11-13 03:16:42)
Offline
Juste released a new version 12.a for [extension by J.Commelin] Copyrights
Offline