tickmeister Posted November 6, 2017 Share Posted November 6, 2017 I had truble with changing "My Shop" shop name, it still showed in order confirmation, after propre changes in store contacts. so I changed ps_shop value to proper Shop name. From now on, wneh in debug mode on checkout page I got this error instead of page itself. Without debug mode Page looks fine, but I cannot use payment carrer from my country because I see errors on page even when debug mode is off. Reversing changes in ps_shop (back to My shop) doesn't solve issue, what should i do? Whoops, looks like something went wrong. 1/1 ContextErrorException in smarty_internal_templatebase.php(157) : eval()'d code line 34: Notice: Undefined index: br in smarty_internal_templatebase.php(157) : eval()'d code line 34 at ErrorHandler->handleError('8', 'Undefined index: br', '/home/adkom/domains/ad-kom.pl/public_html/vendor/prestashop/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code', '34', array('_smarty_tpl' => object(Smarty_Dev_Template))) in smarty_internal_templatebase.php(157) : eval()'d code line 34 at content_59ffb57b67b0c1_96982633(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188 at Smarty_Internal_TemplateBase->fetch('/home/adkom/domains/ad-kom.pl/public_html/modules/inpost/views/templates/hook/blocks.tpl', null, null, object(SmartyDev), false, true, false) in SmartyDev.php line 41 at SmartyDev->fetch('/home/adkom/domains/ad-kom.pl/public_html/modules/inpost/views/templates/hook/blocks.tpl') in Helper.php line 74 at InpostHelper->htmlAssign('hookPaymentShow') in inpost.php line 604 at Inpost->hookDisplayPaymentTop(array('smarty' => object(Smarty_Dev_Template), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '1')) in Hook.php line 895 at HookCore::coreCallHook(object(Inpost), 'hookdisplayPaymentTop', array('smarty' => object(Smarty_Dev_Template), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '1')) in Hook.php line 327 at HookCore::callHookOn(object(Inpost), 'displayPaymentTop', array('smarty' => object(Smarty_Dev_Template), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '1')) in Hook.php line 843 at HookCore::exec('displayPaymentTop', array('smarty' => object(Smarty_Dev_Template), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '1'), null) in smarty.config.inc.php line 168 at smartyHook(array('h' => 'displayPaymentTop'), object(Smarty_Dev_Template)) in SmartyLazyRegister.php line 83 at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayPaymentTop'), object(Smarty_Dev_Template))) in smarty_internal_templatebase.php(157) : eval()'d code line 75 at content_59ffb57b65cb08_32705366(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188 at Smarty_Internal_TemplateBase->fetch(object(Smarty_Dev_Template), null, null, null, false, true, false) in SmartyDev.php line 60 at Smarty_Dev_Template->fetch() in AbstractCheckoutStep.php line 94 at AbstractCheckoutStepCore->renderTemplate('checkout/_partials/steps/payment.tpl', array('identifier' => 'checkout-payment-step', 'position' => '4', 'ui' => object(RenderableProxy)), array('is_free' => false, 'payment_options' => array('ps_legalcompliance' => array(), 'ps_wirepayment' => array(array('module_name' => 'ps_wirepayment', 'binary' => null, 'action' => 'http://ad-kom.pl/module/ps_wirepayment/validation', 'form' => null, 'inputs' => null, 'logo' => null, 'additionalInformation' => ' <!-- begin module:ps_wirepayment/views/templates/hook/ps_wirepayment_intro.tpl --> <!-- begin /home/adkom/domains/ad-kom.pl/public_html/modules/ps_wirepayment/views/templates/hook/ps_wirepayment_intro.tpl --> <section> <p> Proszę przelać kwotę faktury na nasze konto bankowe. Otrzymasz potwierdzenie zamówienia przez e-mail zawierające dane bankowe i numer zamówienia. Towary będą zarezerwowane dla Ciebie przez 5 dni a realizacja zamówienia nastąpi natychmiast po otrzymaniu płatności. </p> <div class="modal fade" id="bankwire-modal" tabindex="-1" role="dialog" aria-labelledby="Bankwire information" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> <h2>Przelew bankowy</h2> </div> <div class="modal-body"> <p>Płatność należy uregulować przelewem kwoty faktury na następujące konto:</p> <!-- begin module:ps_wirepayment/views/templates/hook/_partials/payment_infos.tpl --> <!-- begin /home/adkom/domains/ad-kom.pl/public_html/modules/ps_wirepayment/views/templates/hook/_partials/payment_infos.tpl --> <dl> <dt>Kwota</dt> <dd>854,04 zł (brutto)</dd> <dt>do</dt> <dd>Beata Trzcińska</dd> <dt>Proszę podać te dane</dt> <dd>33 2490 0005 0000 4000 9784 1310</dd> <dt>do banku</dt> <dd>Alior Bank</dd> </dl> <!-- end /home/adkom/domains/ad-kom.pl/public_html/modules/ps_wirepayment/views/templates/hook/_partials/payment_infos.tpl --> <!-- end module:ps_wirepayment/views/templates/hook/_partials/payment_infos.tpl --> </div> </div> </div> </div> </section> <!-- end /home/adkom/domains/ad-kom.pl/public_html/modules/ps_wirepayment/views/templates/hook/ps_wirepayment_intro.tpl --> <!-- end module:ps_wirepayment/views/templates/hook/ps_wirepayment_intro.tpl --> ', 'call_to_action_text' => 'Zapłać przelewem', 'id' => 'payment-option-1')), 'ps_cashondelivery' => array(array('module_name' => 'ps_cashondelivery', 'binary' => null, 'action' => 'http://ad-kom.pl/module/ps_cashondelivery/validation', 'form' => null, 'inputs' => null, 'logo' => null, 'additionalInformation' => ' <!-- begin module:ps_cashondelivery/views/templates/hook/ps_cashondelivery_intro.tpl --> <!-- begin /home/adkom/domains/ad-kom.pl/public_html/modules/ps_cashondelivery/views/templates/hook/ps_cashondelivery_intro.tpl --> <section> <p> Płacisz za towar przy dostawie </p> </section> <!-- end /home/adkom/domains/ad-kom.pl/public_html/modules/ps_cashondelivery/views/templates/hook/ps_cashondelivery_intro.tpl --> <!-- end module:ps_cashondelivery/views/templates/hook/ps_cashondelivery_intro.tpl --> ', 'call_to_action_text' => 'Zapłać gotówką przy odbiorze', 'id' => 'payment-option-2')), 'przelewy24' => array(array('module_name' => null, 'binary' => null, 'action' => 'http://ad-kom.pl/module/przelewy24/validation', 'form' => null, 'inputs' => null, 'logo' => '/modules/przelewy24/views/img/logo_mini.png', 'additionalInformation' => ' <!-- begin module:przelewy24/views/templates/front/payment_option.tpl --> <!-- begin /home/adkom/domains/ad-kom.pl/public_html/modules/przelewy24/views/templates/front/payment_option.tpl --><section> <p> Po złożeniu zamówienia zostaniesz przekierowany na serwis Przelewy24 w celu dokonania płatności. </p> <img src="/modules/przelewy24/views/img/logo.png" alt="Płać z Przelewy24"/> <dl> <dt>Amount</dt> <dd>854,04 zł (z VAT)</dd> </dl> </section><!-- end /home/adkom/domains/ad-kom.pl/public_html/modules/przelewy24/views/templates/front/payment_option.tpl --> <!-- end module:przelewy24/views/templates/front/payment_option.tpl --> ', 'call_to_action_text' => 'Płać z Przelewy24', 'id' => 'payment-option-3'))), 'conditions_to_approve' => array('terms-and-conditions' => 'Wyrażam zgodę na <a href="http://ad-kom.pl/content/3-regulamin-sklepu" id="cta-terms-and-conditions-0">warunki usługi</a>, <a href="http://ad-kom.pl/content/9-aeu-legal-revocation-terms" id="cta-terms-and-conditions-1">warunki odstąpienia</a> i będę stosować się do nich bezwarunkowo.'), 'selected_payment_option' => null, 'selected_delivery_option' => array('price_with_tax' => '0', 'price_without_tax' => '0', 'package_list' => array('0'), 'logo' => false, 'id_reference' => '1', 'name' => 'Odbiór osobisty w sklepie ad-kom.pl', 'is_free' => '1', 'url' => '', 'shipping_handling' => '0', 'shipping_external' => '0', 'range_behavior' => '0', 'shipping_method' => '1', 'max_width' => '0', 'max_height' => '0', 'max_depth' => '0', 'max_weight' => '0.000000', 'grade' => '0', 'external_module_name' => '', 'is_module' => '0', 'need_range' => '0', 'position' => '0', 'id' => '11', 'delay' => 'Natychmiast po wcześniejszym złożeniu zamówienia.', 'price' => 'Za darmo!', 'label' => 'Odbiór osobisty w sklepie ad-kom.pl - Natychmiast po wcześniejszym złożeniu zamówienia. - Za darmo!', 'extraContent' => ''), 'show_final_summary' => '1')) in CheckoutPaymentStep.php line 86 at CheckoutPaymentStepCore->render(array('identifier' => 'checkout-payment-step', 'position' => '4', 'ui' => object(RenderableProxy))) in RenderableProxy.php line 52 at RenderableProxy->render(array('identifier' => 'checkout-payment-step', 'position' => '4', 'ui' => object(RenderableProxy))) in smartyfront.config.inc.php line 94 at smartyRender(array('identifier' => 'checkout-payment-step', 'position' => '4', 'ui' => object(RenderableProxy)), object(Smarty_Dev_Template)) in SmartyLazyRegister.php line 83 at SmartyLazyRegister->__call('smartyRender', array(array('identifier' => 'checkout-payment-step', 'position' => '4', 'ui' => object(RenderableProxy)), object(Smarty_Dev_Template))) in smarty_internal_templatebase.php(157) : eval()'d code line 36 at content_59ffb57ae0e954_68518438(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188 at Smarty_Internal_TemplateBase->fetch(object(Smarty_Dev_Template), null, null, null, false, true, false) in SmartyDev.php line 60 at Smarty_Dev_Template->fetch() in CheckoutProcess.php line 110 at CheckoutProcessCore->render(array('file' => 'checkout/checkout-process.tpl', 'ui' => object(RenderableProxy))) in RenderableProxy.php line 52 at RenderableProxy->render(array('file' => 'checkout/checkout-process.tpl', 'ui' => object(RenderableProxy))) in smartyfront.config.inc.php line 94 at smartyRender(array('file' => 'checkout/checkout-process.tpl', 'ui' => object(RenderableProxy)), object(Smarty_Dev_Template)) in SmartyLazyRegister.php line 83 at SmartyLazyRegister->__call('smartyRender', array(array('file' => 'checkout/checkout-process.tpl', 'ui' => object(RenderableProxy)), object(Smarty_Dev_Template))) in smarty_internal_templatebase.php(157) : eval()'d code line 146 at content_59ffb57ad7a0d2_55159535(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188 at Smarty_Internal_TemplateBase->fetch('modules/ps_legalcompliance/views/templates/hook/hookDisplayOverrideTemplateFooter.tpl', null, 'layouts/layout-left-column.tpl', object(SmartyDev), false, true, false) in SmartyDev.php line 41 at SmartyDev->fetch('modules/ps_legalcompliance/views/templates/hook/hookDisplayOverrideTemplateFooter.tpl', null, 'layouts/layout-left-column.tpl') in FrontController.php line 660 at FrontControllerCore->smartyOutputContent('modules/ps_legalcompliance/views/templates/hook/hookDisplayOverrideTemplateFooter.tpl') in FrontController.php line 644 at FrontControllerCore->display() in Controller.php line 225 at ControllerCore->run() in Dispatcher.php line 379 at DispatcherCore->dispatch() in index.php line 28 Link to comment Share on other sites More sharing options...
tuk66 Posted November 7, 2017 Share Posted November 7, 2017 Yes, it is only PHP Notice. Nothing serious. Anyway, this issue is caused by the Inpost module in the /modules/inpost/views/templates/hook/blocks.tpl file, so you can fix it there. Link to comment Share on other sites More sharing options...
tickmeister Posted November 11, 2017 Author Share Posted November 11, 2017 Thank you for your reply, I've deleted this module and everything went back to normal Link to comment Share on other sites More sharing options...
tuhingr Posted April 28, 2018 Share Posted April 28, 2018 (edited) but I still getting same issue. First I got this issue with 1.7.3.0 after upgrade 1.7.3.1 this problem solved. after few hours get same issue. Help plz! error is "module/ps_cashondelivery/validation" error 500 Edited April 28, 2018 by tuhingr error note (see edit history) 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