Project

General

Profile

Bug #12275

Error in Members Directory

Added by Laurie Hurson almost 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
BuddyPress (misc)
Target version:
Start date:
2020-01-09
Due date:
% Done:

0%

Estimated time:

Description

Hi All,

I am seeing several errors in the members directory, screenshot attached.

members directory error.png (425 KB) members directory error.png Laurie Hurson, 2020-01-09 12:44 PM
convert-bp-latest-update-to-array.php (402 Bytes) convert-bp-latest-update-to-array.php Boone Gorges, 2020-01-09 02:40 PM

History

#1 Updated by Boone Gorges almost 2 years ago

Thanks for reporting this.

For some reason, the 'bp_latest_update' usermeta value for four Commons members was a stdClass rather than an array. I have a vague recollection of doing something with bp_latest_update in the last year, but I can't find a record of it anywhere. As such, I'm not sure what might have happened. Ray, do you have any idea?

I've run a script (attached) that converted the objects to arrays, and the problem appears to be fixed.

#2 Updated by Boone Gorges almost 2 years ago

(adding Ray as a watcher)

Also available in: Atom PDF