Sometimes we get the following fatal error on the frontend of an WordPress site:
Fatal error: Call to a member function set_defaults() on a non-object in /www/********/httpdocs/wp-content/plugins/google-analytics-for-wordpress/googleanalytics.php on line 1452
The $ga_admin is NULL, probably because the $ga_admin is only created within the WordPress admin interface. The set_defaults() function call (lin 1452) on the $ga_admin object is also called outside the admin interface.
I'm not sure how and when this problem occurs, but could it be fixed?