THELIA Forum

Welcome to the THELIA support and discusssion forum

Announcement

Rejoignez la communauté sur le Discord Thelia : https://discord.gg/YgwpYEE3y3

Offline


Salut

Quand un client consulte une de ses commandes, ça lui dit cela ci-dessous (en mode index_dev.php).
Par contre les commandes et les factures en pdf s'affichent convenablement dans l'administration.
Je dois vous dire que je ne sais pas bien ce que je peux en faire pour le corriger.
Fresh install de thelia v2.3.5.

in smarty_internal_templatebase.php(157) : eval()'d code line 550
at ErrorHandler->handleError('2', 'A non-numeric value encountered', '/var/www/vhosts/rites-ecossais.fr/librairie/core/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code', '550', array('_smarty_tpl' => object(Smarty_Internal_Template), '_config' => object(Smarty_Internal_Config), '_tmp1' => 'Mon compte', '_tmp2' => 'https://librairie.rites-ecossais.fr/index_dev.php/account', '_tmp3' => 'Détail de la commande', '_tmp4' => 'https://librairie.rites-ecossais.fr/index_dev.php/account/order/16', '_tmp5' => 'Librairie des rites écossais', '_tmp6' => 'Eboutique AMHG', '_tmp7' => 'fr', '_tmp8' => 'fr_FR', '_from' => array(array('title' => 'Détail de la commande', 'url' => 'https://librairie.rites-ecossais.fr/index_dev.php/account/order/16'), array('title' => 'Mon compte', 'url' => 'https://librairie.rites-ecossais.fr/index_dev.php/account')), '_block_repeat' => true, '_block_content' => ' <tr> <td class="products-top" colspan="5"> </td> </tr> ', '_tmp11' => 'ORD000000000016', '_tmp12' => '16', '_tmp13' => '16', '_tmp14' => '16', '_tmp15' => '2', '_tmp16' => '16', '_tmp17' => '2', '_tmp18' => '16', '_tmp19' => '2', '_tmp20' => '16', '_tmp21' => '25', '_tmp22' => '16', '_tmp24' => '25', '_tmp25' => '16', '_tmp26' => '25', '_tmp27' => '16', '_tmp28' => '16', '_tmp29' => '16', '_tmp30' => 'Sans TVA')) in smarty_internal_templatebase.php(157) : eval()'d code line 550
at content_5dc5ab2454b1b8_56100237(object(Smarty_Internal_Template)) in smarty_internal_templatebase.php line 188
at Smarty_Internal_TemplateBase->fetch('file:account-order.html') in SmartyParser.php line 381
at SmartyParser->internalRenderer('file', 'account-order.html', array('order_id' => '16', 'locale' => 'fr_FR', 'lang_code' => 'fr', 'lang_id' => '1', 'current_url' => 'https://librairie.rites-ecossais.fr/index_dev.php/account/order/16', 'app' => object(stdClass)), true) in SmartyParser.php line 424
at SmartyParser->render('account-order.html', array('order_id' => '16', 'locale' => 'fr_FR', 'lang_code' => 'fr', 'lang_id' => '1', 'current_url' => 'https://librairie.rites-ecossais.fr/index_dev.php/account/order/16', 'app' => object(stdClass))) in BaseFrontController.php line 130
at BaseFrontController->renderRaw('account-order.html', array('order_id' => '16')) in BaseFrontController.php line 112
at BaseFrontController->render('account-order', array('order_id' => '16')) in OrderController.php line 454
at OrderController->viewAction('16')
at call_user_func_array(array(object(OrderController), 'viewAction'), array('16')) in HttpKernel.php line 139
at HttpKernel->handleRaw(object(Request), '1') in HttpKernel.php line 62
at HttpKernel->handle(object(Request), '1', true) in TheliaHttpKernel.php line 76
at TheliaHttpKernel->handle(object(Request), '1', true) in ParamInitMiddleware.php line 87
at ParamInitMiddleware->handle(object(Request), '1', true) in SessionMiddleware.php line 80
at SessionMiddleware->handle(object(Request), '1', true) in StackedHttpKernel.php line 23
at StackedHttpKernel->handle(object(Request), '1', true) in Kernel.php line 185
at Kernel->handle(object(Request)) in index_dev.php line 37

Merci de vos lumières, cordialement Yanic Gornet

Offline


Quelle est la version de PHP que tu utilises ?
À mon avis tu est en 7.2. Essaie de passer en 7.1, ça devrait résoudre le problème.


OpenStudio Toulouse

Offline


Salut

php 7.1.27, ça déconne comme rapporté ci-dessus
sur un serveur linux CentOs 6.10 / Plesk 17.8.11

avec PHP Version 7.0.33, il n'y a plus le problème constaté

merci