BuddyBoss Home – Web › Support Forums › Plugins › BuddyBoss Wall › Error getting likes patch
@tjchester I noticed the problem came back after the latest BB Wall update. looks like it overwrote the change. So I replaced the line again in includes/wall-template.php to fix it.
Is this fix going to be put into the new updates or is it something I will have to change after every update?
@raytronx SOLVED
Change line 132 of includes/wall-template.php from this:
if( !$users_who_liked && $refetch_users_who_liked ){
to this:
if( !$users_who_liked ){
I see that message underneath some of the activity streams. Not sure if this is bb4 related. Any idea to fix?
Ok. This happens when user account is deleted. The likes count is not reset. Small inconvenience ?
@adminzenoed perhaps just a small issue converting BuddyPress favorites to likes. I’ll submit to developers a medium level ticket item since it is not breaking anything, just minor inconvenience. Thanks for the report.
@adminzenoed Can you elaborate on this?
Where exactly do you see the like count not reset? Let’s say you Like a post from User A and User B. You go to your Likes tab and see 2 likes. Then User B is deleted. You go to the Likes tab and still see 2 likes when it should be 1. Is that what you are describing, or something else?
Hi. I saw that message in the sitewide activity streams and also at the Likes tab activity stream; not during “liking” an activity or posts. For example, in my Likes tab, one of the previous activities is shown (where I have liked before) but with the msg text “Error getting likes” underneath the stream.
I’m seeing this in my activity stream as well. Under some comments where it should say User liked this it just prints out “Error getting likes”. If I click like or unlike it will actually clear that and show the proper string but on the next page refresh it returns to “Error getting likes” again.
I see several other posts with the same issue. I tried using the patch as described in this post: https://www.buddyboss.com/support-forums/topic/error-getting-likes-patch/
No luck. I’m using WP 4.0, BP 2.1 and the latest version of BuddyBoss. Any thoughts on how to fix?
One other point, I’m using WP Multisite with Multi DB running.
Any update on this? I’m experiencing the same issue. I tried the patch on line 132 that was mentioned in another support string, however that didn’t work.
@michael FYI
Quick update: I tested BuddyBoss Wall on a single install using BP 2.1 and WP 4.0 with the latest version of BuddyBoss. It worked fine.
I tested the same plugin with the same BP/WP versions however on multisite installs and none of them work. I’m thinking it has something to do with retrieving users, but am not sure. Please advise.
@michael @tjchester
I deactivated BP Multi Network and the BuddyBoss Wall works. The only issue is that I need to have BP Multi Network active considering how my network is setup. Based on this, what suggestion would you have to get this working?
@michael @tjchester
FYI, I am referring to the BP Multi Network plugin by sbrajesh: https://github.com/sbrajesh/buddypress-multi-network
When this plugin is activated is when I get the “Error Getting Likes”. Please advise on how to fix. I really appreciate your help in advance.
@michael @tjchester
@jasonvphase2solutions this may take some time to work out. We haven’t experienced any users who have used this plugin. Thank you for your patience.