Fixed: Google Analytics for WordPress Reports Plugin (0.83)

11 Comments
25 Jul

Alright, after a couple changes to how the plugin retrieves data from Google Analytics, the plugin should now correctly display reporting data. Note that there are still a few kinks that need to be worked out, but at least now the graphs are working again :) There’ll probably another update soon, but I just wanted to get it out there to get stuff working again.

Also, as always, if you have any suggestions for the plugin, please post them as enhancement requests in the issue tracker.

Download the update >

Posted on Wednesday, Jul 25th 2007 at 1:10 am

11 comments

  1. # Andrew Jul 25, 2007

    I’m getting this error with the new version:

    Warning: usort(): The argument should be an array in /usr/www/users/ideatm/wp-content/plugins/tantan/wordpress-re ports/tantan_reports_load.php on line 123

    Did I do something wrong?

  2. # Russell Heimlich Jul 25, 2007

    Thanks for the update. I never realized how much I missed not having my stats available to read everyday. Thanks for your hard work and no problems over here.

  3. Pingback: what is interesting this week (July 24th 2007) at Blogjer is about blogger
  4. # Lefebvre Jul 25, 2007

    I´m having problems too.

    Fatal error: Cannot redeclare array_combine() in /home/.hoagie/brevesnotas/blog.saboya.org/wp-content/plugins /tantan/wordpress-reports/lib.googleanalytics.php on line 21

  5. # Joe Tan Jul 25, 2007

    doh… it’s was late, blah.

    lefebvre: line 20 of lib.googleanalytics.php, change it so that instead of:

    if (!function_exists(”)):

    it is:

    if (!function_exists(‘array_combine’)):

    More fixes on the way….

  6. # Lefebvre Jul 25, 2007

    Joe:

    The setup page nows apears. But the reports page shows:

    Warning: usort() [function.usort]: The argument should be an array in /home/.hoagie/brevesnotas/blog.saboya.org/wp-content/plugins /tantan/wordpress-reports/tantan_reports_load.php on line 123

    The new GA sucks. Still a lot of bugs to google team solve in it.

  7. # Casey Picker Jul 25, 2007

    I’m getting the same error as Lefebvre even after making your suggested changes. Looks like Google’s being elusive…

  8. # Ron Pemberton Jul 25, 2007

    Same problem involving line 123 as the guys above. Any ideas?

  9. # Joe Jul 25, 2007

    A fix is on the way for the usort bug.

  10. # Ian Clifton Jul 25, 2007

    After changing line 20 of lib.googleanalytics.php to
    if (!function_exists(‘array_combine’)):

    I now see a nice page, just without any data. I don’t see the usort problem described above (or any other warning for that matter). I checked it out with firebug and each of the iframes is okay minus the actual data.

    After a little experimentation, enabling the Rising Content (line 82), Falling Content (93), and/or Rising Sources (123) creates the usort error as described above. The variable $data is empty at line 123.

  11. # Daniel Jul 25, 2007

    After making the line 20 change I get this in each of the boxes where reports normally go on the “Reports”page as well as on the “Setup” page:

    Fatal error: Cannot redeclare array_combine() in /home/.catilda/dan_imal/ohdanny.net/blogisher/wp-content/plu gins/tantan/wordpress-reports/lib.googleanalytics.php on line 21

    Thanks for all the work!

Leave a comment