Skip to:

Opened 10 years ago

Closed 10 years ago

Last modified 8 years ago

#5675 closed defect (bug) (fixed)

Notices on edit profile page

Reported by: slaffik's profile slaFFik Owned by:
Milestone: 2.0.2 Priority: normal
Severity: normal Version:
Component: Core Keywords:
Cc: tw2113@…, imath


On /members/slaffik/profile/edit/group/1/

Notice: undefined property: stdclass::$user_id in wp-content\plugins\buddypress\bp-xprofile\bp-xprofile-classes.php on line 1041

Notice: undefined property: stdclass::$last_updated in wp-content\plugins\buddypress\bp-xprofile\bp-xprofile-classes.php on line 1044

WP_DEBUG is true.
Only BuddyPress 2.0.1 and bbPress 2.5.3 are activated, 2012 theme.

Change History (7)

#1 @slaFFik
10 years ago

That notices are for the field, that was created in admin area in ordinary way but was never saved on front-end by any user.
That was the first time I visited profile edit page and saw that. After the save notices were gone.

#2 @DJPaul
10 years ago

  • Keywords reporter-feedback added

Any tips how to recreate this? Was this on a clean install, or with a certain type of user? etc

#3 @slaFFik
10 years ago

  • Keywords reporter-feedback removed

New WordPress install. Just after first log-in in admin area:
1) in Themes activate 2012
2) go to Plugin > New and download and activate BuddyPress
3) go to Plugin > New and download and activate BuddyPress Default Data
4) change the permalinks to appropriate value /%postname%/
5) Go to Users > Profile fields and create a field in Base groups (I created a radio-button, 3 variants with selected default value)
6) Note: till this time we were never on front-end by any user
7) Go to front-end in other browser (where I wasn't logged-in) - but this will work in a current browser for current user too
8) Log in as andre:1234567890 user (from BPDD plugin)
9) Open Profile > Edit page - notices are there

Last edited 10 years ago by slaFFik (previous) (diff)

#4 @tw2113
10 years ago

  • Cc tw2113@… added

#5 @DJPaul
10 years ago

  • Cc imath added
  • Milestone changed from Awaiting Review to 2.0.2

imath and I found this issue in the 2.0 branch when testing it last week. Let's fix for 2.0.2.

#6 @DJPaul
10 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r8699

#7 @DJPaul
8 years ago

  • Component changed from Tools - Warnings/Notices to Core
Note: See TracTickets for help on using tickets.