THELIA Forum

Welcome to the THELIA support and discusssion forum

Offline


I do not know why of this error, carry out test comment the line before the one that mentions and the error disappears but according to it must come with the percentage of the tax

Warning: A non-numeric value encountered in /home2/teloteng/public_html/store/cache/prod/smarty/compile/cbb75a8ce15ba9c97852478f0aae1009a0890317_0.file.account-order.html.php on line 587


Ing. sistema
Developer

Offline


Which version of PHP are you using ?


OpenStudio Toulouse

Offline


php 7.2


Ing. sistema
Developer

Offline


This in caused by this feature of PHP 7.1+ :

New E_WARNING and E_NOTICE errors have been introduced when invalid strings are coerced using operators expecting numbers or their assignment equivalents. An E_NOTICE is emitted when the string begins with a numeric value but contains trailing non-numeric characters, and an E_WARNING is emitted when the string does not contain a numeric value.

In templates/frontOffice/default/account-order.html line 223, replacing

{assign var="_price_taxe_" value="0"}

by 

{$_price_taxe_ = 0}

will fix the problem.


OpenStudio Toulouse

Offline


@ROADSTER31    it didn't work for me !!

still with the error now tell me this  sad

Warning: A non-numeric value encountered in /home2/teloteng/public_html/store/cache/prod/smarty/compile/cbb75a8ce15ba9c97852478f0aae1009a0890317_0.file.account-order.html.php on line 587

on the file line   
586 /* {block "javascript-initialization"} */
587  class Block_19955006885eb0f20a851968_70549897 extends Smarty_Internal_Block


Ing. sistema
Developer