Open ketchemr opened 2 years ago
I don't see it! Can you give us more details? Do you have plugins activated? Specific options on Bootstrap Darkroom?
Hi!
I had a similar issue and it was caused by the PersoFavicon plugin. I changed the following: File: PersoFavicon/main.inc.php Line: 57 Old: function Favicon($content, &$smarty){ New: function Favicon($content){
I found an issue on the Forum page on piwigo.org which mentions this, but I'm not 100% sure.
Can we expect that all plugins will be changed like this in the near future or does it break backwards compatibilty with older Piwigo versions?
Kind regards
Jens
I am seeing this from two plugins: Warning: Parameter 2 to add_info_photo_preT() expected to be a reference, value given in /home/ketchemr/rrkphoto.com/include/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php on line 63
Warning: Parameter 2 to osm_insert_map() expected to be a reference, value given in /home/ketchemr/rrkphoto.com/include/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php on line 63
These look like the plugins "Manage Properties Photos" and "OpenStreetMap". I suspect a change in piwigo-bootstrap-darkroom has caused a backwards compatibility issue.
Hi!
Yes, there are more. Could could do the following to look for the ones affected:
$ find . -type f | xargs grep -l "function.*smarty"
The drawback is that these files get overwritten, when you install updates for your plugins, because the changes are only made locally.
Best regards
Jens
@plegall Is this a valid workaround?
That fixed it. Thanks.
Latest version gives this error visible in the image page on several plugins: include/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php on line 63
This is visible to the user on the image page.