JoeSchiaffi Posted August 18, 2022 Share Posted August 18, 2022 Hi there, I've recently upgraded my PrestaShop to the lastest version (1.7.8.7 and I'm using the default PrestaShop Theme) and everything is working fine, I've also received some orders, some even minutes ago. I was checking on the checkout procedure to check if there were some elements to be styled or something to be adjousted and I've noticed this: When I add a product to my card and click on "Completa Ordine" button (it's the Checkout button) the shop simply refresh the page (in the beginning) and now (after cleared browser cache, prestashop cache, and so) it redirect's me on the home page. But I've received orders. I've triedd on my PC and my Phone, in both I've tried with Chrome and firefox and the problem is the same I live here the shop url: www.jollyrogerbay.it In the debut mode, i've noticed this log (tried to disable the TrustPilot module and the feedaty one, but nothing changed): Whoops, looks like something went wrong. (1/1) ContextErrorException User Notice: escape: unsupported type: htmall - returning unmodified string in modifier.escape.php line 257 at smarty_modifier_escape('/shop/modules/trustpilot/views/js/tp_register.min.js', 'htmall', 'UTF-8', true) in smarty.config.inc.php line 80 at smartyEscape('/shop/modules/trustpilot/views/js/tp_register.min.js', 'htmall', 'UTF-8') in SmartyLazyRegister.php line 83 at SmartyLazyRegister->__call('smartyEscape', array('/shop/modules/trustpilot/views/js/tp_register.min.js', 'htmall', 'UTF-8')) in 3fb6aedd1ea63166173457e058ffbc2663b365f5_2.file.head.tpl.php line 47 at content_62fe61faca5e82_16391141(object(SmartyCustomTemplate)) in smarty_template_resource_base.php line 123 at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyCustomTemplate)) in smarty_template_compiled.php line 114 at Smarty_Template_Compiled->render(object(SmartyCustomTemplate)) in smarty_internal_template.php line 216 at Smarty_Internal_Template->render(false, 0) in smarty_internal_templatebase.php line 232 at Smarty_Internal_TemplateBase->_execute(object(SmartyCustomTemplate), null, null, null, 0) in smarty_internal_templatebase.php line 116 at Smarty_Internal_TemplateBase->fetch('/web/htdocs/www.jollyrogerbay.it/home/shop/modules/trustpilot/views/templates/hook/head.tpl', null, null, null, false, true, false) in SmartyCustom.php line 112 at SmartyCustomCore->fetch('/web/htdocs/www.jollyrogerbay.it/home/shop/modules/trustpilot/views/templates/hook/head.tpl') in trustpilot.php line 271 at Trustpilot->hookDisplayHeader(array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 19)) in Hook.php line 1007 at HookCore::coreCallHook(object(Trustpilot), 'hookDisplayHeader', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 19)) in Hook.php line 438 at HookCore::callHookOn(object(Trustpilot), 'Header', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 19)) in Hook.php line 944 at HookCore::exec('displayHeader') in FrontController.php line 598 at FrontControllerCore->initContent() in IndexController.php line 37 at IndexControllerCore->initContent() in Controller.php line 306 at ControllerCore->run() in Dispatcher.php line 518 at DispatcherCore->dispatch() in index.php line 28 any ideas? I've searched on google and others had my same problem but was for different reasons Link to comment Share on other sites More sharing options...
juanrojas Posted August 18, 2022 Share Posted August 18, 2022 This error that you show is with the trustpilot module disabled and also with the cache deleted? Link to comment Share on other sites More sharing options...
JoeSchiaffi Posted August 18, 2022 Author Share Posted August 18, 2022 Thanks for the reply! I've disabled TrustPilot module, and now it opens the pages, and even the Order Page (before, I was only getting that error) now, If i click on "Complete Checkout" button, I got this error (different than the one before): Whoops, looks like something went wrong. (1/1) ContextErrorException Notice: Undefined index: data in csoft_instagramfeeds.php line 411 at csoft_instagramfeeds->getPics()in csoft_instagramfeeds.php line 358 at csoft_instagramfeeds->hookDisplayHome(array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 2))in Hook.php line 1007 at HookCore::coreCallHook(object(csoft_instagramfeeds), 'hookDisplayHome', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 2))in Hook.php line 431 at HookCore::callHookOn(object(csoft_instagramfeeds), 'displayHome', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 2))in Hook.php line 944 at HookCore::exec('displayHome')in IndexController.php line 39 at IndexControllerCore->initContent()in Controller.php line 306 at ControllerCore->run()in Dispatcher.php line 518 at DispatcherCore->dispatch()in index.php line 28 Link to comment Share on other sites More sharing options...
JoeSchiaffi Posted August 18, 2022 Author Share Posted August 18, 2022 In my Javascript console I've found this errors (TrustPilot module stil disabled): Hosted Fields eligibility is declined (anonymous) @ front.js?version=2.20.1:2 value @ front.js?version=2.20.1:2 value @ front.js?version=2.20.1:2 value @ front.js?version=2.20.1:2 value @ front.js?version=2.20.1:2 value @ front.js?version=2.20.1:2 value @ front.js?version=2.20.1:2 value @ front.js?version=2.20.1:2 (anonymous) @ front.js?version=2.20.1:2 f @ front.js?version=2.20.1:2 (anonymous) @ front.js?version=2.20.1:2 (anonymous) @ front.js?version=2.20.1:2 Ma @ front.js?version=2.20.1:2 c @ front.js?version=2.20.1:2 Promise.then (async) Ma @ front.js?version=2.20.1:2 c @ front.js?version=2.20.1:2 (anonymous) @ front.js?version=2.20.1:2 (anonymous) @ front.js?version=2.20.1:2 (anonymous) @ front.js?version=2.20.1:2 (anonymous) @ front.js?version=2.20.1:2 f @ front.js?version=2.20.1:2 (anonymous) @ front.js?version=2.20.1:2 (anonymous) @ front.js?version=2.20.1:2 Ma @ front.js?version=2.20.1:2 c @ front.js?version=2.20.1:2 (anonymous) @ front.js?version=2.20.1:2 (anonymous) @ front.js?version=2.20.1:2 (anonymous) @ front.js?version=2.20.1:2 (anonymous) @ front.js?version=2.20.1:2 f @ front.js?version=2.20.1:2 (anonymous) @ front.js?version=2.20.1:2 (anonymous) @ front.js?version=2.20.1:2 qa @ front.js?version=2.20.1:2 c @ front.js?version=2.20.1:2 (anonymous) @ front.js?version=2.20.1:2 (anonymous) @ front.js?version=2.20.1:2 Od_yAhzcZNz.js?_nc_x=nM1tv9roZpp:59 ErrorUtils caught an error: CSR upgrades included on mismatched rev 1006051683 (client rev: 1006050817, cohort: BP:plugin_default_pkg). Subsequent non-fatal errors won't be logged; see https://fburl.com/debugjs. Link to comment Share on other sites More sharing options...
juanrojas Posted August 18, 2022 Share Posted August 18, 2022 disable the other you said feedaty and clear cache Link to comment Share on other sites More sharing options...
JoeSchiaffi Posted August 18, 2022 Author Share Posted August 18, 2022 Tried, disabled both of them and cleared cache, cleared the browser history (Chrome) and nothing changed Link to comment Share on other sites More sharing options...
JoeSchiaffi Posted August 18, 2022 Author Share Posted August 18, 2022 On my webserver I've got this error: WARNING: [pool www.jollyrogerbay.it] child 221494 said into stderr: "[18-Aug-2022 18:23:39 Europe/Rome] PHP Notice: escape: unsupported type: htmall - returning unmodified string in /web/htdocs/www.jollyrogerbay.it/home/shop/vendor/smarty/smarty/libs/plugins/modifier.escape.php on line 257" I've disabled the Smarty Cache but with no result Link to comment Share on other sites More sharing options...
JoeSchiaffi Posted August 18, 2022 Author Share Posted August 18, 2022 Just an update: If I add the ?action=show to the URL of the Checkout Button, it works. If I disable the Friendly URL option, the checkout process works fine, If I activate Friendly URL it won't 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