Title: Fatal PHP error Adding A User
Last modified: May 15, 2017

---

# Fatal PHP error Adding A User

 *  Resolved [Jeffrey Schutzman](https://wordpress.org/support/users/jeffpyebrookcom/)
 * (@jeffpyebrookcom)
 * [9 years ago](https://wordpress.org/support/topic/fatal-php-error-adding-a-user/)
 * Fatal error at user.php line 183
    `if( $subscriber_exists_already['status'] =
   = 1 ){`
 * Testing **subscriber_exists_already** as an array, but it is an object?
 * Here is a debug screenshot with the variable contents [https://cl.ly/12302e0D443N](https://cl.ly/12302e0D443N)

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

 *  [Wysija](https://wordpress.org/support/users/wysija/)
 * (@wysija)
 * [9 years ago](https://wordpress.org/support/topic/fatal-php-error-adding-a-user/#post-9142305)
 * What’s PHP version running on your website?
 *  Thread Starter [Jeffrey Schutzman](https://wordpress.org/support/users/jeffpyebrookcom/)
 * (@jeffpyebrookcom)
 * [9 years ago](https://wordpress.org/support/topic/fatal-php-error-adding-a-user/#post-9142729)
 * Php 7
 * I found a temporary workaround. The error happens on the second call to adding
   a user because the return type is being set to object somewhere in the previous
   get model call. It is never restored to array for subsequent calls.
 * My hack is to explicitly set the returned type property in the structure to array
   just prior to adding the user.
    -  This reply was modified 9 years ago by [Jeffrey Schutzman](https://wordpress.org/support/users/jeffpyebrookcom/).
    -  This reply was modified 9 years ago by [Jeffrey Schutzman](https://wordpress.org/support/users/jeffpyebrookcom/).
 *  [Wysija](https://wordpress.org/support/users/wysija/)
 * (@wysija)
 * [9 years ago](https://wordpress.org/support/topic/fatal-php-error-adding-a-user/#post-9168755)
 * Cool, glad you found that.

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

The topic ‘Fatal PHP error Adding A User’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wysija-newsletters_ffddcc.svg)
 * [MailPoet Newsletters (Previous)](https://wordpress.org/plugins/wysija-newsletters/)
 * [Support Threads](https://wordpress.org/support/plugin/wysija-newsletters/)
 * [Active Topics](https://wordpress.org/support/plugin/wysija-newsletters/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wysija-newsletters/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wysija-newsletters/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [Wysija](https://wordpress.org/support/users/wysija/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/fatal-php-error-adding-a-user/#post-9168755)
 * Status: resolved