This error appears when I try to login in to word press:

Fatal error: Call to undefined method WP_Error::has_errors() in /home/alburycon/public_html/wp-login.php on line 58

  • That shouldn't happen :-/ Have you just upgraded from a version before 5.1.0? That's when the has_errors function was added, and it sounds like you still have an old copy of wp-includes/class-wp-error.php. If so then it looks like the upgrade was incomplete and you should manually overwrite the core WordPress files with a fresh copy from a download of the latest version. – Rup Mar 17 at 12:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.