WordPress.org

Forums

Google Analytics by Yoast
Broken in new sites on multisite installation (1 post)

  1. jeffmcneill
    Member
    Posted 1 year ago #

    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();

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.