Fatal error: Uncaught Error: Cannot use object of type Product as array in /var/www/html/var/cache/dev/smarty/compile/PRS02043/79/01/5f/79015fd317f9f941fdae701af024ea2dc666707a_2.file.mypresta_myprestacomments.tpl.php:212
Stack trace:
#0 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_67eeb5e3d717c5_97912337(Object(SmartyDevTemplate))
#1 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#2 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#3 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render(false, 0)
#4 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(SmartyDevTemplate), NULL, NULL, NULL, 0)
#5 /var/www/html/classes/Smarty/SmartyDevTemplate.php(55): Smarty_Internal_TemplateBase->fetch(NULL, NULL, NULL, NULL)
#6 /var/www/html/classes/module/Module.php(2229): SmartyDevTemplateCore->fetch()
#7 /var/www/html/modules/myprestacomments/myprestacomments.php(1179): ModuleCore->display('/var/www/html/m...', '/mypresta_mypre...')
#8 /var/www/html/modules/myprestacomments/myprestacomments.php(1187): myprestacomments->renderCommentsForm(Array)
#9 /var/www/html/classes/Hook.php(993): myprestacomments->hookProductFooter(Array)
#10 /var/www/html/classes/Hook.php(418): HookCore::coreCallHook(Object(myprestacomments), 'hookProductFoot...', Array)
#11 /var/www/html/classes/Hook.php(928): HookCore::callHookOn(Object(myprestacomments), 'productFooter', Array)
#12 /var/www/html/config/smarty.config.inc.php(205): HookCore::exec('displayFooterPr...', Array, NULL)
#13 /var/www/html/classes/Smarty/SmartyLazyRegister.php(81): smartyHook(Array, Object(SmartyDevTemplate))
#14 /var/www/html/var/cache/dev/smarty/compile/PRS02043layouts_layout_full_width_tpl/94/c7/a3/94c7a311c1a11d86bc75bcd4f371c2a91ac471c7_2.file.product.tpl.php(714): SmartyLazyRegister->__call('smartyHook', Array)
#15 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_177359261867eeb5e388cf35_73174096->callBlock(Object(SmartyDevTemplate))
#16 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock(Object(Block_177359261867eeb5e388cf35_73174096), Object(SmartyDevTemplate))
#17 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process(Object(SmartyDevTemplate), Object(Block_177359261867eeb5e388cf35_73174096))
#18 /var/www/html/var/cache/dev/smarty/compile/PRS02043layouts_layout_full_width_tpl/94/c7/a3/94c7a311c1a11d86bc75bcd4f371c2a91ac471c7_2.file.product.tpl.php(1002): Smarty_Internal_Runtime_Inheritance->instanceBlock(Object(SmartyDevTemplate), 'Block_177359261...', 'product_footer', 0)
#19 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_35739558367eeb5e3829ad2_38471834->callBlock(Object(SmartyDevTemplate))
#20 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock(Object(Block_35739558367eeb5e3829ad2_38471834), Object(SmartyDevTemplate))
#21 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(186): Smarty_Internal_Runtime_Inheritance->process(Object(SmartyDevTemplate), Object(Block_35739558367eeb5e3829ad2_38471834), Object(Block_23925094467eeb5e38a5c88_62577172))
#22 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process(Object(SmartyDevTemplate), Object(Block_23925094467eeb5e38a5c88_62577172))
#23 /var/www/html/var/cache/dev/smarty/compile/PRS02043layouts_layout_full_width_tpl/e3/8f/3a/e38f3a9247b85f12693919503cd47402b10d29ae_2.file.layout-full-width.tpl.php(102): Smarty_Internal_Runtime_Inheritance->instanceBlock(Object(SmartyDevTemplate), 'Block_239250944...', 'content', 1)
#24 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_57519621667eeb5e38a4c38_16134927->callBlock(Object(SmartyDevTemplate))
#25 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock(Object(Block_57519621667eeb5e38a4c38_16134927), Object(SmartyDevTemplate))
#26 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(186): Smarty_Internal_Runtime_Inheritance->process(Object(SmartyDevTemplate), Object(Block_57519621667eeb5e38a4c38_16134927), Object(Block_77341652767eeb5e38bc7c0_03752895))
#27 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process(Object(SmartyDevTemplate), Object(Block_77341652767eeb5e38bc7c0_03752895))
#28 /var/www/html/var/cache/dev/smarty/compile/PRS02043layouts_layout_full_width_tpl/7e/26/90/7e2690cfb1bc796a2ce08e1c96a7a8143ab15ac6_2.file.layout-both-columns.tpl.php(98): Smarty_Internal_Runtime_Inheritance->instanceBlock(Object(SmartyDevTemplate), 'Block_773416527...', 'content_wrapper')
#29 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_67eeb5e38c6cd1_62109115(Object(SmartyDevTemplate))
#30 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#31 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#32 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#33 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender('layouts/layout-...', NULL, 'PRS02043layouts...', 0, 3600, Array, 2, false, NULL, NULL)
#34 /var/www/html/var/cache/dev/smarty/compile/PRS02043layouts_layout_full_width_tpl/e3/8f/3a/e38f3a9247b85f12693919503cd47402b10d29ae_2.file.layout-full-width.tpl.php(42): Smarty_Internal_Runtime_Inheritance->endChild(Object(SmartyDevTemplate), 'layouts/layout-...')
#35 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_67eeb5e38a7355_47833044(Object(SmartyDevTemplate))
#36 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#37 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#38 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#39 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender('layouts/layout-...', NULL, 'PRS02043layouts...', 0, 3600, Array, 2, false, NULL, NULL)
#40 /var/www/html/var/cache/dev/smarty/compile/PRS02043layouts_layout_full_width_tpl/94/c7/a3/94c7a311c1a11d86bc75bcd4f371c2a91ac471c7_2.file.product.tpl.php(56): Smarty_Internal_Runtime_Inheritance->endChild(Object(SmartyDevTemplate), 'layouts/layout-...')
#41 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_67eeb5e3891ed6_30440267(Object(SmartyDevTemplate))
#42 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#43 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#44 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render(false, 0)
#45 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(SmartyDevTemplate), NULL, 'PRS02043layouts...', NULL, 0)
#46 /var/www/html/classes/Smarty/SmartyDev.php(40): Smarty_Internal_TemplateBase->fetch('catalog/product...', NULL, 'PRS02043layouts...', NULL)
#47 /var/www/html/classes/controller/FrontController.php(715): SmartyDev->fetch('catalog/product...', NULL, 'PRS02043layouts...')
#48 /var/www/html/classes/controller/FrontController.php(697): FrontControllerCore->smartyOutputContent('catalog/product...')
#49 /var/www/html/classes/controller/Controller.php(339): FrontControllerCore->display()
#50 /var/www/html/classes/Dispatcher.php(510): ControllerCore->run()
#51 /var/www/html/index.php(28): DispatcherCore->dispatch()
#52 {main}
thrown in /var/www/html/var/cache/dev/smarty/compile/PRS02043/79/01/5f/79015fd317f9f941fdae701af024ea2dc666707a_2.file.mypresta_myprestacomments.tpl.php on line 212