I had this problem and I couldn’t find a solution anywhere. I believe something caused some activities to be created in the database without any data, hence NULL. In my case I think it was too many plugins. I disabled them all, deleted the unused ones, including their proper tables in Mysql. So there in Mysql, while I was doing that, I found such activities with NULL. I deleted them all. Everything went back to normal.