Jump to content

(1/1) ContextErrorException Notice: Undefined index: from | Prestashop 1.7.6.0


webconexus

Recommended Posts

Hello,

I experience this weird error pasted down below. I am not so familiar with Prestashop so I really don't know where to find the problem. This problem occurs when I am clicking on a product in my catalogue and it should direct me to the single product page. However it throws this error. 

The strange thing is that this only happens when a user is logged in on the front-end, if no user is logged in then I can access the single product pages perfectly fine. 

Even when I disable all non-prestashop modules and ovverrides I get this error. Can anyone help me out?

 

(1/1) ContextErrorException

Notice: Undefined index: from

in 6f47cb3cfc64ce94307175a0afcddb7e5856ced3_2.file.product-prices.tpl.php line 161

at Block_18072126125d4bb2c5875644_57960487->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_18072126125d4bb2c5875644_57960487), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_18072126125d4bb2c5875644_57960487))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_18072126125d4bb2c5875644_57960487', 'product_price')in 6f47cb3cfc64ce94307175a0afcddb7e5856ced3_2.file.product-prices.tpl.php line 34

at content_5d4bb2c588add0_77722245(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyDevTemplate))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:catalog/_partials/product-prices.tpl', null, 'layouts/layout-full-width.tpl', 0, 3600, array(), 0, false)in 405f61180e6bf1d669897217f298e5df3f8a6af3_2.file.product.tpl.php line 397

at Block_20157885245d4bb2c57ebc71_70860049->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_20157885245d4bb2c57ebc71_70860049), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_20157885245d4bb2c57ebc71_70860049))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_20157885245d4bb2c57ebc71_70860049', 'product_prices', 0)in 405f61180e6bf1d669897217f298e5df3f8a6af3_2.file.product.tpl.php line 467

at Block_17176343615d4bb2c57e5623_87294031->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_17176343615d4bb2c57e5623_87294031), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_17176343615d4bb2c57e5623_87294031))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_17176343615d4bb2c57e5623_87294031', 'product_buy', 0)in 405f61180e6bf1d669897217f298e5df3f8a6af3_2.file.product.tpl.php line 957

at Block_16798602305d4bb2c57cf479_23222961->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_16798602305d4bb2c57cf479_23222961), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_16798602305d4bb2c57cf479_23222961),object(Block_16804821745d4bb2c2b70414_71409527))in smarty_internal_runtime_inheritance.php line 186

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_16804821745d4bb2c2b70414_71409527))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_16804821745d4bb2c2b70414_71409527', 'content', 1)in d7f195583d140f5b0d0860011f2a9b0abd1bebdc_2.file.layout-full-width.tpl.php line 101

at Block_3872996315d4bb2c2b6f907_64698434->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_3872996315d4bb2c2b6f907_64698434), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_3872996315d4bb2c2b6f907_64698434),object(Block_21141618445d4bb2c2b7c296_34177959))in smarty_internal_runtime_inheritance.php line 186

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_21141618445d4bb2c2b7c296_34177959))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_21141618445d4bb2c2b7c296_34177959', 'content_wrapper')in 718f8696e99a253871ae75bba01c44ebbe6c1a3f_2.file.layout-both-columns.tpl.php line 103

at content_5d4bb2c2b831f2_56271280(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyDevTemplate))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-full-width.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-both-columns.tpl')in d7f195583d140f5b0d0860011f2a9b0abd1bebdc_2.file.layout-full-width.tpl.php line 42

at content_5d4bb2c2b71bf1_05143993(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyDevTemplate))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-full-width.tpl', null, 'layouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)in smarty_internal_runtime_inheritance.php line 125

at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-full-width.tpl')in 405f61180e6bf1d669897217f298e5df3f8a6af3_2.file.product.tpl.php line 54

at content_5d4bb2c58068b2_51768141(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123

at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114

at Smarty_Template_Compiled->render(object(SmartyDevTemplate))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(SmartyDevTemplate), null, 'layouts/layout-full-width.tpl', null, 0)in smarty_internal_templatebase.php line 116

at Smarty_Internal_TemplateBase->fetch('catalog/product.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false)in SmartyDev.php line 40

at SmartyDev->fetch('catalog/product.tpl', null, 'layouts/layout-full-width.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

  • 2 years later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...