Title: Fatal error: Uncaught Error: Call to undefined method WP_Error::has_errors()
Last modified: April 18, 2019

---

# Fatal error: Uncaught Error: Call to undefined method WP_Error::has_errors()

 *  Resolved [mariuszm](https://wordpress.org/support/users/mariuszm/)
 * (@mariuszm)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-call-to-undefined-method-wp_errorhas_errors/)
 * After update to the last version I and many another people have the same problem.
   
   plugins/wp-hide-security-enhancer/include/wph.class.php on line 876
 * check info on goolge: [https://www.google.pl/search?safe=active&client=opera&ei=eWq4XJGGJuOyrgTFuqagBg&q=”include%2Fwph.class.php+on+line+876″&oq=”include%2Fwph.class.php+on+line+876″&gs_l=psy-ab.3…736427.736548](https://www.google.pl/search?safe=active&client=opera&ei=eWq4XJGGJuOyrgTFuqagBg&q=”include%2Fwph.class.php+on+line+876″&oq=”include%2Fwph.class.php+on+line+876″&gs_l=psy-ab.3…736427.736548)..
   736778…0.0..0.69.136.2……0….1..gws-wiz.303BXF83ajU
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-uncaught-error-call-to-undefined-method-wp_errorhas_errors%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [koda0601](https://wordpress.org/support/users/koda0601/)
 * (@koda0601)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-call-to-undefined-method-wp_errorhas_errors/#post-11443219)
 * I confirm the problem
    -  This reply was modified 7 years, 1 month ago by [koda0601](https://wordpress.org/support/users/koda0601/).
 *  Thread Starter [mariuszm](https://wordpress.org/support/users/mariuszm/)
 * (@mariuszm)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-call-to-undefined-method-wp_errorhas_errors/#post-11443273)
 * im using php 7.3
 *  Plugin Contributor [Maya](https://wordpress.org/support/users/tdgu/)
 * (@tdgu)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-call-to-undefined-method-wp_errorhas_errors/#post-11443302)
 * Thanks for your feedback. Checking into this at the moment.
 *  [koda0601](https://wordpress.org/support/users/koda0601/)
 * (@koda0601)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-call-to-undefined-method-wp_errorhas_errors/#post-11443310)
 * PHP Version 5.6.33
    WordPress 4.9.10
 *  Plugin Contributor [Maya](https://wordpress.org/support/users/tdgu/)
 * (@tdgu)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-call-to-undefined-method-wp_errorhas_errors/#post-11443824)
 * Anyone please confirm this fix for reported issue [http://nsp-code.com/testing/wp-hide-security-enhancer-1.5.6.7.1.zip](http://nsp-code.com/testing/wp-hide-security-enhancer-1.5.6.7.1.zip)
   
   Just overwrite the files on your server with the development version at the link
   above.
 *  [koda0601](https://wordpress.org/support/users/koda0601/)
 * (@koda0601)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-call-to-undefined-method-wp_errorhas_errors/#post-11444423)
 * You fixed this and works as it should 😉
    Thanks for your quick support Regards
   😉
 *  Plugin Contributor [Maya](https://wordpress.org/support/users/tdgu/)
 * (@tdgu)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-call-to-undefined-method-wp_errorhas_errors/#post-11444641)
 * Thanks for your confirmation, i just uploaded the Version: 1.5.6.8 to repository.
 *  Thread Starter [mariuszm](https://wordpress.org/support/users/mariuszm/)
 * (@mariuszm)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-call-to-undefined-method-wp_errorhas_errors/#post-11445942)
 * Now is good! Thank you.
 *  [CamZL1](https://wordpress.org/support/users/danishhaidri/)
 * (@danishhaidri)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-call-to-undefined-method-wp_errorhas_errors/#post-11450143)
 * [@tdgu](https://wordpress.org/support/users/tdgu/)
 * Hi,
    When this happens and the ‘fix’ is rolled out, do we get the fix in form
   of a plugin update? I am new to WP and not a developer and would not know how
   to ‘overwrite the files in the server’. How will i manage something like this
   when the website crashes or somthing?
 *  Plugin Contributor [Maya](https://wordpress.org/support/users/tdgu/)
 * (@tdgu)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-call-to-undefined-method-wp_errorhas_errors/#post-11453005)
 * [@danishhaidri](https://wordpress.org/support/users/danishhaidri/) Yes all fixes
   come in a form of plugin update.
    On your side, the update should apply through
   WordPress dashboard, or if for some reason this is not possible, the files should
   be replaced through ftp. This is a simple operation, which can be done through
   a ftp client. As last solution, the plugin can be completely disabled, see this
   post [https://wordpress.org/support/topic/how-to-disable-the-plugin-when-lost-access-to-admin-dashboard/](https://wordpress.org/support/topic/how-to-disable-the-plugin-when-lost-access-to-admin-dashboard/)

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Fatal error: Uncaught Error: Call to undefined method WP_Error::has_errors()’
is closed to new replies.

 * ![](https://ps.w.org/wp-hide-security-enhancer/assets/icon-256x256.png?rev=2937681)
 * [WP Hide & Security Enhancer](https://wordpress.org/plugins/wp-hide-security-enhancer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-hide-security-enhancer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-hide-security-enhancer/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-hide-security-enhancer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-hide-security-enhancer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-hide-security-enhancer/reviews/)

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * 10 replies
 * 4 participants
 * Last reply from: [Maya](https://wordpress.org/support/users/tdgu/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-uncaught-error-call-to-undefined-method-wp_errorhas_errors/#post-11453005)
 * Status: resolved