In Enterprise I made a custom module and needed to rebuild the module. So I removed the module from Module loader. This removed the module and it seemed to be properly removed as it did not show up anywhere not in studio, module builder. This module had a relationship with Contacts module. I have made a quick repair and rebuild. Now if I edit a field in Contacts I get:
HTTP: 500 Internal Server Error
Unable to find field contacts_comp1_complaints_1
The error relates a field to the removed module. How can this be fixed please? I have also made a repair of relationships and cleared additional cache. I have also made sure all folders and files have the correct permissions.