Support » Plugin: Google Analytics for WordPress by MonsterInsights » [Plugin: Google Analytics for WordPress] Got an Error on multisite Network activated

Viewing 9 replies - 1 through 9 (of 9 total)
  • I’m seeing this same error message when creating a new subsite in a clients multisite installation. The only way to get the new subsite to work was to remove the plugin via FTP.

    I hit this error on one of my multisites too. The way I fixed it was to visit the dashboard of the effected site. I don’t think the Google Analytics plugin populates all the db entries for all the multisites at install.

    The way I fixed it since the author did not reply is to Delete it. Now there is no Problems. really Surprised at Joost, usually he has great Plugin support. Hopefully he will see this post and help you guys out for me I’m done with it could not wait any longer.

    I am seeing this issue as well. Has there been any news besides removing the plugin?

    I can confirm that visiting the dashboard of the affected sites (and entering the Analytics code for each one) solves the problem.

    @spinal – thanks. That’s a good work around, but not a solution to the issue.

    @yoast or anyone else – any idea how we can avoid this error message while the plugin is “Network Activated” and no GA code is inserted?

    I didn’t realize this was yoast’s plug in I had another plugin that support was never answered on here looks like I’m going to delete this one also he a real busy guy

    turkeyphant

    (@turkeyphant)

    Still no fix released for this problem?

    pwm2

    (@pwm2)

    till there’s an official fix, change this in googleanalytics.php:

    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();
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: Google Analytics for WordPress] Got an Error on multisite Network activated’ is closed to new replies.