Error get_userdatabylogin
Viewing 2 Posts - 1 through 2 (of 2 total)
Author | Posts |
---|---|
February 10, 2015 at 2:11 pm 36312 | |
towhid | Hi, I have an problem, when i'm logging to my website, I have the error : Notice: get_userdatabylogin is deprecated since version 3.3! Use get_user_by('login') instead. in D:\wamp\www\wordpress\wp-includes\functions.php on line 3378. I never user get_userdatabylogin in my code, the only use is in : wp-include/pluggable-deprecated.php if ( !function_exists('get_userdatabylogin') ) : /** * Retrieve user info by login name. * * @since 0.71 * @deprecated 3.3.0 * @deprecated Use get_user_by('login') * * @param string $user_login User's username * @return bool|object False on failure, User DB row object */ function get_userdatabylogin($user_login) { _deprecated_function( __FUNCTION__, '3.3', "get_user_by('login')" ); return get_user_by('login', $user_login); } endif; How can i fix my problem ? Thanks you ! (Sorry for my english, I'm french) |
February 10, 2015 at 2:37 pm 36314 | |
jeremymatter | Hey, I resolved this problemm. It’s a problem in my code, sorry. But it’s was an index problem, i don’t know why it’s this error was display… Good bye ! |
February 11, 2015 at 12:05 pm 36428 | |
towhid | Hello Jeremymatter, I am happy to know that your problem solved. From my side, I had checked and did not find any error. Thank You 🙂 |
Viewing 2 Posts - 1 through 2 (of 2 total)