Gipielle Posted November 6, 2018 Share Posted November 6, 2018 Qualcuno può indicarmi come risolvere questo problema per cortesia: [Tue Nov 06 18:31:05.653478 2018] [:error] [pid 63849] [client 176.83.227.140:4845] FastCGI: server "/var/www/clients/client1/web1/cgi-bin/php-fcgi-*-443-.it" stderr: PHP message: PHP Notice: Undefined index: orderprice in /var/www/clients/client1/web1/web/cache/smarty/compile/82/8e/1f/828e1f0d90c652fcd067fbf2f0f499cba85d5404.file.product-list.tpl.php on line 148, referer: questa dovrebbe essere la parte incriminata: {if ($product.orderprice > $product.price_tax_exc) || ($product.old_price > $product.price_tax_exc)} <span id="old_price_display" class="linea"> {if $product.orderprice} {convertPrice price=$product.orderprice} {else} {convertPrice price=$product.old_price} {/if} </span><br> {/if} Ringrazio in anticipo. Link to comment Share on other sites More sharing options...
Haumea Posted November 7, 2018 Share Posted November 7, 2018 Salve, probabilmente il problema è orderprice, che non è definito nell'array $product. Controlla nel file. php se l'indice orderprice sia presente. Link to comment Share on other sites More sharing options...
Gipielle Posted November 12, 2018 Author Share Posted November 12, 2018 Grazie, quale file php ? Link to comment Share on other sites More sharing options...
Gipielle Posted November 12, 2018 Author Share Posted November 12, 2018 Questa è la linea 148 del file 828e1f0d90c652fcd067fbf2f0f499cba85d5404.file.product-list.tpl.php <?php if ($_smarty_tpl->tpl_vars['product']->value['orderprice']){?> Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now