#8 closed defect (bug) (fixed)
No friends gives incorrect error message
| Reported by: | drmike | Owned by: | jbasdf |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Version: | ||
| Severity: | Keywords: | ||
| Cc: |
Description
Greets:
Just created a new account over at http://testdrivewpmu.com and I'm seeing an issue. With a brand new account, if you visit Dashboard -> Friends -> My Friends, you get the error "There was an error getting your list of friends, please try again." It's not falling down to the "Looks like you don't have any friends...." bit a few lines further down.
I realize that the if(!$friends) check with give you a zero under three conditions: zero friends, getting a no data found error, and not getting a valid response back from the database.
I just think that with getting that "No data found" error should return the "Look likes..." bit instead of the "There was an error" message.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Milestone Friends deleted