Error with double firing of all events

This happened after migrating up to 4.27 originally from 4.21. We’ve tried everything but can’t seem to find a fix. Can anyone help?