Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Greg Ross

    (@gregross)

    Try changing line 133 of wp-statitics/includes/classes/hits.class.php from:

    if( $ua_string == "WordPress/" . $wp_version . "; " . get_home_url("/") ) { $this->exclusion_match = TRUE; $this->exclusion_reason = "self referral"; }

    to

    if( $ua_string == "WordPress/" . $wp_version . "; " . get_home_url(null, "/") ) { $this->exclusion_match = TRUE; $this->exclusion_reason = "self referral"; }
    Thread Starter maxcsa

    (@maxcsa)

    Hi Greg,

    Thanks for answering so fast! Looks like it fixes my problem!

    However, it seems like the database schema for you plugin is not up to date on all site using your plugin. I tried to disable and re-enable your plugin and it fixes the problem. Is there another way to ensure that all tables (wp_XXX_statistics_visitors for exemple) are up to date?

    Thanks

    Plugin Contributor Greg Ross

    (@gregross)

    No at this time, we don’t “officially” support multi-site so the database update code doesn’t look for anything but the current site.

    The only option you have, instead of disabling/enabling, is to go each site and then to the optimization page, database tab and then re-run the install.

    I’ll include the above fix in the next release.

    Thread Starter maxcsa

    (@maxcsa)

    Hi,

    Sounds like a fair work-around for the moment.

    Thanks for your support.

    Regards

    Plugin Contributor Greg Ross

    (@gregross)

    No problem.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error on multi-site’ is closed to new replies.