Skip to:
Content
Pages
Categories
Search
Top
Bottom

Avatars & ‘add friend’ button not working


  • mojomo
    Participant

    @mojomo

    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
    wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data

    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.

Viewing 6 replies - 1 through 6 (of 6 total)

  • vapvarun
    Participant

    @vapvarun

    @mojomo try to debug the issue with default WP theme and deactivate BP related plugin.


    mojomo
    Participant

    @mojomo

    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.


    mojomo
    Participant

    @mojomo

    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.


    mojomo
    Participant

    @mojomo

    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
    content-encoding: gzip
    content-type: application/json
    date: Sun, 17 Jun 2018 21:05:13 GMT
    expires: Wed, 11 Jan 1984 05:00:00 GMT
    server: nginx
    strict-transport-security: max-age=15552000
    vary: Accept-Encoding
    x-ac: 2.fra _dfw
    X-Firefox-Spdy: h2
    x-hacker: Oh, Awesome: Opossum
    Request headers (593 B)
    Accept: application/json, text/javascript, */*; q=0.01
    Accept-Encoding: gzip, deflate, br
    Accept-Language: de,en-US;q=0.7,en;q=0.3
    Connection: keep-alive
    Cookie: tk_tc=VbGaKeYfZcGE1k%2FX; _ga=GA1.2.2003267383.1528878280
    Host: public-api.wordpress.com
    Referer: https://public-api.wordpress.com/wp-admin/rest-proxy/
    User-Agent: Mozilla/5.0 (Macintosh; Intel …) Gecko/20100101 Firefox/60.0
    X-Requested-With: XMLHttpRequest

    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?


    vapvarun
    Participant

    @vapvarun

    @mojomo I had tried with nginx and seem worked fine, Can you try to switch your theme to default WP to debug the issue.


    mojomo
    Participant

    @mojomo

    @ 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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Skip to toolbar