This happens when you install the follow plugin and removes it afterwards before cleaning up the notifications table.
Run Notification.where(notification_type: [800,801,802]).limit(10000).destroy_all in a rails console until it works again.
This happens when you install the follow plugin and removes it afterwards before cleaning up the notifications table.
Run Notification.where(notification_type: [800,801,802]).limit(10000).destroy_all in a rails console until it works again.