Fix WordPress Error : Call to undefined function wp_get_password_hint()

Updated on September 2, 2017

I updated my WordPress recently and left with few PHP Fatal errors. In one of my previous post, I had written about an error “Call to undefined function wp_json_encode()” and a solution to fix the issue. Today, when I was trying to edit an user account, the site was hit with another PHP fatal error : Call to undefined function wp_get_password_hint() (the error was captured from web server log). The function wp_get_password_hint is a new addition to the latest WordPress version 4.1 and it’s defined in wp-includes/user.php file.

The issue was actually due to improper WordPress manual installation. For some reason, the latest wp-includes files were not copied properly and the file user.php was left with old one (that doesn’t have function definition for wp_get_password_hint).

Wordpress function error

Actually, the issue was completely because of a human error. If you are someone who is updating the WordPress manually, make sure you follow all the steps mentioned in WordPress Update manual.

To Err is human, but WordPress rocks!

Was this article helpful?

Related Articles

Leave a Comment