Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /app/agc_store/public_html/modules/ps_googleanalytics/classes/Wrapper/ProductWrapper.php:144
Stack trace:
#0 /app/agc_store/public_html/modules/ps_googleanalytics/classes/Hook/HookDisplayFooterProduct.php(62): PrestaShop\Module\Ps_Googleanalytics\Wrapper\ProductWrapper->prepareItemFromProduct()
#1 /app/agc_store/public_html/modules/ps_googleanalytics/ps_googleanalytics.php(120): PrestaShop\Module\Ps_Googleanalytics\Hooks\HookDisplayFooterProduct->run()
#2 /app/agc_store/public_html/classes/Hook.php(1043): Ps_Googleanalytics->hookDisplayFooterProduct()
#3 /app/agc_store/public_html/classes/Hook.php(418): HookCore::coreCallHook()
#4 /app/agc_store/public_html/classes/Hook.php(981): HookCore::callHookOn()
#5 /app/agc_store/public_html/config/smarty.config.inc.php(198): HookCore::exec()
#6 /app/agc_store/public_html/classes/Smarty/SmartyLazyRegister.php(81): smartyHook()
#7 /app/agc_store/public_html/var/cache/dev/smarty/compile/agclayouts_layout_full_width_tpl/a0/1e/8d/a01e8de1b0d20d92a35df9044b9bd88322ba9357_2.file.product.tpl.php(667): SmartyLazyRegister->__call()
#8 /app/agc_store/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_11941622466719f6feda3b8_05482029->callBlock()
#9 /app/agc_store/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock()
#10 /app/agc_store/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process()
#11 /app/agc_store/public_html/var/cache/dev/smarty/compile/agclayouts_layout_full_width_tpl/a0/1e/8d/a01e8de1b0d20d92a35df9044b9bd88322ba9357_2.file.product.tpl.php(927): Smarty_Internal_Runtime_Inheritance->instanceBlock()
#12 /app/agc_store/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_111283528366719f6fea99f6_61603864->callBlock()
#13 /app/agc_store/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock()
#14 /app/agc_store/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(186): Smarty_Internal_Runtime_Inheritance->process()
#15 /app/agc_store/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process()
#16 /app/agc_store/public_html/var/cache/dev/smarty/compile/agclayouts_layout_full_width_tpl/81/57/20/8157204d686eb79c1f7b834d7ed0b4857bdb05a4_2.file.layout-full-width.tpl.php(101): Smarty_Internal_Runtime_Inheritance->instanceBlock()
#17 /app/agc_store/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_36109092366719f64423f21_42839929->callBlock()
#18 /app/agc_store/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock()
#19 /app/agc_store/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(186): Smarty_Internal_Runtime_Inheritance->process()
#20 /app/agc_store/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process()
#21 /app/agc_store/public_html/var/cache/dev/smarty/compile/agclayouts_layout_full_width_tpl/43/2c/d2/432cd2ad1bba533d51eaf7fffd2712d4beeff953_2.file.layout-both-columns.tpl.php(95): Smarty_Internal_Runtime_Inheritance->instanceBlock()
#22 /app/agc_store/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_66719f6443c363_47398537()
#23 /app/agc_store/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#24 /app/agc_store/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#25 /app/agc_store/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#26 /app/agc_store/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender()
#27 /app/agc_store/public_html/var/cache/dev/smarty/compile/agclayouts_layout_full_width_tpl/81/57/20/8157204d686eb79c1f7b834d7ed0b4857bdb05a4_2.file.layout-full-width.tpl.php(42): Smarty_Internal_Runtime_Inheritance->endChild()
#28 /app/agc_store/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_66719f644290f8_32122878()
#29 /app/agc_store/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#30 /app/agc_store/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#31 /app/agc_store/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#32 /app/agc_store/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender()
#33 /app/agc_store/public_html/var/cache/dev/smarty/compile/agclayouts_layout_full_width_tpl/a0/1e/8d/a01e8de1b0d20d92a35df9044b9bd88322ba9357_2.file.product.tpl.php(53): Smarty_Internal_Runtime_Inheritance->endChild()
#34 /app/agc_store/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_66719f6fedcbd7_30134571()
#35 /app/agc_store/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#36 /app/agc_store/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#37 /app/agc_store/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render()
#38 /app/agc_store/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute()
#39 /app/agc_store/public_html/classes/Smarty/SmartyCustom.php(112): Smarty_Internal_TemplateBase->fetch()
#40 /app/agc_store/public_html/classes/controller/FrontController.php(760): SmartyCustomCore->fetch()
#41 /app/agc_store/public_html/classes/controller/FrontController.php(742): FrontControllerCore->smartyOutputContent()
#42 /app/agc_store/public_html/classes/controller/Controller.php(339): FrontControllerCore->display()
#43 /app/agc_store/public_html/classes/Dispatcher.php(510): ControllerCore->run()
#44 /app/agc_store/public_html/index.php(28): DispatcherCore->dispatch()
#45 {main}
thrown in /app/agc_store/public_html/modules/ps_googleanalytics/classes/Wrapper/ProductWrapper.php on line 144