Upgraded BP, now receiving “Warning: Invalid argument supplied for foreach()”
I just upgraded BuddyPress on my staging server. Previously it was version 2.4.3, now it’s 2.6.2. WordPress was also automatically upgraded recently to version 4.6.1 (my client and I are using WP Engine, which automatically upgrades every so often).
However, once I upgraded BP, I began receiving a warning on the member directory portion of the website.
Here is a link to the staging site, specifically the page giving me a problem, the member directory: https://goo.gl/m6IKrs
I keep receiving repeats of the following warning, one for every single profile picture:
Warning: Invalid argument supplied for foreach() in /nas/content/staging/ltb/wp-content/plugins/buddypress/bp-xprofile/classes/class-bp-xprofile-field.php on line 266
And then on individual profile pages, I receive the warning once.
Does anybody know what could be causing this?
- You must be logged in to reply to this topic.