• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 21.09.20, 10:17
  • Opened by: Inovflow
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #19213 - Google analytics module issues

Hi,

I’m trying to install the google analytics module, but always when I click to go to cart an error appears (please check out the attached image). Do you recommend any module? Is it possible to help me?

Best.

Attachments:

Screenshot 2020-09-21 at 09.0... (185.4 KiB)

Comments

Fred 21 Sep 2020, 10:21

Hi.
As I can see the error caused by the module Google Analytics. Please make sure it’s configured properly.

Inovflow 21 Sep 2020, 17:52

Hi,

I get this error on the confirmation order page after payment.

(1/1) ContextErrorException
Notice: Undefined index: dataLimite

in 95c20541b19b41fab07cfa1e011f4ba43add5dc0_2.module.eupagomultibancoviewstemp.php line 61
at content_5f68d510e9f0c6_21473162(object(SmartyDevTemplate))
in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base→getRenderedTemplateCode(object(SmartyDevTemplate))
in smarty_template_compiled.php line 114
at Smarty_Template_Compiled→render(object(SmartyDevTemplate))
in smarty_internal_template.php line 216
at Smarty_Internal_Template→render(false, 0)
in smarty_internal_templatebase.php line 232
at Smarty_Internal_TemplateBase→_execute(object(SmartyDevTemplate), null, null, null, 0)
in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase→fetch(null, null, null, null, false, true, false)
in SmartyDevTemplate.php line 40
at SmartyDevTemplateCore→fetch()
in Module.php line 2447
at ModuleCore→fetch(’module:eupago_multibanco/views/templates/hook/confirmation_17.tpl’)
in eupago_multibanco.php line 397
at Eupago_multibanco→hookPaymentReturn(array(’order’ ⇒ object(Order), ‘cookie’ ⇒ object(Cookie), ‘cart’ ⇒ object(Cart), ‘altern’ ⇒ 1))
in Hook.php line 970
at HookCore::coreCallHook(object(Eupago_multibanco), ‘hookpaymentReturn’, array(’order’ ⇒ object(Order), ‘cookie’ ⇒ object(Cookie), ‘cart’ ⇒ object(Cart), ‘altern’ ⇒ 1))
in Hook.php line 359
at HookCore::callHookOn(object(Eupago_multibanco), ‘displayPaymentReturn’, array(’order’ ⇒ object(Order), ‘cookie’ ⇒ object(Cookie), ‘cart’ ⇒ object(Cart), ‘altern’ ⇒ 1))
in Hook.php line 907
at HookCore::exec(’displayPaymentReturn’, array(’order’ ⇒ object(Order), ‘cookie’ ⇒ object(Cookie), ‘cart’ ⇒ object(Cart), ‘altern’ ⇒ 1), 104)
in OrderConfirmationController.php line 118
at OrderConfirmationControllerCore→displayPaymentReturn(object(Order))
in OrderConfirmationController.php line 97
at OrderConfirmationControllerCore→initContent()
in Controller.php line 292
at ControllerCore→run()
in Dispatcher.php line 515
at DispatcherCore→dispatch()
in index.php line 28

Attachments:

Screenshot 2020-09-21 at 16.4... (165.1 KiB)
Fred 21 Sep 2020, 22:19

as I can see the error caused by eupagomultibancoviewstemp module

Inovflow 21 Sep 2020, 22:52

I get this error on google analytics module:

(1/1) ContextErrorException
Notice: Array to string conversion

in HookDisplayFooter.php line 74
at HookDisplayFooter→run()
in ps_googleanalytics.php line 111
at Ps_Googleanalytics→hookDisplayFooter(array())
in pspagebuilder.php line 234
at PsPageBuilder→hookDisplayFooterBuilder(array(’smarty’ ⇒ object(SmartyDevTemplate), ‘cookie’ ⇒ object(Cookie), ‘cart’ ⇒ object(Cart), ‘altern’ ⇒ 1))
in Hook.php line 970
at HookCore::coreCallHook(object(PsPageBuilder), ‘hookdisplayFooterBuilder’, array(’smarty’ ⇒ object(SmartyDevTemplate), ‘cookie’ ⇒ object(Cookie), ‘cart’ ⇒ object(Cart), ‘altern’ ⇒ 1))
in Hook.php line 355
at HookCore::callHookOn(object(PsPageBuilder), ‘displayFooterBuilder’, array(’smarty’ ⇒ object(SmartyDevTemplate), ‘cookie’ ⇒ object(Cookie), ‘cart’ ⇒ object(Cart), ‘altern’ ⇒ 1))
in Hook.php line 907
at HookCore::exec(’displayFooterBuilder’, array(’smarty’ ⇒ object(SmartyDevTemplate), ‘cookie’ ⇒ object(Cookie), ‘cart’ ⇒ object(Cart), ‘altern’ ⇒ 1), null)
in smarty.config.inc.php line 167
at smartyHook(array(’h’ ⇒ ‘displayFooterBuilder’), object(SmartyDevTemplate))
in SmartyLazyRegister.php line 83
at SmartyLazyRegister→__call(’smartyHook’, array(array(’h’ ⇒ ‘displayFooterBuilder’), object(SmartyDevTemplate)))
in 09c0b3be7d0cbfd64a93f32bd8ddaa7c09e752eb_2.file.footer.tpl.php line 100
at Block_10556737615f69126486fc55_33827370→callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance→callBlock(object(Block_10556737615f69126486fc55_33827370), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance→process(object(SmartyDevTemplate), object(Block_10556737615f69126486fc55_33827370))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance→instanceBlock(object(SmartyDevTemplate), ‘Block_10556737615f69126486fc55_33827370’, ‘hook_footer’)
in 09c0b3be7d0cbfd64a93f32bd8ddaa7c09e752eb_2.file.footer.tpl.php line 42
at content_5f691264874218_30704568(object(SmartyDevTemplate))
in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base→getRenderedTemplateCode(object(SmartyDevTemplate))
in smarty_template_compiled.php line 114
at Smarty_Template_Compiled→render(object(SmartyDevTemplate))
in smarty_internal_template.php line 216
at Smarty_Internal_Template→render()
in smarty_internal_template.php line 385
at Smarty_Internal_Template→_subTemplateRender(’file:_partials/footer.tpl’, null, ‘layouts/layout-full-width.tpl’, 0, 3600, array(), 0, false)
in 8a9048fbcbbb7351111b80a9fe5be3b7e8024034_2.file.layout-both-columns.tpl.php line 392
at Block_4384584415f69126374c507_88315676→callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance→callBlock(object(Block_4384584415f69126374c507_88315676), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance→process(object(SmartyDevTemplate), object(Block_4384584415f69126374c507_88315676))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance→instanceBlock(object(SmartyDevTemplate), ‘Block_4384584415f69126374c507_88315676’, ‘footer’)
in 8a9048fbcbbb7351111b80a9fe5be3b7e8024034_2.file.layout-both-columns.tpl.php line 147
at content_5f69126374f6f8_88562579(object(SmartyDevTemplate))
in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base→getRenderedTemplateCode(object(SmartyDevTemplate))
in smarty_template_compiled.php line 114
at Smarty_Template_Compiled→render(object(SmartyDevTemplate))
in smarty_internal_template.php line 216
at Smarty_Internal_Template→render()
in smarty_internal_template.php line 385
at Smarty_Internal_Template→_subTemplateRender(’layouts/layout-both-columns.tpl’, null, ‘layouts/layout-full-width.tpl’, 0, 3600, array(), 2, false, null, null)
in smarty_internal_runtime_inheritance.php line 125
at Smarty_Internal_Runtime_Inheritance→endChild(object(SmartyDevTemplate), ‘layouts/layout-both-columns.tpl’)
in 5783999a906595f8926051fc2bbfb3e31197c906_2.file.layout-full-width.tpl.php line 42
at content_5f6912637196d4_44178396(object(SmartyDevTemplate))
in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base→getRenderedTemplateCode(object(SmartyDevTemplate))
in smarty_template_compiled.php line 114
at Smarty_Template_Compiled→render(object(SmartyDevTemplate))
in smarty_internal_template.php line 216
at Smarty_Internal_Template→render()
in smarty_internal_template.php line 385
at Smarty_Internal_Template→_subTemplateRender(’layouts/layout-full-width.tpl’, null, ‘layouts/layout-full-width.tpl’, 0, 3600, array(), 2, false, null, null)
in smarty_internal_runtime_inheritance.php line 125
at Smarty_Internal_Runtime_Inheritance→endChild(object(SmartyDevTemplate), ‘layouts/layout-full-width.tpl’)
in 81fa72401eb37d059dc3612c0f3d3bfeb6433e3f_2.file.page.tpl.php line 33
at content_5f6912636fca80_83337972(object(SmartyDevTemplate))
in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base→getRenderedTemplateCode(object(SmartyDevTemplate))
in smarty_template_compiled.php line 114
at Smarty_Template_Compiled→render(object(SmartyDevTemplate))
in smarty_internal_template.php line 216
at Smarty_Internal_Template→render()
in smarty_internal_template.php line 385
at Smarty_Internal_Template→_subTemplateRender(’page.tpl’, null, ‘layouts/layout-full-width.tpl’, 0, 3600, array(), 2, false, null, null)
in smarty_internal_runtime_inheritance.php line 125
at Smarty_Internal_Runtime_Inheritance→endChild(object(SmartyDevTemplate), ‘page.tpl’)
in 961451fd562a2de1dfe1291015c452ecc58fcf81_2.file.index.tpl.php line 32
at content_5f6912636d72d3_22447315(object(SmartyDevTemplate))
in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base→getRenderedTemplateCode(object(SmartyDevTemplate))
in smarty_template_compiled.php line 114
at Smarty_Template_Compiled→render(object(SmartyDevTemplate))
in smarty_internal_template.php line 216
at Smarty_Internal_Template→render(false, 0)
in smarty_internal_templatebase.php line 232
at Smarty_Internal_TemplateBase→_execute(object(SmartyDevTemplate), null, ‘layouts/layout-full-width.tpl’, null, 0)
in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase→fetch(’index.tpl’, null, ‘layouts/layout-full-width.tpl’, null, false, true, false)
in SmartyDev.php line 40
at SmartyDev→fetch(’index.tpl’, null, ‘layouts/layout-full-width.tpl’)
in FrontController.php line 683
at FrontControllerCore→smartyOutputContent(’index.tpl’)
in FrontController.php line 40
at FrontController→smartyOutputContent(’index.tpl’)
in FrontController.php line 667
at FrontControllerCore→display()
in Controller.php line 312
at ControllerCore→run()
in Dispatcher.php line 515
at DispatcherCore→dispatch()
in index.php line 28

Fred 21 Sep 2020, 22:54

Please read carefully error messages. Now I see the error caused by “ps_googleanalytics” module

Inovflow 21 Sep 2020, 22:56

Yes I know but I don’t know why, do you recommend any special google analytics module?

Fred 21 Sep 2020, 22:57

that one should work fine, I have no idea why it causes the error. Try to search the error message in internet