Title: PHP Fatal error:  Call to a member function get_error_code
Last modified: August 31, 2016

---

# PHP Fatal error: Call to a member function get_error_code

 *  Resolved [mwilliams15](https://wordpress.org/support/users/mwilliams15/)
 * (@mwilliams15)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/php-fatal-error-call-to-a-member-function-get_error_code/)
 * Hello,
    I get this error message and was wondering if someone could help:
 * 2016/02/19 17:06:35 [error] 7456#7456: *243171 FastCGI sent in stderr: “PHP message:
   PHP Fatal error: Call to a member function get_error_code() on array in /var/
   www/domain.com/htdocs/content/plugins/new-user-approve/new-user-approve.php on
   line 602” while reading response header from upstream, client: 11.111.211.111,
   server: domain.com, request: “POST /summer-steam/register/ HTTP/2.0”, upstream:“
   fastcgi://127.0.0.1:9000”, host: “domain.com”, referrer: “[https://domain.com/summer-steam/register/&#8221](https://domain.com/summer-steam/register/&#8221);
 * Line 602:
    [http://prntscr.com/a5df05](http://prntscr.com/a5df05)
 * Was wondering how to debug this?
 * PHP Version:
 * root@ngx:~# php -v
    PHP 5.6.17-3+deb.sury.org~trusty+1 (cli) Copyright (c) 1997-
   2015 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
 * [https://wordpress.org/plugins/new-user-approve/](https://wordpress.org/plugins/new-user-approve/)

The topic ‘PHP Fatal error: Call to a member function get_error_code’ is closed 
to new replies.

 * ![](https://ps.w.org/new-user-approve/assets/icon-128x128.gif?rev=2544141)
 * [New User Approve](https://wordpress.org/plugins/new-user-approve/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/new-user-approve/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/new-user-approve/)
 * [Active Topics](https://wordpress.org/support/plugin/new-user-approve/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/new-user-approve/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/new-user-approve/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [mwilliams15](https://wordpress.org/support/users/mwilliams15/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/php-fatal-error-call-to-a-member-function-get_error_code/)
 * Status: resolved