• 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)
  • – 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

    (@bloofrog)

    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

    If it only shows up when debug is on don’t worry about it.

    Thread Starter bloofrog

    (@bloofrog)

    ok – thanks –

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Undefined property: WP_User::’ is closed to new replies.