Active
Project:
Profile 2
Version:
7.x-1.2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Jan 2012 at 22:34 UTC
Updated:
7 Aug 2012 at 17:30 UTC
I discovered this fatal error while disabling your module:
Fatal error: Class 'Profile2TypeUIController' not found in C:\...\sites\all\modules\entity\entity.module on line 937.
This error disappears if I re-enable the module. Apparently some settings are not corrected when it is disabled?
Comments
Comment #1
Ashlar commentedI have raised the priority flag because this fatal error has locked me out of the site entirely. I cannot access modules to re-enable the module and remove the error.
Update:
The first time this occurred I was still able to access Admin/Modules. After disabling it a second time I lost full access to the site and had to re-enable the module using mysql.
Comment #2
earwax commentedConfirmed for me, too. I get the white screen of death when trying to disable the profile2 module. My errors are:
PHP Fatal error: Class 'Profile2TypeUIController' not found in /var/www/html/sites/all/modules/entity/entity.module on line 937, referer: https://example.org/admin/modules
PHP Fatal error: Class 'Profile2MetadataController' not found in /var/www/html/sites/all/modules/entity/entity.info.inc on line 23
I have confidence that the team will fix this before Drupal 8 comes out. In the mean time, sit tight!
Comment #3
Patroclas commentedI can confirm this - same thing happened to me when disabling the module. WSOD :((
Comment #4
scottrouse commentedSame thing. Steps to reproduce:
This results in WSOD rendering site unusable. Watchdog shows no error, but Drush shows the following error when attempting to clear cache or run cron:
Error: Class 'Profile2MetadataController' not found in /[docroot]/sites/all/modules/entity/entity.info.inc, line 23I've been unable to recover the site using any of the following techniques:
Comment #5
Ashlar commentedThis issue appears to be similar to another Profile2 issue which leads to this patch in post #89 to several .inc files in the Core
After manually placing the patch I download and enable Profile 2, but now get this error:
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'crhub.profile_type' doesn't exist: SELECT p.* FROM {profile_type} p; Array ( ) in profile2_entity_info() (line 46 of C:\Documents and Settings\Compaq_Administrator\My Documents\_web\CR\sites\all\modules\profile2\profile2.module).This error ties to this Profile2 issue
The site is crashed. I cannot enter admin/modules to check status etc..
Comment #6
mmncs commentedMy site also breaks, here are the error messages:
Comment #7
Patroclas commentedThis is a fatal bug. Why no response from the maintainers?
Comment #8
g089h515r806 commentedYes, the same error
Comment #9
earwax commentedMaybe they don't want us to uninstall it! It's a feature, not a bug! :)
Comment #10
wojtha commentedThis is a core bug #996236: drupal_flush_all_caches() does not clear entity info cache which should be fixed in the latest stable. Read the related discussion in the Entity module issue queue here: #1352422: Uninstall breaks site.
Comment #11
bonobo commentedJust ran into this.
Registry Rebuild fixes this. It's sweet. http://drupal.org/project/registry_rebuild