pietpetoors Posted July 30, 2019 Share Posted July 30, 2019 This morning I have another problem after the 1.7.6.0 upgrade. I disabled Smarty Cache for now and site is back online. at content_5d3effaf225bf5_68888986(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()in smarty_internal_template.php line 385 at Smarty_Internal_Template->_subTemplateRender('module:ps_shoppingcart/ps_shoppingcart-product-line.tpl', null, null, 0, 31536000, array('product' => object(ProductListingLazyArray)), 0, true)in 35655e6409b6198f29dd6e732ef9598dec599880_2.module.psshoppingcartpsshoppingc.php line 69 at content_5d3efef43c4496_49423833(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(null, null, null, null, false, true, false)in SmartyCustomTemplate.php line 44 at SmartyCustomTemplateCore->fetch()in Module.php line 2447 at ModuleCore->fetch('module:ps_shoppingcart/ps_shoppingcart.tpl')in ps_shoppingcart.php line 98 at Ps_Shoppingcart->renderWidget('displayTop', array('smarty' => object(SmartyCustomTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart)))in Hook.php line 975 at HookCore::coreRenderWidget(object(Ps_Shoppingcart), 'displayTop', array('smarty' => object(SmartyCustomTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart)))in Hook.php line 927 at HookCore::exec('displayTop', array('smarty' => object(SmartyCustomTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart)), null)in smarty.config.inc.php line 167 at smartyHook(array('h' => 'displayTop'), object(SmartyCustomTemplate))in SmartyLazyRegister.php line 83 at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayTop'), object(SmartyCustomTemplate)))in f4dabc9235da370ea5c2c94fe2565c996c021e9e_2.file.header.tpl.php line 112 at Block_8397388125d3efeefe83d21_64040124->callBlock(object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_8397388125d3efeefe83d21_64040124), object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyCustomTemplate), object(Block_8397388125d3efeefe83d21_64040124))in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyCustomTemplate), 'Block_8397388125d3efeefe83d21_64040124', 'header_top')in f4dabc9235da370ea5c2c94fe2565c996c021e9e_2.file.header.tpl.php line 40 at content_5d3efeefe85ea8_74231428(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()in smarty_internal_template.php line 385 at Smarty_Internal_Template->_subTemplateRender('file:_partials/header.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array(), 0, false)in 3db6ff4075db235d9e591535b1e50ab83dcce8a2_2.file.layout-both-columns.tpl.php line 291 at Block_7583449405d3efeefe10400_75859341->callBlock(object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_7583449405d3efeefe10400_75859341), object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyCustomTemplate), object(Block_7583449405d3efeefe10400_75859341))in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyCustomTemplate), 'Block_7583449405d3efeefe10400_75859341', 'header')in 3db6ff4075db235d9e591535b1e50ab83dcce8a2_2.file.layout-both-columns.tpl.php line 124 at content_5d3efeefe21bf5_07357686(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()in smarty_internal_template.php line 385 at Smarty_Internal_Template->_subTemplateRender('layouts/layout-both-columns.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125 at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyCustomTemplate), 'layouts/layout-both-columns.tpl')in ce34d6232996c4aedfaf6b9f3559456c4b893fd3_2.file.layout-left-column.tpl.php line 38 at content_5d3efeefdd5b37_20330662(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()in smarty_internal_template.php line 385 at Smarty_Internal_Template->_subTemplateRender('layouts/layout-left-column.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125 at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyCustomTemplate), 'layouts/layout-left-column.tpl')in d936a335a6ce6827c339fa422096782bd820072d_2.file.page.tpl.php line 33 at content_5d3eff1cef2f83_07704691(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()in smarty_internal_template.php line 385 at Smarty_Internal_Template->_subTemplateRender('page.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125 at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyCustomTemplate), 'page.tpl')in 57c352b56da8ee4d5b69d97f5c78e966af98ba46_2.file.index.tpl.php line 35 at content_5d3eff1cede1b7_75212534(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, 'layouts/layout-left-column.tpl', null, 0)in smarty_internal_templatebase.php line 116 at Smarty_Internal_TemplateBase->fetch('index.tpl', null, 'layouts/layout-left-column.tpl', null, false, true, false)in SmartyCustom.php line 112 at SmartyCustomCore->fetch('index.tpl', null, 'layouts/layout-left-column.tpl')in FrontController.php line 683 at FrontControllerCore->smartyOutputContent('index.tpl')in FrontController.php line 667 at FrontControllerCore->display()in Controller.php line 311 at ControllerCore->run()in Dispatcher.php line 515 at DispatcherCore->dispatch()in index.php line 28 Link to comment Share on other sites More sharing options...
pietpetoors Posted July 30, 2019 Author Share Posted July 30, 2019 I now get this error even with Smarty Cache DISABLED in Prestashop. All Cache in Prestashop has been disabled and all Cache has been cleared and I still get this message (1/1) ContextErrorException Warning: htmlspecialchars() expects parameter 1 to be string, array given in 4cdfb4ec01c7f108b4781d3aa4b0a15e221a8ad0_2.module.psshoppingcartpsshoppingc.php line 42 at content_5d403dca13b610_24805626(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()in smarty_internal_template.php line 385 at Smarty_Internal_Template->_subTemplateRender('module:ps_shoppingcart/ps_shoppingcart-product-line.tpl', null, null, 0, 3600, array('product' => object(ProductListingLazyArray)), 0, true)in 35655e6409b6198f29dd6e732ef9598dec599880_2.module.psshoppingcartpsshoppingc.php line 69 at content_5d403dca124762_47401098(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(null, null, null, null, false, true, false)in SmartyCustomTemplate.php line 44 at SmartyCustomTemplateCore->fetch()in Module.php line 2447 at ModuleCore->fetch('module:ps_shoppingcart/ps_shoppingcart.tpl')in ps_shoppingcart.php line 98 at Ps_Shoppingcart->renderWidget('displayTop', array('smarty' => object(SmartyCustomTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart)))in Hook.php line 975 at HookCore::coreRenderWidget(object(Ps_Shoppingcart), 'displayTop', array('smarty' => object(SmartyCustomTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart)))in Hook.php line 927 at HookCore::exec('displayTop', array('smarty' => object(SmartyCustomTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart)), null)in smarty.config.inc.php line 167 at smartyHook(array('h' => 'displayTop'), object(SmartyCustomTemplate))in SmartyLazyRegister.php line 83 at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayTop'), object(SmartyCustomTemplate)))in f4dabc9235da370ea5c2c94fe2565c996c021e9e_2.file.header.tpl.php line 112 at Block_4900178545d403dca099214_89074558->callBlock(object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_4900178545d403dca099214_89074558), object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyCustomTemplate), object(Block_4900178545d403dca099214_89074558))in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyCustomTemplate), 'Block_4900178545d403dca099214_89074558', 'header_top')in f4dabc9235da370ea5c2c94fe2565c996c021e9e_2.file.header.tpl.php line 40 at content_5d403dca09b324_61492658(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()in smarty_internal_template.php line 385 at Smarty_Internal_Template->_subTemplateRender('file:_partials/header.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array(), 0, false)in 3db6ff4075db235d9e591535b1e50ab83dcce8a2_2.file.layout-both-columns.tpl.php line 291 at Block_232914685d403dca030b44_47990925->callBlock(object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_232914685d403dca030b44_47990925), object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyCustomTemplate), object(Block_232914685d403dca030b44_47990925))in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyCustomTemplate), 'Block_232914685d403dca030b44_47990925', 'header')in 3db6ff4075db235d9e591535b1e50ab83dcce8a2_2.file.layout-both-columns.tpl.php line 124 at content_5d403dca043ba5_79847483(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()in smarty_internal_template.php line 385 at Smarty_Internal_Template->_subTemplateRender('layouts/layout-both-columns.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125 at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyCustomTemplate), 'layouts/layout-both-columns.tpl')in ce34d6232996c4aedfaf6b9f3559456c4b893fd3_2.file.layout-left-column.tpl.php line 38 at content_5d403dca0013d0_29992276(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()in smarty_internal_template.php line 385 at Smarty_Internal_Template->_subTemplateRender('layouts/layout-left-column.tpl', null, 'layouts/layout-left-column.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125 at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyCustomTemplate), 'layouts/layout-left-column.tpl')in 9f8a2141dab835b55b41a3b8cdd7f61dd25d5ca6_2.file.product.tpl.php line 57 at content_5d403dc9f2cad3_61708544(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, 'layouts/layout-left-column.tpl', null, 0)in smarty_internal_templatebase.php line 116 at Smarty_Internal_TemplateBase->fetch('catalog/product.tpl', null, 'layouts/layout-left-column.tpl', null, false, true, false)in SmartyCustom.php line 112 at SmartyCustomCore->fetch('catalog/product.tpl', null, 'layouts/layout-left-column.tpl')in FrontController.php line 683 at FrontControllerCore->smartyOutputContent('catalog/product.tpl')in FrontController.php line 667 at FrontControllerCore->display()in Controller.php line 311 at ControllerCore->run()in Dispatcher.php line 515 at DispatcherCore->dispatch()in index.php line 28 Link to comment Share on other sites More sharing options...
pietpetoors Posted July 30, 2019 Author Share Posted July 30, 2019 I now figured out that each time when I disable ANY module, I get above error on the site. Note that after the upgrade to 1.7.6.0 Prestashop also do not want update any modules Link to comment Share on other sites More sharing options...
pietpetoors Posted July 30, 2019 Author Share Posted July 30, 2019 I keep on getting pages full of smarty error messages, even though Smarty has been disabled. Does anybody know why? in da792274cdd84f314e9c9701f63bc2050b94c4b1_2.file.product-prices.tpl.php line 162 at Block_5060795115d406e04d149a6_18214354->callBlock(object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_5060795115d406e04d149a6_18214354), object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyCustomTemplate), object(Block_5060795115d406e04d149a6_18214354))in smarty_internal_runtime_inheritance.php line 156 Link to comment Share on other sites More sharing options...
Norman2019 Posted August 22, 2019 Share Posted August 22, 2019 I have the same problem! solutions? Link to comment Share on other sites More sharing options...
pietpetoors Posted August 22, 2019 Author Share Posted August 22, 2019 In the end the problem was the theme I use. The theme was not updated to the latest version. Once the theme provider sent us the latest version and we updated the theme, my problems were solve, smarty and module updates working now. Link to comment Share on other sites More sharing options...
Norman2019 Posted August 22, 2019 Share Posted August 22, 2019 Thank you 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