Closed (fixed)
Project:
Google Analytics
Version:
4.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
29 Jul 2022 at 13:51 UTC
Updated:
23 Sep 2022 at 06:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
beunerd commentedHere's a patch.
Comment #3
michelleFound the same issue in another area so added on to this patch.
Comment #6
grevil commentedI created an MR with the patch from #3 by @Michelle and changed the NULL checks for !empty checks in cases, where $cookie_domain is an empty string.
Comment #7
anybodyMR!15 looks good to me! RTBC!
Comment #8
michelleThanks, @Grevil. I'm an old timer that hasn't gotten used to these new fangled MRs. LOL! And checking for empty instead of null is what I normally do in my own code so I'm in favor of that.
Comment #9
grevil commentedThanks, @Michelle! Let's get this committed, then. :)
Comment #10
joegl commentedWith PHP 8.1 being widely adopted are there any plans to make this module PHP 8.1 compatible and/or provide a new release? This is the second issue I've seen with a patch to fix this: https://www.drupal.org/node/3258588
The patch provided 3 months ago by Jeya sundhar addresses a number of issues with PHP 8.1 compatibility: https://www.drupal.org/project/google_analytics/issues/3258588#comment-1...
Comment #11
joegl commentedComment #12
joegl commentedComment #13
japerryFor 4.x this will be handled in #3287765: Automated Drupal 10 compatibility fixes .. however, this issue can stay around for 2.x and 3.x which will not have 10 releases.
Comment #15
japerry