Title: Undefined property: WP_User::
Last modified: August 20, 2016

---

# Undefined property: WP_User::

 *  [bloofrog](https://wordpress.org/support/users/bloofrog/)
 * (@bloofrog)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/undefined-property-wp_user/)
 * Notice: Undefined property: WP_User::$spam in E:\wp-sqlsrv\wp-admin\includes\
   class-wp-ms-users-list-table.php on line 145 Notice: Undefined property: WP_User::
   $deleted in E:\wp-sqlsrv\wp-admin\includes\class-wp-ms-users-list-table.php on
   line 145
 * I’m getting this error for each user that is in the database.
 * The error comes up in the function display_rows()
    _… $status\_list = array( ‘
   spam’ => ‘site-spammed’, ‘deleted’ => ‘site-deleted’ ); foreach ( $status\_list
   as $status => $col ) { if ( $user->$status ) $alt .= ” $col”; } …. With line 
   145 being the if statement . . . I’m lost here . . . Can anyone shed some light??

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

 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/undefined-property-wp_user/#post-2098305)
 * – where are you getting the error? Admin screen? from end?
 * – are you actually running multisite and was it working?
 * – link to your site plz.
 *  Thread Starter [bloofrog](https://wordpress.org/support/users/bloofrog/)
 * (@bloofrog)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/undefined-property-wp_user/#post-2098331)
 * Multisite is working and everything seems to be fine. While I was trouble-shooting
   the subdir/wp-admin/login process I turned on define(‘WP_DEBUG’, true); in the
   wp-config.php.
 * So the error shows up in the User list in Network Admin
 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/undefined-property-wp_user/#post-2098439)
 * If it only shows up when debug is on don’t worry about it.
 *  Thread Starter [bloofrog](https://wordpress.org/support/users/bloofrog/)
 * (@bloofrog)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/undefined-property-wp_user/#post-2098465)
 * ok – thanks –

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

The topic ‘Undefined property: WP_User::’ is closed to new replies.

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 4 replies
 * 2 participants
 * Last reply from: [bloofrog](https://wordpress.org/support/users/bloofrog/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/undefined-property-wp_user/#post-2098465)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
