Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Right after grating access to the application from my Google login I get this fatal error.
[Tue Apr 03 19:56:57 2012] [error] [client 95.166.187.222] PHP Fatal error: Call to a member function attributes() on a non-object in /sites/site.dk/public_html/sites/all/modules/google_analytics_reports/GAFeed.lib.inc on line 261, referer: /admin/config/system
I am on:
PHP 5.3.6-13ubuntu3.6 with Suhosin-Patch (cli) (built: Feb 11 2012 02:17:16)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH
Comments
Comment #1
tjk925 CreditAttribution: tjk925 commentedI got this same error until I granted it access (again) through my Google account. I did it once before but had to do it again. Might be worth a try anyway. With 7.x-1.2, I find I have to do it again every time I clear the cache.
More info:
Go to admin/config/system/google-analytics-reports and click 'Start setup and authorize account'
Comment #2
Plazik CreditAttribution: Plazik as a volunteer commented7.x-1.x is unsupported. Please upgrade to 7.x-3.x.