MYSQL 8 has added strict type checking which throws an exception in hook_entity_delete(). If the check for cps_changeset passes we shouldn't run the normal delete as it fails with the changesets string ID.
Active
1.0
Code