Issue #3111645 by bobbygryzynger, catch: Uninstall entity_reference module and prevent it being enabled again, remove deprecated code