vivacomputers Posted July 15, 2019 Share Posted July 15, 2019 (edited) 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 July 16, 2019 by vivacomputers (see edit history) Link to comment Share on other sites More sharing options...
maconl Posted July 15, 2019 Share Posted July 15, 2019 Hoi A: is je template geschikt voor deze versie ? B: heb je na de upgrade ook je cache (prestashop) leeg gemaakt ? vaak als BO beschikbaar is en FO niet zit het in het cache en of template Link to comment Share on other sites More sharing options...
vivacomputers Posted July 16, 2019 Author Share Posted July 16, 2019 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 More sharing options...
vivacomputers Posted July 16, 2019 Author Share Posted July 16, 2019 Probleem is opgelost. De template kreeg een update en toen was alles weer zichtbaar. Bedankt! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now