#8407 closed defect (bug) (fixed)
PHP Deprecated error shown in debug.log when trying to upload profile photo
Reported by: | pooja1210 | Owned by: | imath |
---|---|---|---|
Milestone: | 7.0.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Extended Profile | Keywords: | has-patch commit |
Cc: |
Description
Test Environment
BuddyPress: v6.4.0
WordPress: v5.6-RC3 release
From the profile page tried to change the profile image, was able to change the image but PHP deprecated error is shown in debug.log.
PHP Deprecated: xprofile_avatar_uploaded is <strong>deprecated</strong> since version 6.0.0! Use bp_members_avatar_uploaded instead. in /var/www/htdocs/wp-includes/functions.php on line 5234
Can anyone help with this?
Thanks!
Attachments (1)
Change History (6)
#2
@
4 years ago
- Keywords needs-patch added; reporter-feedback removed
- Milestone changed from Awaiting Review to 7.0.0
I confirm we forgot to stop using this hook in one place of our code.
#3
@
4 years ago
- Keywords has-patch commit added; needs-patch removed
8407.patch is fixing the issue. I'll commit it asap.
Note: See
TracTickets for help on using
tickets.
Hi thanks for your report.
This deprecation notice was added by us. Do you have any other plugin active ? If so could deactivate them and try again. Otherwise, what is the active template pack (if you have no idea, you should find the info going into the BuddyPress section of the Info Screen of the Site Health tool) ?
In the meantime, I'm going to check our code to see if we forgot something.