Jump to content

[opgelost] 500 Error frontend niet backend


Recommended Posts

Na het upgraden van mijn shop naar 1.7.6.0 werkte mijn front end niet meer maar de back end doet het nog gewoon. De debug zegt dit:

(1/1) ContextErrorException

Warning: A non-numeric value encountered

in a126bfd8962b4a5d472b3a6ba69d7ab25e17e640_2.file.product.tpl.cache.php line 178

at Block_21238532885d2c9f0e30a938_93997220->callBlock(object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_21238532885d2c9f0e30a938_93997220), object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyCustomTemplate), object(Block_21238532885d2c9f0e30a938_93997220))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyCustomTemplate), 'Block_21238532885d2c9f0e30a938_93997220', 'product_buy', 0)in a126bfd8962b4a5d472b3a6ba69d7ab25e17e640_2.file.product.tpl.cache.php line 274

at Block_6457610935d2c9f0e2fdfa8_10358473->callBlock(object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 248

at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_6457610935d2c9f0e2fdfa8_10358473), object(SmartyCustomTemplate))in smarty_internal_runtime_inheritance.php line 184

at Smarty_Internal_Runtime_Inheritance->process(object(SmartyCustomTemplate), object(Block_6457610935d2c9f0e2fdfa8_10358473))in smarty_internal_runtime_inheritance.php line 156

at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyCustomTemplate), 'Block_6457610935d2c9f0e2fdfa8_10358473', 'product_miniature_item')in a126bfd8962b4a5d472b3a6ba69d7ab25e17e640_2.file.product.tpl.cache.php line 30

at content_5d2c9f0e30f421_20413989(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 383

at Smarty_Internal_Template->_subTemplateRender('file:catalog/_partials/miniatures/product.tpl', 'slider_featuredproducts|1|3|3|2|1|13', null, 9999, 31536000, array('product' => object(ProductListingLazyArray)), 0, true)in f1f27f97340d85c760f0d694f35a02b183f2c0fc_2.module.sliderfeaturedproductsvie.cache.php line 53

at content_5d2c9f0e2fa105_58670468(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_runtime_updatecache.php line 38

at Smarty_Internal_Runtime_UpdateCache->updateCache(object(Smarty_Template_Cached), object(SmartyCustomTemplate), false)in smarty_template_cached.php line 143

at Smarty_Template_Cached->render(object(SmartyCustomTemplate), 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(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 34

at SmartyCustomTemplateCore->fetch()in Module.php line 2447

at ModuleCore->fetch('module:slider_featuredproducts/views/templates/hook/slider_featuredproducts.tpl', 'slider_featuredproducts|1|3|3|2|1|13')in slider_featuredproducts.php line 266

at Slider_FeaturedProducts->renderWidget('displayHome', array('cookie' => object(Cookie), 'cart' => object(Cart)))in Hook.php line 975

at HookCore::coreRenderWidget(object(Slider_FeaturedProducts), '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

Ik heb verschillende modules uitgezet maar dat heeft nog geen resultaat. Kan iemand met hiermee helpen want ik loop wel vaker tegen dit soort dingen aan?

 

Bij voorbaat dank!

Edited by vivacomputers (see edit history)
Link to comment
Share on other sites

Hoi,

Bedankt voor de tips. Het gekke is dat alleen de eerste pagina niet werkt en de rest van de site functioneert goed. Ik heb ontdekt dat de template een update heeft maar heb een beetje moeite met installeren en heb hiervoor de ontwikkelaar gevraagd. Ik zal me melden als dat resultaat heeft gebracht!

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