Announcement

#1 2022-01-05 08:44:34

maxima
Member
2021-11-26
24

Piwigo 12.2.0 error

Hi

When I go to the site for the first time, it comes up when I refresh the site disappears

Warning: Parameter 2 to ppcredits_picture_prefilter() expected to be a reference, value given in C:\AppServ\www\avs\include\smarty\libs\sysplugins\smarty_internal_runtime_filterhandler.php on line 63

Warning: Parameter 2 to ucf_add_popin_prefilter() expected to be a reference, value given in C:\AppServ\www\avs\include\smarty\libs\sysplugins\smarty_internal_runtime_filterhandler.php on line 63

Warning: Parameter 2 to stc_profile_link_prefilter() expected to be a reference, value given in C:\AppServ\www\avs\include\smarty\libs\sysplugins\smarty_internal_runtime_filterhandler.php on line 63

Last edited by maxima (2022-01-05 08:45:09)

Offline

 

#2 2022-01-05 13:01:07

erAck
Only trying to help
2015-09-06
2026

Re: Piwigo 12.2.0 error

Sounds like the Prepaid Credits plugin and two others I didn't identify lack the mandatory changes for Smarty set_prefilter() linked functions. See Piwigo 12 changes for how you could fix that by removing the ,&$smarty  second parameter from those functions.


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

Offline

 

#3 2022-01-05 14:09:32

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13791

Re: Piwigo 12.2.0 error

My mistake. I had built revision 12.a on the wrong git commit (because I forgot to push this commit [Github] piwigo-prepaid-credits commit 4efd3ed5 )

New revision 12.b includes the removal of &$smarty parameters

Offline

 

Board footer

Powered by FluxBB

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