Warning: Attempt to read property "id" on array in /home/simplyc/www2/classes/Product.php on line 3081
Fatal error: Uncaught SmartyCompilerException: Syntax error in template "module:module:posbestsellersviewstemplateshookposbestsellers.tpl" on line 38 "{if $rows == 0 || $smarty.foreach.myLoop.iteration % $rows == 0 || $smarty.foreach.myLoop.last }" - Unexpected "�" in module:posbestsellersviewstemplateshookposbestsellers.tpl:38
Stack trace:
#0 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templateparser.php(2819): Smarty_Internal_TemplateCompilerBase->trigger_template_error()
#1 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templateparser.php(2880): Smarty_Internal_Templateparser->yy_syntax_error()
#2 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_smartytemplatecompiler.php(128): Smarty_Internal_Templateparser->doParse()
#3 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php(466): Smarty_Internal_SmartyTemplateCompiler->doCompile()
#4 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php(394): Smarty_Internal_TemplateCompilerBase->compileTemplateSource()
#5 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(184): Smarty_Internal_TemplateCompilerBase->compileTemplate()
#6 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(141): Smarty_Template_Compiled->compileTemplateSource()
#7 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(105): Smarty_Template_Compiled->process()
#8 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#9 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render()
#10 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute()
#11 /home/simplyc/www2/classes/Smarty/SmartyDevTemplate.php(55): Smarty_Internal_TemplateBase->fetch()
#12 /home/simplyc/www2/classes/module/Module.php(2268): SmartyDevTemplateCore->fetch()
#13 /home/simplyc/www2/modules/posbestsellers/posbestsellers.php(677): ModuleCore->fetch()
#14 /home/simplyc/www2/classes/Hook.php(1041): Posbestsellers->renderWidget()
#15 /home/simplyc/www2/classes/Hook.php(976): HookCore::coreRenderWidget()
#16 /home/simplyc/www2/config/smarty.config.inc.php(187): HookCore::exec()
#17 /home/simplyc/www2/classes/Smarty/SmartyLazyRegister.php(77): smartyHook()
#18 /home/simplyc/www2/var/cache/dev/smarty/compile/theme_zonan2layouts_layout_full_width_tpl/3f/1b/d6/3f1bd69d443e28678a50d8e187f1edbcada4920e_2.file.layout-both-columns.tpl.php(119): SmartyLazyRegister->__call()
#19 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_69e7a017447084_44949786()
#20 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#21 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#22 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#23 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(115): Smarty_Internal_Template->_subTemplateRender()
#24 /home/simplyc/www2/var/cache/dev/smarty/compile/theme_zonan2layouts_layout_full_width_tpl/d8/d1/25/d8d125ec0d96810cd116e21f11b214438d20ef44_2.file.layout-full-width.tpl.php(42): Smarty_Internal_Runtime_Inheritance->endChild()
#25 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_69e7a0174162e5_74857576()
#26 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#27 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#28 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#29 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(115): Smarty_Internal_Template->_subTemplateRender()
#30 /home/simplyc/www2/var/cache/dev/smarty/compile/theme_zonan2layouts_layout_full_width_tpl/91/d8/4e/91d84e51334d181779732c5b64284dd3724dd624_2.file.page.tpl.php(33): Smarty_Internal_Runtime_Inheritance->endChild()
#31 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_69e7a0173ffe49_66348429()
#32 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#33 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#34 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#35 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(115): Smarty_Internal_Template->_subTemplateRender()
#36 /home/simplyc/www2/var/cache/dev/smarty/compile/theme_zonan2layouts_layout_full_width_tpl/53/b7/3c/53b73ce87da5dea31bab8b5d7099404508eb9968_2.file.index.tpl.php(33): Smarty_Internal_Runtime_Inheritance->endChild()
#37 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_69e7a0173eb058_69246797()
#38 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#39 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#40 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render()
#41 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute()
#42 /home/simplyc/www2/classes/Smarty/SmartyDev.php(40): Smarty_Internal_TemplateBase->fetch()
#43 /home/simplyc/www2/classes/controller/FrontController.php(701): SmartyDev->fetch()
#44 /home/simplyc/www2/classes/controller/FrontController.php(683): FrontControllerCore->smartyOutputContent()
#45 /home/simplyc/www2/classes/controller/Controller.php(339): FrontControllerCore->display()
#46 /home/simplyc/www2/classes/Dispatcher.php(510): ControllerCore->run()
#47 /home/simplyc/www2/index.php(28): DispatcherCore->dispatch()
#48 {main}
Next PrestaShop\PrestaShop\Core\Exception\CoreException: Syntax error in template "module:module:posbestsellersviewstemplateshookposbestsellers.tpl" on line 38 "{if $rows == 0 || $smarty.foreach.myLoop.iteration % $rows == 0 || $smarty.foreach.myLoop.last }" - Unexpected "�" in /home/simplyc/www2/classes/Hook.php:1045
Stack trace:
#0 /home/simplyc/www2/classes/Hook.php(976): HookCore::coreRenderWidget()
#1 /home/simplyc/www2/config/smarty.config.inc.php(187): HookCore::exec()
#2 /home/simplyc/www2/classes/Smarty/SmartyLazyRegister.php(77): smartyHook()
#3 /home/simplyc/www2/var/cache/dev/smarty/compile/theme_zonan2layouts_layout_full_width_tpl/3f/1b/d6/3f1bd69d443e28678a50d8e187f1edbcada4920e_2.file.layout-both-columns.tpl.php(119): SmartyLazyRegister->__call()
#4 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_69e7a017447084_44949786()
#5 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#6 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#7 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#8 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(115): Smarty_Internal_Template->_subTemplateRender()
#9 /home/simplyc/www2/var/cache/dev/smarty/compile/theme_zonan2layouts_layout_full_width_tpl/d8/d1/25/d8d125ec0d96810cd116e21f11b214438d20ef44_2.file.layout-full-width.tpl.php(42): Smarty_Internal_Runtime_Inheritance->endChild()
#10 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_69e7a0174162e5_74857576()
#11 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#12 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#13 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#14 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(115): Smarty_Internal_Template->_subTemplateRender()
#15 /home/simplyc/www2/var/cache/dev/smarty/compile/theme_zonan2layouts_layout_full_width_tpl/91/d8/4e/91d84e51334d181779732c5b64284dd3724dd624_2.file.page.tpl.php(33): Smarty_Internal_Runtime_Inheritance->endChild()
#16 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_69e7a0173ffe49_66348429()
#17 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#18 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#19 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#20 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(115): Smarty_Internal_Template->_subTemplateRender()
#21 /home/simplyc/www2/var/cache/dev/smarty/compile/theme_zonan2layouts_layout_full_width_tpl/53/b7/3c/53b73ce87da5dea31bab8b5d7099404508eb9968_2.file.index.tpl.php(33): Smarty_Internal_Runtime_Inheritance->endChild()
#22 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_69e7a0173eb058_69246797()
#23 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#24 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#25 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render()
#26 /home/simplyc/www2/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute()
#27 /home/simplyc/www2/classes/Smarty/SmartyDev.php(40): Smarty_Internal_TemplateBase->fetch()
#28 /home/simplyc/www2/classes/controller/FrontController.php(701): SmartyDev->fetch()
#29 /home/simplyc/www2/classes/controller/FrontController.php(683): FrontControllerCore->smartyOutputContent()
#30 /home/simplyc/www2/classes/controller/Controller.php(339): FrontControllerCore->display()
#31 /home/simplyc/www2/classes/Dispatcher.php(510): ControllerCore->run()
#32 /home/simplyc/www2/index.php(28): DispatcherCore->dispatch()
#33 {main}
thrown in /home/simplyc/www2/classes/Hook.php on line 1045