After upgrading to piwigo version 13.0.0 the following error appears when loading the page:
Warning: math: illegal characters in include/smarty/libs/plugins/function.math.php on line 76
And the images are not displayed correctly anymore
Environment | Value
--- | ---
Operating system: | Linux
PHP: | 7.3.10
MySQL: | 5.5.5-10.0.38-MariaDB-0ubuntu0.16.04.1
Graphics Library: | ImageMagick 6.9.7-4
I use the Carrousel function from the Extended Description plugin on an Additional Pages landing page.
```
[slider album=10 random=false size=L speed=4 title=false effect=fade arrows=false elastic=false control=false]
```
After upgrading to piwigo version 13.0.0 the following error appears when loading the page:
```
Warning: math: illegal characters in include/smarty/libs/plugins/function.math.php on line 76
```
And the images are not displayed correctly anymore
<!-- github-sync-id:1419520169 -->
Hi
try modify include/smarty/libs/plugins/function.math.php in line 72 for $operators = '[,+\/*\^%-]'; // Allowed math operators
and it's ok ?
Hi
try modify include/smarty/libs/plugins/function.math.php in line 72 for
`$operators = '[,+\/*\^%-]'; // Allowed math operators`
and it's ok ?
<!-- github-comment-id:1287930357 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
I use the Carrousel function from the Extended Description plugin on an Additional Pages landing page.
After upgrading to piwigo version 13.0.0 the following error appears when loading the page:
And the images are not displayed correctly anymore
Hi
try modify include/smarty/libs/plugins/function.math.php in line 72 for
$operators = '[,+\/*\^%-]'; // Allowed math operatorsand it's ok ?
Hi,
yes, that solved the issue