Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I get this error when I uninstall Profile2:
Fatal error: Class 'Profile2TypeUIController' not found in C:\xampp\htdocs\d7test\sites\all\modules\entity\entity.module on line 893
happens on new D7 install, with just this and entity API enabled (7.x-1.0-beta10)
Comments
Comment #1
mikl CreditAttribution: mikl commentedI just reproduced this…
Comment #2
bkildow CreditAttribution: bkildow commentedI got the same thing. I also experienced a similar issue with the "Model" module (acts as a reference module for the entity api): http://drupal.org/node/1314766. So perhaps this is an entity api bug....?
Comment #3
caponey CreditAttribution: caponey commentedComment #4
orenbus CreditAttribution: orenbus commentedSame I just got this error after uninstalling.
Comment #5
caponey CreditAttribution: caponey commentedthis also produces an error on Structure as well, at least for me
Comment #6
cbaigorri CreditAttribution: cbaigorri commentedI get both errors as well
Comment #7
Deciphered CreditAttribution: Deciphered commentedIt appears that clearing the cache fixes the issue, but I will state that I was unable to do that via Drush (admittedly didn't try via the UI), instead I had to clear it by Truncating the cache tables in my database.
Comment #8
fagosee #1325126: uninstallation troubles due to outdated entity info
and #996236: drupal_flush_all_caches() does not clear entity info cache