Reviewed & tested by the community
Project:
Google Analytics Counter
Version:
4.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
2 Mar 2025 at 04:16 UTC
Updated:
10 Apr 2025 at 13:33 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
steffenrI had a look into the code. It looks like the cache handling in method
gacGetFeed.This method should return RunReportResponse, but returns an array in case the results are cached.
The change was introduced in https://git.drupalcode.org/project/google_analytics_counter/-/commit/fbb...
Comment #3
steffenrComment #5
steffenrComment #6
nicholassThank you! - Given that I introduced this error it seems only proper I test it. Yeah I didn't catch it since it involved having to wait long enough to have a cached response, but I was getting the same error today when developing locally, a work around was to clear cache before running cron.
But I tested the patch and it works.
Comment #7
nicholassComment #8
nicholassFor me it logged as having invalid or empty data. So I do wonder if the cache-data is working correctly... I may dig into this a bit deeper today.