I think the ( until now ) unresolved problem is that buddypress sets values for item_id and secondary_item_id to false by default and tables are defined as integer. so the statement tries to insert ” which is not accepted as an integer value. You can handle that with SQL but I’d prefer to set item_id and secondary_item_id to default 0 in bp-activity. For me there are no sideeffects right now, but the solution needs more testing