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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More