Avatars & ‘add friend’ button not working
Hi, I am experiencing several strange bugs on my website related to BuddyPress.
1. Avatars aren’t displayed in Firefox, though visible in Chrome browser.
The only place the avatar is visible is in the admin bar area, but not in BuddyPress widgets nor member sites.
The console tells me Firefox can’t establish a connection with
Maybe this is related to the problem.
2. The Add Friend button is not working. It is visible, hover works and you can click on it, but then nothing happens.
@mojomo try to debug the issue with default WP theme and deactivate BP related plugin.
Thanks @vapvarun, I tried that before and it almost broke my site. I stopped the process and went back to my main theme. By then I had lost all of my Composer settings, so I’d rather not try that again.
The only thing I found that helps temporarily, is switching off Jetpack. Then at least the avatars in the footer widgets (such as who’s online) come back, but the avatars don’t reappear on the member pages. And as soon as I refresh a page, the footer widget avatars are gone again.
I was able to fix the avatar issue. The Firefox add-on Ghostery caused the problem. Deactivating the add-on brought back the avatars.
However, the “add friend” button is still not working. When I deactivate all plugins except for BuddyPress, the problem persists.
When I hit “add friend”, I get a status 200, but then nothing happens. Must be related to the wss server connection problem:
Answer headers (358 B)
cache-control: no-cache, must-revalidate, max-age=0
date: Sun, 17 Jun 2018 21:05:13 GMT
expires: Wed, 11 Jan 1984 05:00:00 GMT
x-ac: 2.fra _dfw
x-hacker: Oh, Awesome: Opossum
Request headers (593 B)
Accept-Encoding: gzip, deflate, br
Cookie: tk_tc=VbGaKeYfZcGE1k%2FX; _ga=GA1.2.2003267383.1528878280
User-Agent: Mozilla/5.0 (Macintosh; Intel …) Gecko/20100101 Firefox/60.0
In the console it says
Cannot establish connection to server wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data
I am running my website on a subdomain with the latest WordPress version 4.9.6
Any idea how to solve the server connection problem?
@mojomo I had tried with nginx and seem worked fine, Can you try to switch your theme to default WP to debug the issue.
@ vapvarun: Following your advice, I switched back to the default WP theme (2017), turns out that BuddyPress works fine with the default theme and all plugins activated. It seems to be an issue with my theme after all. The theme devs are looking into this matter now. Thank you.
- You must be logged in to reply to this topic.