Fixed: Google Analytics for WordPress Reports Plugin (0.83)
11 CommentsAlright, 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.
Joe and Victoria
openbox9
Laity Lodge Youth Camp
Parkside Services
South Shore Baptist
Parkside Youth
Military Ministry
Campus Ministry
Know H2O
IFCJ
11 comments
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?
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.
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
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….
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.
I’m getting the same error as Lefebvre even after making your suggested changes. Looks like Google’s being elusive…
Same problem involving line 123 as the guys above. Any ideas?
A fix is on the way for the usort bug.
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.
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