Support » Plugins and Hacks » Google Analyticator » Google Analyticator conflict with WP Stats

Viewing 5 replies - 1 through 5 (of 5 total)
  • aredorange

    (@aredorange)


    same problem here – I had to remove WP Stats in order for the whole site to work…

    jhayghost13

    (@jhayghost13)


    @aredorange I solved this problem by changing the function name stats_init in line 113 and 116 to ganalyticator_stats_init. You can try my revised version by replacing your google-analyticator.php download here http://goo.gl/yMW1SX

    aredorange

    (@aredorange)


    @jhayghost13 downloaded your version but still have problems if I keep WP Stats… after replacing the original google-analyticator.php with your version, I did upload again WP Stats and got the following message:

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘ga_admin_init’ not found or invalid function name in /home/redorang/public_html/wp-includes/plugin.php on line 429

    And when I tried to activate WP Stats, got the following:

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘ga_admin_init’ not found or invalid function name in /home/redorang/public_html/wp-includes/plugin.php on line 429

    Warning: Cannot modify header information – headers already sent by (output started at /home/redorang/public_html/wp-includes/plugin.php:429) in /home/redorang/public_html/wp-includes/pluggable.php on line 896

    Fatal error: Cannot redeclare stats_init() (previously declared in /home/redorang/public_html/wp-content/plugins/google-analyticator/google-analyticator.php:117) in /home/redorang/public_html/wp-content/plugins/wp-stats/wp-stats.php on line 882

    so, the only way forward for me is either to unistall Google Analyticator or WP Stats, as having both there is conflict…

    If you know how to solve this, would be much thankful for the solution…

    Video User Manuals

    (@videousermanuals)


    This is fixed in the latest version.

    kgagne

    (@kgagne)


    Awesome — thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Google Analyticator conflict with WP Stats’ is closed to new replies.