Announcement

#1 2021-11-24 08:47:54

Digidani
Member
2017-10-20
18

Photo added by - Error

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

 

#2 2021-11-24 08:58:29

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
6999

Re: Photo added by - Error

Hi :-)

Photo Added by

Revision 11.0.b (2021-01-27)

    Compatible with: Piwigo releases 11


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#3 2021-11-24 09:11:12

Digidani
Member
2017-10-20
18

Re: Photo added by - Error

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

 

#4 2021-11-24 14:02:19

erAck
Only trying to help
2015-09-06
1143

Re: Photo added by - Error

In Photo_add_by/initpicture.php line 29 remove the second parameter
, &$smarty
from function pabIT so that it reads

Code:

function pabIT($content){

Additionallly, in Photo_add_by/initadmin.php line 34 do the same so that it reads

Code:

function addpayadminT($content) {

Running Piwigo at https://erack.net/gallery/

Offline

 

#5 2021-11-24 14:07:15

Digidani
Member
2017-10-20
18

Re: Photo added by - Error

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

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2021 · Contact