Postponed
Project:
Profile 2
Version:
7.x-1.2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
21 Jan 2012 at 17:56 UTC
Updated:
10 May 2012 at 03:58 UTC
I disabled profile2 and received the following error:
Fatal error: Class 'Profile2MetadataController' not found in /home/unitedor/public_html/sites/all/modules/entity/entity.info.inc on line 23
I'm unable to access my site due to this error. Any ideas on how to fix?
Phil
Comments
Comment #1
pgglass commentedI opened "entity.info.inc" and disabled lines 23 & 24. I was then able to access the web site. I re-enabled the Profile2 module and went back to "entity.info.inc" and re-enabled lines 23 & 24. Is there a way to fix this so I can remove the Profile2 module? Do I have to remove the fields applied to the module before I can disable the module?
Comment #2
Morten Najbjerg commentedSubscribe
Comment #3
Patroclas commentedThis seems to be the same issue as http://drupal.org/node/1416420
Any progress on a fix for this? I don't want to upload my dev site with a module I don't need that includes a fatal time-bomb until this is fixed.
I wish I could help, but I'm not a coder.
Comment #4
defunctcitizen commentedWorked for me!
Comment #5
fagoManually clearing 'cache' tables should help too, see http://drupal.org/node/1325126
I'm setting this to postponed so it is visible in the profile2 queue too.
Comment #6
Patroclas commentedI used the procedure in #4 on my dev site. It has worked, but there were some problems. I got a WSOD after disabling the Profile pages sub-module but got back to the site by using the back button in my browser. Clearing cache from the admin UI also threw some errors. I have not yet tried manually clearing cache tables as suggested by fago, but it looks as if that's essential.
I also have the Profile2 (now unused) on my production site and I will not be disabling it until I am sure there is a robust solution.
I would not advise anyone to install Profile2 at this time unless they are sure that they will want to keep it. In my case, I have discovered that with a combination of content-types, role permissions and per-role blocks, Profile2 is not needed. Maybe this is unfair as the error appears to be related to core entity module (?) - but that's my opinion at this time.
Comment #7
socialnicheguru commentedfor solutions see this:
http://drupal.org/node/1570038#comment-5978024