@benhutchenspearson
4 years, 5 months ago
Hi, I’ve managed to fix this now. It is due to deprecated functions with move to buddypress 6.0
I’d recommend if anyone is using Youzer with BP 6.0 to check out deprecated functions: https://bpdevel.wordpress.com/category/development-notes/6-0/
Had to change: xprofile_avatar_upload_dir() to bp_members_avatar_upload_dir()
Works a treat.
I’m not sure if this helps but I think there is a conflict between what Youzer is trying to do:
// Get Avatars Path. $avatars_path = xprofile_avatar_upload_dir();
And what Buddypress calls:
xprofile_template_change_avatar
Ah great thank you. That has been really helpful actually.