Help! Some members can’t upload avatars
-
Hello BP Community,
for a unknown reason, some of my member profiles cant upload Avatars anymore.
I tested it with my own (admin) Profile and it works. I switched to a regular subscriber test account and also used another inactive user account that I hijacked for this, but they cant upload avatars – anymore. My test account has an avatar + profile banner, which I set up when I started with BP. but now I cant change them.The displayed error message is the default / generic one “there was a problem bla bla, try again”.
I checked the BP directorys inside wp-content and they all have chmod 755. I also made sure the owner of the directorys are correct. Then I enabled WP_DEBUG and made it write into a logfile while I try to upload a avatar. Sadly, all it writes into the log is this:
[28-Jul-2017 07:22:26 UTC] PHP Notice: Undefined offset: 1 in /xxx/wp-includes/media.php on line 712I also checked if the BP settings are correct and users are (still) allowed to upload images, which is done correctly.
So I am in need of you BP pros now. Can somebody help me with this problem? I am thankful for any clues on how to solve this problem, since I wanted to make some UX improvements that dont make any sense if users cant upload their own avatars anaymore. 🙁
- You must be logged in to reply to this topic.