• Google analyticator plugin had been working great. Then I ran some updates on my site and the site started returning the error:

    Notice: get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead. in /home/mydomain/public_html/wp-includes/functions.php on line 3707

    I disabled all plugins and renabled etc and was able to detect that Google Analyticator was causing the error message. With it disabled, the site works. Really want the plugin back on again. Any suggestions?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter katmac_aus

    (@katmac_aus)

    UPDATE: I search the plugin file and found “get_currentuserinfo();” on line 1288. I replaced this with “wp_get_current_user();”. This resolved the issue but means I’ve got an edited version of the plugin.

    Bumping, as this issue still exists.

    BackuPs

    (@backups)

    Change the code to this

    	//global $current_user;
    	//get_currentuserinfo();
    	$current_user = wp_get_current_user();

    Unbelievable this has not been fixed after 2 months.

    tdmalone

    (@tdmalone)

    Calm down, no-one gets paid for doing this ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin causing get_currentuserinfo deprecated message’ is closed to new replies.