Hello/Hi/Greetings,
after the upgrade to version 12 of Piwigo the plugin "Photo added by" don´t work for me.
After activation of the plugin there will be the following error message at any picture:
Warning: Parameter 2 to pabIT() expected to be a reference, value given in /www/htdocs/wxxxxx/mywebsite/include/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php on line 63
Is there a solution for that problem? Or do I have to wait for an update of the plugin and/or Piwigo?
Piwigo 12.1.0
Betriebssystem: Linux
PHP: 7.3.32-nmm1
MySQL: 5.7.34-nmm1-log
Grafikbibliothek: ImageMagick 6.9.7-4
Additional Pages
Admin Tools
Advanced Menu Manager
Community
Exif View
Extended Description
Grum Plugins Classes.3
GThumb+
LocalFiles Editor
Perso Footer
Persönliches Plugin
RV Maps&Earth
RV Thumb Scroller
See My Photos
See photos by user
Take A Tour of Your Piwigo
Upload 1 menu
User Mass Register
UserAdvManager
Offline
Hi :-)
Photo Added by
Revision 11.0.b (2021-01-27)
Compatible with: Piwigo releases 11
Offline
Yes, I know. :-) There is no workaround. Okay.
But: Will you make an update in the future or is this "impossible" for Piwigo 12?
Offline
In Photo_add_by/initpicture.php line 29 remove the second parameter
, &$smarty
from function pabIT so that it reads
function pabIT($content){
Additionallly, in Photo_add_by/initadmin.php line 34 do the same so that it reads
function addpayadminT($content) {
Offline
Thanks! :-) That helps! No error message after the changes.
So I can activate the plugin and wait for a new version in the future.
Offline
There is still a mistake
Notice: Trying to access array offset on value of type null in C:\AppServ\www\avs\plugins\Photo_add_by\admin.php on line 73
Notice: Trying to access array offset on value of type null in C:\AppServ\www\avs\plugins\Photo_add_by\admin.php on line 100
Offline