I've made a mistake by installing the entity module at: sites/all/modules
The module is already installed at profiles/commerce_kickstart/modules/contrit/
Now I want to delete it, but if I remove the folder sites/all/modules/entity I get this error in the terminal (when I run drush cc all)
failed to open stream: No such file or directory bootstrap.inc:3080
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: require_once(): Failed opening required
Fatal error: require_once(): Failed opening required '/Applications/MAMP/htdocs/example.com/sites/all/modules/entity/includes/entity.inc' (include_path='.:') in /Applications/MAMP/htdocs/example.com/includes/bootstrap.inc on line 3080
I went into the system table and manually fixed the filename field paths.
I try clearing caches, running cron and update database but I just get this error message. How can I remove it?