User statuses and posts disappear from activity in v. 14.5.6
-
Hello!
After upgrade to v. 14.5.6 user statuses and posts began to disappear from activity.
To fix it I had to roll back to v. 14.5.2.Regards, Alex
-
Hi,
I think we are going to need more information.
- In reference to “user statuses” where do they appear and how do they read? For example, top line of activity post and reads “user_x posted an update…”
- In reference to “posts”, is it any particular “activity type”? For example “activity_update”, “created_group”, “new_member”, etc,
Let’s start there and see where it leads.
I compared 14.5.2 and 14.5.6 and haven’t found a change that would delete status updates or blog-post activity, but there are changes to activity visibility and filtering.
Which site is affected?
Do existing entries disappear, or do new ones stop appearing?
Are they missing for logged-in members and administrators too, and do they still appear under Activity in wp-admin?
Also, is Youzify active on this site?An example of a public item that disappears would help narrow this down.
Thanks for any help you can provide. We’ll do our best to get this figured out.
Roll back to v. 14.5.2 didn’t help. I made repaire and optimize the table wp_bp_activity and after that statuses began to disapper with every page reload.
I then manually checked the
wp_bp_activitytable and discovered that the auto-increment value for the field had not been set. I believe this was the cause of the issue. I have now set this value and will monitor what happens next. Since I discovered the problem after upgrading to version 14.5.6, I attribute it to this upgrade.blogroom.ru with BuddyX theme, Fastest cache, atec cache APCu, Wordfence. Deactivating these plugins has no effect. Without youzify.
It looked as though new entries in the activity feed were overwriting old ones. Old activity records disappeared from the database entirely.
Thanks, that clarifies things!
Since rolling back didn’t help and you found rows missing from
wp_bp_activityI’d like to check the table itself. I compared the 14.5.2 and 14.5.6 tags and they use the same BuddyPress database version, and neither changes the activity table schema or insert code.When you say the auto-increment value was missing, did the id column lose its
AUTO_INCREMENTattribute, or was the table’s next auto-increment number unset?Could you share the id definition from
SHOW CREATE TABLE wp_bp_activity, the table engine, the exact repair and optimize steps, and any database errors?If you can reproduce this on a staging copy, checking whether one known activity ID exists before and after a reload would help identify where the rows are going.
(Please back up the table before making further repairs or schema changes!)
It looks like I’ve found the reason why entries were being deleted from the activity feed: the MediaPress plugin is to blame. It created a cron job to clean up “orphan images,” and this task was indiscriminately deleting items from the activity feed at random.
I also suspected the Friends plugin. I didn’t investigate further, but I went ahead and deleted both cron jobs just to be safe. Everything has remained in the activity feed for the past two days.
It seems BuddyPress isn’t involved after all. My apologies for the false alarm.
- You must be logged in to reply to this topic.