I am getting this error repeatedly on different sites that I am running the Google Analytics Plugin on.
What happens is:
I login as Admin and get the message at the top that I need to link the Google Analytics Plugin to a Google Analytics account although I have done this multiple times.
I click to do this and then this message comes up:
Fatal error: Call to a member function set_defaults() on a non-object in /home/buyrarei/public_html/swissmetalassets.com/wp-content/plugins/google-analytics-for-wordpress/googleanalytics.php on line 1517
Entire site including admin then goes offline for 5 - 10 minutes and displays the same message no matter what page you try to access.
Something seems to reset itself after 5 - 10 minutes and then I can login again as Admin and link the Plugin to my Google Analytics account and it seems to work again for a while.
On some of my sites this only happens occasionally and on others it has happened up to 20 times in one day while I am trying to add new posts or do something on the site.