Member related widgets are freaking out
Okay, this one is maybe my own fault. I’ve been poking my fingers in places where they probably shouldn’t be, but I’ve reverted every bit of code that I’ve recently touched back to the 1.0b1 version and still no go.
Essentially, while my “members” page (bp-core-directory-members.php) works fine, the members widgets (bp-core-widgets.php) are not properly pulling members. Two blank members are being shown. “Blank” is the best way I can describe them. They are two identical gravitars that link to no existing member on the site.
If you want to see what I mean, I moved the widget to the news feed so is is not embarrassingly on the front page:
I had been messing with the widgets code, but I have reverted back to the original code. Debugging things I have tried:
hardcoding the max_members property as 10 inside bp-core-widgets.php
creating user objects, like on the members page with:
<?php $user_obj = new BP_Core_User( $user->user_id, true ); ?>
As I’m willing to explore avenues on my own, any directions you could point me would be helpful.
- The topic ‘Member related widgets are freaking out’ is closed to new replies.