Jump to content

Recommended Posts

Hallo,

sobald ich den Debug Mode aktiviere bekomme ich beim Aufrufen des Shops folgenden Fehler

(1/1) ContextErrorException
Warning: A non-numeric value encountered
in 4200e302b750dd6b114c21d6889c4101494a0a49_2.file.product.tpl.cache.php line 194
at Block_18341893305d5ee4904df242_03553350->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_18341893305d5ee4904df242_03553350), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_18341893305d5ee4904df242_03553350))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_18341893305d5ee4904df242_03553350', 'product_buy', 0)
in 4200e302b750dd6b114c21d6889c4101494a0a49_2.file.product.tpl.cache.php line 290
at Block_6860372725d5ee4904c14e0_95617939->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_6860372725d5ee4904c14e0_95617939), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_6860372725d5ee4904c14e0_95617939))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_6860372725d5ee4904c14e0_95617939', 'product_miniature_item')
in 4200e302b750dd6b114c21d6889c4101494a0a49_2.file.product.tpl.cache.php line 30
at content_5d5ee4904f1331_71485958(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 383
at Smarty_Internal_Template->_subTemplateRender('file:catalog/_partials/miniatures/product.tpl', 'ps_newproducts|1|1|1|1|1|1', null, 9999, 31536000, array('product' => object(ProductListingLazyArray)), 0, true)
in 4a8df44403a47041b050fac755e17268c2a7c3e7_2.module.psnewproductsviewstemplat.cache.php line 49
at content_5d5ee4904bb253_94681158(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 38
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 211
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 40
at SmartyDevTemplateCore->fetch()
in Module.php line 2447
at ModuleCore->fetch('module:ps_newproducts/views/templates/hook/ps_newproducts.tpl', 'ps_newproducts|1|1|1|1|1|1')
in ps_newproducts.php line 206
at Ps_NewProducts->renderWidget('displayHome', array('cookie' => object(Cookie), 'cart' => object(Cart)))
in Hook.php line 975
at HookCore::coreRenderWidget(object(Ps_NewProducts), 'displayHome', array('cookie' => object(Cookie), 'cart' => object(Cart)))
in Hook.php line 927
at HookCore::exec('displayHome')
in IndexController.php line 39
at IndexControllerCore->initContent()
in Controller.php line 291
at ControllerCore->run()
in Dispatcher.php line 515
at DispatcherCore->dispatch()
in index.php line 28

Rufe ich den Shop ohne Debug Mode auf läuft das Frontend ohne Probleme. Komme aber so nicht in die Module. Es Handel sich um Version 1.7.6 als PHP Version nutze ich 7.2.21

 

Danke

Link to comment
Share on other sites

Das ist bloß eine Warnung und hat nichts damit zu tun, dass du nicht in die Modul-Sektion kommst. Da reicht es meist, das überflüssige, aber ressourcenfressende Modul Handelserfolg zu löschen. Deaktivieren reicht nicht!

Ansonsten warte einfach ab, bis 1.7 irgendwann mal richtig funktioniert...

  • Like 1
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...