You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I activated the plugin in my site , got lot of errors :
Warning: A non-numeric value encountered in /home/imartins/public_html/fotos/include/template.class.php on line 1791
Maybe some incompatibility with PHP 7 ?
I had not seen this bug with PHP 7. While testing AMM with PHP 8 (and Piwigo 14), I stumbled upon a problem with the load parameter. The GrumPluginClasses (used by plugin AMM) plugin "registers" the javascript files to load this way:
But here 'header' is not correct. scriptLoader->add is expecting an int, not a string. To add the script to the header, we must set the load parameter to 0. With PHP 8, the bug remains silent and the script is just not loaded, which causes many troubles afterwards.
When I activated the plugin in my site , got lot of errors :
Warning: A non-numeric value encountered in /home/imartins/public_html/fotos/include/template.class.php on line 1791
Maybe some incompatibility with PHP 7 ?
Piwigo 2.9.1
Operating system: Linux
PHP: 7.1.9 (Show info) [2017-09-25 21:37:36]
MySQL: 5.6.36-cll-lve [2017-09-25 21:37:36]
Graphics Library: ImageMagick 6.9.4-10
The text was updated successfully, but these errors were encountered: