Undefined property: stdClass::$id
-
From my debug.log
PHP Notice: Undefined property: stdClass::$id in /public_html/site1/wp-content/plugins/user-switching/user-switching.php on line 529
This seems to be the relevant block:
if ( ! empty( $members_template ) && empty( $bp->displayed_user->id ) ) { $user = get_userdata( $members_template->member->id ); } else { $user = get_userdata( $bp->displayed_user->id ); }
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Undefined property: stdClass::$id’ is closed to new replies.