WordPress.org

Ready to get started?Download WordPress

Forums

Google Analytics for WordPress
Fatal error set_defaults() (3 posts)

  1. Remco Tolsma
    Member
    Posted 2 years ago #

    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?

    http://wordpress.org/extend/plugins/google-analytics-for-wordpress/

  2. balbert
    Member
    Posted 2 years ago #

    I'm getting this problem on my MU site using 2.9. When activated site wide I get this same error on my other blogs with in the MU. ONly the main primary site seems to work.

  3. turkeyphant
    Member
    Posted 2 years ago #

    Even when I disable the plugin I can't create new sites.

    See also: http://wordpress.org/support/topic/plugin-google-analytics-for-wordpress-error-when-creating-new-sites

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic