Jump to content

Problem with upgrading to prestashop 1.7


KRAFTMAKER

Recommended Posts

Hi,

 

I upgraded a multistore Prestashop from 1.6 to 1.7.

The domain www.bitsnbaits.com works like a charm, but when I quit the maintance mode on http://www.soulcarp.eu/ I get a Internal 500 Error.
When I activate the Debug Mode I receive this warnings: 

(1/1) ContextErrorException
Notice: Undefined index: cookie

in 72f446dca9cc43e6b2b12a30710a20f0da789dec_2.file.blocksearch-instantsearch.tpl.cache.php line 58
at content_5bafa52d285de4_46549004(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 363
at Smarty_Internal_Template->_subTemplateRender('/home/bitsnbaits.com/public_html/bitsnbaits.com/modules/blocksearch/blocksearch-instantsearch.tpl', 'blocksearch-top|4|1|1|13', null, 9999, 31536000, array(), 0, true)
in ce8e5f4b13358282f7f78a6dc0f9701e52a47baa_2.file.blocksearch-top.tpl.cache.php line 56
at content_5bafa52d264cb6_83552010(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_runtime_updatecache.php line 39
at Smarty_Internal_Runtime_UpdateCache->updateCache(object(Smarty_Template_Cached), object(SmartyDevTemplate), false)
in smarty_template_cached.php line 143
at Smarty_Template_Cached->render(object(SmartyDevTemplate), false)
in smarty_internal_template.php line 201
at Smarty_Internal_Template->render(false, 0)
in smarty_internal_templatebase.php line 232
at Smarty_Internal_TemplateBase->_execute(object(SmartyDevTemplate), null, null, null, 0)
in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase->fetch(null, null, null, null, false, true, false)
in SmartyDevTemplate.php line 41
at SmartyDevTemplateCore->fetch()
in Module.php line 2244
at ModuleCore->display('/home/bitsnbaits.com/public_html/bitsnbaits.com/modules/blocksearch/blocksearch.php', 'blocksearch-top.tpl', 'blocksearch-top|4|1|1|13')
in blocksearch.php line 120
at BlockSearch->hookTop(array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))
in Hook.php line 924
at HookCore::coreCallHook(object(BlockSearch), 'hooktop', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))
in Hook.php line 332
at HookCore::callHookOn(object(BlockSearch), 'displayTop', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))
in Hook.php line 860
at HookCore::exec('displayTop', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1), null)
in smarty.config.inc.php line 165
at smartyHook(array('h' => 'displayTop'), object(SmartyDevTemplate))
in SmartyLazyRegister.php line 83
at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayTop'), object(SmartyDevTemplate)))
in 03d711ce5ae3c81851afbe92af08258d1ce06c3b_2.file.header.tpl.php line 136
at Block_17666789885bafa52d236551_54794218->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 247
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_17666789885bafa52d236551_54794218), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 183
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_17666789885bafa52d236551_54794218))
in smarty_internal_runtime_inheritance.php line 157
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_17666789885bafa52d236551_54794218', 'header_top')
in 03d711ce5ae3c81851afbe92af08258d1ce06c3b_2.file.header.tpl.php line 36
at content_5bafa52d23d396_98540555(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 206
at Smarty_Internal_Template->render()
in smarty_internal_template.php line 365
at Smarty_Internal_Template->_subTemplateRender('file:_partials/header.tpl', null, 'layouts/layout-full-width.tpl', 0, 31536000, array(), 0, false)
in 371b392317d3b5e245425b1b1fabce241e70766c_2.file.layout-both-columns.tpl.php line 188
at Block_6161762375bafa52d1894b2_26215345->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 247
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_6161762375bafa52d1894b2_26215345), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 183
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_6161762375bafa52d1894b2_26215345))
in smarty_internal_runtime_inheritance.php line 157
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_6161762375bafa52d1894b2_26215345', 'header')
in 371b392317d3b5e245425b1b1fabce241e70766c_2.file.layout-both-columns.tpl.php line 62
at content_5bafa52d1a0547_44977227(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 206
at Smarty_Internal_Template->render()
in smarty_internal_template.php line 365
at Smarty_Internal_Template->_subTemplateRender('layouts/layout-both-columns.tpl', null, 'layouts/layout-full-width.tpl', 0, 31536000, array(), 2, false, null, null)
in smarty_internal_runtime_inheritance.php line 127
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-both-columns.tpl')
in 2a8933a243857cbac09bc9d8eb5f63d5a9507c15_2.file.layout-full-width.tpl.php line 42
at content_5bafa52d1704c9_27246314(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 206
at Smarty_Internal_Template->render()
in smarty_internal_template.php line 365
at Smarty_Internal_Template->_subTemplateRender('layouts/layout-full-width.tpl', null, 'layouts/layout-full-width.tpl', 0, 31536000, array(), 2, false, null, null)
in smarty_internal_runtime_inheritance.php line 127
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-full-width.tpl')
in 2a4a82ec2970b0218ac9df878eeee9aa578f8116_2.file.page.tpl.php line 33
at content_5bafa52d15b5e0_15500966(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 206
at Smarty_Internal_Template->render()
in smarty_internal_template.php line 365
at Smarty_Internal_Template->_subTemplateRender('page.tpl', null, 'layouts/layout-full-width.tpl', 0, 31536000, array(), 2, false, null, null)
in smarty_internal_runtime_inheritance.php line 127
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'page.tpl')
in 33ed33775460c21d9457bad352ee354928533a86_2.file.index.tpl.php line 33
at content_5bafa52d147401_60534979(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 206
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('index.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false)
in SmartyDev.php line 41
at SmartyDev->fetch('index.tpl', null, 'layouts/layout-full-width.tpl')
in FrontController.php line 679
at FrontControllerCore->smartyOutputContent('index.tpl')
in FrontController.php line 663
at FrontControllerCore->display()
in Controller.php line 275
at ControllerCore->run()
in Dispatcher.php line 428
at DispatcherCore->dispatch()
in index.php line 28

 

Link to comment
Share on other sites

20 hours ago, KRAFTMAKER said:

Hi,

 

I upgraded a multistore Prestashop from 1.6 to 1.7.

The domain www.bitsnbaits.com works like a charm, but when I quit the maintance mode on http://www.soulcarp.eu/ I get a Internal 500 Error.
When I activate the Debug Mode I receive this warnings: 


(1/1) ContextErrorException
Notice: Undefined index: cookie

in 72f446dca9cc43e6b2b12a30710a20f0da789dec_2.file.blocksearch-instantsearch.tpl.cache.php line 58
at content_5bafa52d285de4_46549004(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 363
at Smarty_Internal_Template->_subTemplateRender('/home/bitsnbaits.com/public_html/bitsnbaits.com/modules/blocksearch/blocksearch-instantsearch.tpl', 'blocksearch-top|4|1|1|13', null, 9999, 31536000, array(), 0, true)
in ce8e5f4b13358282f7f78a6dc0f9701e52a47baa_2.file.blocksearch-top.tpl.cache.php line 56
at content_5bafa52d264cb6_83552010(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_runtime_updatecache.php line 39
at Smarty_Internal_Runtime_UpdateCache->updateCache(object(Smarty_Template_Cached), object(SmartyDevTemplate), false)
in smarty_template_cached.php line 143
at Smarty_Template_Cached->render(object(SmartyDevTemplate), false)
in smarty_internal_template.php line 201
at Smarty_Internal_Template->render(false, 0)
in smarty_internal_templatebase.php line 232
at Smarty_Internal_TemplateBase->_execute(object(SmartyDevTemplate), null, null, null, 0)
in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase->fetch(null, null, null, null, false, true, false)
in SmartyDevTemplate.php line 41
at SmartyDevTemplateCore->fetch()
in Module.php line 2244
at ModuleCore->display('/home/bitsnbaits.com/public_html/bitsnbaits.com/modules/blocksearch/blocksearch.php', 'blocksearch-top.tpl', 'blocksearch-top|4|1|1|13')
in blocksearch.php line 120
at BlockSearch->hookTop(array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))
in Hook.php line 924
at HookCore::coreCallHook(object(BlockSearch), 'hooktop', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))
in Hook.php line 332
at HookCore::callHookOn(object(BlockSearch), 'displayTop', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))
in Hook.php line 860
at HookCore::exec('displayTop', array('smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1), null)
in smarty.config.inc.php line 165
at smartyHook(array('h' => 'displayTop'), object(SmartyDevTemplate))
in SmartyLazyRegister.php line 83
at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayTop'), object(SmartyDevTemplate)))
in 03d711ce5ae3c81851afbe92af08258d1ce06c3b_2.file.header.tpl.php line 136
at Block_17666789885bafa52d236551_54794218->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 247
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_17666789885bafa52d236551_54794218), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 183
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_17666789885bafa52d236551_54794218))
in smarty_internal_runtime_inheritance.php line 157
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_17666789885bafa52d236551_54794218', 'header_top')
in 03d711ce5ae3c81851afbe92af08258d1ce06c3b_2.file.header.tpl.php line 36
at content_5bafa52d23d396_98540555(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 206
at Smarty_Internal_Template->render()
in smarty_internal_template.php line 365
at Smarty_Internal_Template->_subTemplateRender('file:_partials/header.tpl', null, 'layouts/layout-full-width.tpl', 0, 31536000, array(), 0, false)
in 371b392317d3b5e245425b1b1fabce241e70766c_2.file.layout-both-columns.tpl.php line 188
at Block_6161762375bafa52d1894b2_26215345->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 247
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_6161762375bafa52d1894b2_26215345), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 183
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_6161762375bafa52d1894b2_26215345))
in smarty_internal_runtime_inheritance.php line 157
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_6161762375bafa52d1894b2_26215345', 'header')
in 371b392317d3b5e245425b1b1fabce241e70766c_2.file.layout-both-columns.tpl.php line 62
at content_5bafa52d1a0547_44977227(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 206
at Smarty_Internal_Template->render()
in smarty_internal_template.php line 365
at Smarty_Internal_Template->_subTemplateRender('layouts/layout-both-columns.tpl', null, 'layouts/layout-full-width.tpl', 0, 31536000, array(), 2, false, null, null)
in smarty_internal_runtime_inheritance.php line 127
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-both-columns.tpl')
in 2a8933a243857cbac09bc9d8eb5f63d5a9507c15_2.file.layout-full-width.tpl.php line 42
at content_5bafa52d1704c9_27246314(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 206
at Smarty_Internal_Template->render()
in smarty_internal_template.php line 365
at Smarty_Internal_Template->_subTemplateRender('layouts/layout-full-width.tpl', null, 'layouts/layout-full-width.tpl', 0, 31536000, array(), 2, false, null, null)
in smarty_internal_runtime_inheritance.php line 127
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-full-width.tpl')
in 2a4a82ec2970b0218ac9df878eeee9aa578f8116_2.file.page.tpl.php line 33
at content_5bafa52d15b5e0_15500966(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 206
at Smarty_Internal_Template->render()
in smarty_internal_template.php line 365
at Smarty_Internal_Template->_subTemplateRender('page.tpl', null, 'layouts/layout-full-width.tpl', 0, 31536000, array(), 2, false, null, null)
in smarty_internal_runtime_inheritance.php line 127
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'page.tpl')
in 33ed33775460c21d9457bad352ee354928533a86_2.file.index.tpl.php line 33
at content_5bafa52d147401_60534979(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 206
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('index.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false)
in SmartyDev.php line 41
at SmartyDev->fetch('index.tpl', null, 'layouts/layout-full-width.tpl')
in FrontController.php line 679
at FrontControllerCore->smartyOutputContent('index.tpl')
in FrontController.php line 663
at FrontControllerCore->display()
in Controller.php line 275
at ControllerCore->run()
in Dispatcher.php line 428
at DispatcherCore->dispatch()
in index.php line 28

 

 

Just disable the block search module from the backend. blocksearch module is for PS1.6. THere is no such module in the P1.7.

 

 

Link to comment
Share on other sites

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...