Yes, that change has fixed the error — thanks.
Having the same issue.
For me it seems to be only when adding/editing custom post types created with CPT.
I don’t get the error when adding/editing regular posts or pages.
I’ve actually deleted those events now, have added several new events and only the old one is showing…Is must be a caching issue of some sort if it’s showing a deleted event?