Support » Plugin: Google Analytics for WordPress by MonsterInsights » Broken in new sites on multisite installation

  • This has been broken for up to a year now? In the forum discussion there was a work around suggested:

    change this:

    if ( !isset( $ga_admin ) )
    $ga_admin = new GA_Admin();
    $ga_admin->set_defaults();

    to this:

    if ( !isset($ga_admin) && class_exists(‘GA_Admin’) )
    $ga_admin = new GA_Admin();
    if ($ga_admin) $ga_admin->set_defaults();

  • The topic ‘Broken in new sites on multisite installation’ is closed to new replies.