Jump to content

Debug modus aan errror op openen van een bestelling - ($_smarty_tpl->tpl_vars['currency']->value->format%2)


Recommended Posts

Zonder debug modus kan de pagina gewoon worden geopend en zijn er geen foutmeldingen, met debug modus aan gebeurd het volgende!!
wie kan me meer vertellen ??


When using the latest prestashop version of 1.7 with debug mode enabled, when I open an order I get the following errors:

I checked the file 004ccc7b1cd5f1099144f6701009c4888a949ea6.file.view.tpl.php and here is the output from line 2746 :
<?php if (!($_smarty_tpl->tpl_vars['currency']->value->format%2)) {?><div class="input-group-addon"><?php echo $_smarty_tpl->tpl_vars['currency']->value->sign;?>

I don't now what is wrong and if it is a serious issue, on the order page itself I cannot see any issues.
All the other line's mentioned are all "Currency related"

Output line 3094 : <?php if ($_smarty_tpl->tpl_vars['currency']->value->format%2) {?><div class="input-group-addon"><?php echo $_smarty_tpl->tpl_vars['currency']->value->sign;?>

As the file 004ccc7b1cd5f1099144f6701009c4888a949ea6.file.view.tpl.php is a caching file I renamed the file and tried again, but the issue was not resloved with this action.

 

Warning op lijn 2746 in bestand /var/www/vhosts/XXX.XXX.nl/httpdocs/app/cache/dev/smarty/compile/00/4c/cc/004ccc7b1cd5f1099144f6701009c4888a949ea6.file.view.tpl.php
[2] A non-numeric value encountered

Warning op lijn 2751 in bestand /var/www/vhosts/XXX.XXX.nl/httpdocs/app/cache/dev/smarty/compile/00/4c/cc/004ccc7b1cd5f1099144f6701009c4888a949ea6.file.view.tpl.php
[2] A non-numeric value encountered

Warning op lijn 2759 in bestand /var/www/vhosts/XXX.XXX.nl/httpdocs/app/cache/dev/smarty/compile/00/4c/cc/004ccc7b1cd5f1099144f6701009c4888a949ea6.file.view.tpl.php
[2] A non-numeric value encountered

Warning op lijn 2764 in bestand /var/www/vhosts/XXX.XXX.nl/httpdocs/app/cache/dev/smarty/compile/00/4c/cc/004ccc7b1cd5f1099144f6701009c4888a949ea6.file.view.tpl.php
[2] A non-numeric value encountered

Warning op lijn 2932 in bestand /var/www/vhosts/XXX.XXX/httpdocs/app/cache/dev/smarty/compile/00/4c/cc/004ccc7b1cd5f1099144f6701009c4888a949ea6.file.view.tpl.php
[2] A non-numeric value encountered

Warning op lijn 2936 in bestand /var/www/vhosts/XXX.XXX/httpdocs/app/cache/dev/smarty/compile/00/4c/cc/004ccc7b1cd5f1099144f6701009c4888a949ea6.file.view.tpl.php
[2] A non-numeric value encountered

Warning op lijn 3094 in bestand /var/www/vhosts/XXX.XXX/httpdocs/app/cache/dev/smarty/compile/00/4c/cc/004ccc7b1cd5f1099144f6701009c4888a949ea6.file.view.tpl.php
[2] A non-numeric value encountered

Warning op lijn 3098 in bestand /var/www/vhosts/XXX.XXX/httpdocs/app/cache/dev/smarty/compile/00/4c/cc/004ccc7b1cd5f1099144f6701009c4888a949ea6.file.view.tpl.php
[2] A non-numeric value encountered

Warning op lijn 3106 in bestand /var/www/vhosts/XXX.XXX/httpdocs/app/cache/dev/smarty/compile/00/4c/cc/004ccc7b1cd5f1099144f6701009c4888a949ea6.file.view.tpl.php
[2] A non-numeric value encountered

Warning op lijn 3110 in bestand /var/www/vhosts/XXX.XXX/httpdocs/app/cache/dev/smarty/compile/00/4c/cc/004ccc7b1cd5f1099144f6701009c4888a949ea6.file.view.tpl.php
[2] A non-numeric value encountered

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...