Announcement

  •  » Extensions
  •  » [Extended Description] Slider - math functions not accepted by Smarty

#1 2022-10-30 23:04:26

Serge D
Member
US
2014-07-15
383

[Extended Description] Slider - math functions not accepted by Smarty

Hi team

Recently updated to 13.1
ever since, Slider in Extended Description plugin is breaking (extended error) with "<b>Warning</b>:  math: illegal characters in max(x,y)  for /^(((?:\d+(?:[,.]\d+)?|pi|π)|((?:0x[a-fA-F0-9]+)|([a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*))|(((?:0x[a-fA-F0-9]+)|([a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*))\s*\((?1)+\)|\((?1)+\)))(?:[+\/*\^%-](?1))?)+$/ in <b>.../include/smarty/libs/plugins/function.math.php</b> on line <b>76</b><br />

similar for min

what may be off?

PS: If I comment out lines 75-78 in include/smarty/libs/plugins/function.math.php error will go away and everything will compute

Last edited by Serge D (2022-10-30 23:11:21)

Offline

 

#2 2022-10-31 16:01:23

Matthieulp
Piwigo Team
2021-04-30
15

Re: [Extended Description] Slider - math functions not accepted by Smarty

Hello,

we just released a new version of Extended Description, can you try it out and let us know if it works for you :)

Have a good day.

Offline

 

#3 2022-11-01 05:21:13

Serge D
Member
US
2014-07-15
383

Re: [Extended Description] Slider - math functions not accepted by Smarty

Thank you, new version fixed the issue

Offline

 
  •  » Extensions
  •  » [Extended Description] Slider - math functions not accepted by Smarty

Board footer

Powered by FluxBB

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