Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
When I Try to view the report page /admin/reports/google-analytics I get the following error
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
Error Message on every page that the blocks draw on
Notice: Trying to get property of non-object in GAFeed->sanitizeReport() (line 365 of /sites/all/modules/google_analytics_reports/GAFeed.lib.inc).
Notice: Trying to get property of non-object in GAFeed->sanitizeReport() (line 374 of /sites/all/modules/google_analytics_reports/GAFeed.lib.inc).
Notice: Trying to get property of non-object in GAFeed->sanitizeReport() (line 375 of /sites/all/modules/google_analytics_reports/GAFeed.lib.inc).
Notice: Trying to get property of non-object in GAFeed->sanitizeReport() (line 376 of /sites/all/modules/google_analytics_reports/GAFeed.lib.inc).
The Page Traffic Blocks Seem to load fine
Comments
Comment #1
grendzy CreditAttribution: grendzy commentedPlease upgrade to 1.0 and let us know if the issue persists.
Comment #2
chubbell CreditAttribution: chubbell commentedThese are my current versions. they seem to be the most recent
Google Analytics 7.x-1.2
Google Analytics API 7.x-1.0
Google Analytics Reports 7.x-1.0
Google Analytics for Ubercart 7.x-3.0
Comment #3
grendzy CreditAttribution: grendzy commentedOK, your initial report was labeled beta1. Are there any additional error messages in your watchdog (admin/reports/dblog)?
Comment #4
chubbell CreditAttribution: chubbell commentedmy log is full of
Notice: Trying to get property of non-object in GAFeed->sanitizeReport() .... GAFeed.lib.inc).
like listed above
Comment #5
monstrfolk CreditAttribution: monstrfolk commentedsame error also. latest dev version as of date
Comment #6
Rhodungeon CreditAttribution: Rhodungeon commentedSame problem for me but only line 385
Comment #7
kingfisher64 CreditAttribution: kingfisher64 commentedI'm getting a lot a those on the google analytics summary page.
What information can I provide to help track this down?
using drupal 7.23, latest versions of GA and GA reports, dated 30th September 2013.
Interestingly I've just added this project to google analytics and installed the mod. Could it be that these notices pop up when there is no data yet?
Comment #8
Plazik CreditAttribution: Plazik commentedYou are right.
The problem has been fixed in 7.x-3.x-dev #2023745: Notice: Undefined property: stdClass::$rows in GAFeed ---AND--- Warning: Invalid argument supplied for foreach() in GAFeed.
I'll fix it in 7.x-1.x-dev too.
Comment #9
Plazik CreditAttribution: Plazik as a volunteer commented7.x-1.x version is unsupported. Try the latest 7.x-3.x-beta2 verion.