Support » Plugin: Norman Google Analytics Plugin » [Plugin: SubZane Google Analytics Plugin] After WP upgrade to 3.1, SubZane plugin widget does not sh

  • akky

    (@akky)


    Google Analytics Dashboard Plugin is on and working (showing stats on admin panel).

Viewing 3 replies - 1 through 3 (of 3 total)
  • Bradford

    (@elbradford)

    Yep, broken. Widget shows:

    Warning: Missing argument 4 for GALib::GALib(), called in /var/www/theblawblog.com/wp-content/plugins/subzane-google-analytics-plugin/sz-google-analytics-widget.php on line 101 and defined in /var/www/theblawblog.com/wp-content/plugins/google-analytics-dashboard/ga-lib.php on line 37

    Warning: Invalid argument supplied for foreach() in /var/www/theblawblog.com/wp-content/plugins/subzane-google-analytics-plugin/sz-google-analytics-widget.php on line 108
    Popular Posts

    Warning: Invalid argument supplied for foreach() in /var/www/theblawblog.com/wp-content/plugins/subzane-google-analytics-plugin/sz-google-analytics-widget.php on line 32

    Bradford

    (@elbradford)

    If you replace line 101 of sz-google-analytics-widget.php which is:

    $ga = new GALib($login->auth_token, $login->account_id, 60);

    with:

    $ga = new GALib($login->auth_type, $login->auth_token, $login->oauth_token, $login->oauth_secret, $login->account_id, 60);

    it will work. Plugin author, please fix this 🙂 Also, please give it better trim support – the “|” character and “‘” character cause it to error.

    Thanks for your hard work.

    Thanks Bradford, that worked a treat.

    And in regards to the trimming, I can’t seem to get rid of my blog title in my popular posts display. Anyone know what to do there?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: SubZane Google Analytics Plugin] After WP upgrade to 3.1, SubZane plugin widget does not sh’ is closed to new replies.