php - Smarty3 escape not working with json -


i using prestashop 1.6.1.4 , seem working fine except escaping json returned data ajax call.

using blocklayered navigation giving error 500 when trying render/escape json data server product-list.tpl.

regular pages use same file (product-list.tpl) working fine.

the error getting is:

undefined index: escape in /home/xxx/public_html/cache/smarty/compile/e4/a1/fd/e4a1fd2f5285aae65055ce86ad9af69b31b94166.file.product-list.tpl.php on line 95

fatal error: call member function escape() on non-object in /home/xxx/public_html/cache/smarty/compile/e4/a1/fd/e4a1fd2f5285aae65055ce86ad9af69b31b94166.file.product-list.tpl.php on line 95

this brand new server , @ beginning had issue when trying truncate chars had install mbstring thru easyapache 3 , fixed.

my guess missing mod/extension/plugin apache or php.

any apreciated.

it end being mod_security issue. disabled apache mod_security , works.

thank much


Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -