Closed (fixed)
Project:
Migrate Extras
Version:
7.x-2.x-dev
Component:
Profile2
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Dec 2011 at 01:40 UTC
Updated:
17 Sep 2012 at 21:31 UTC
I'm trying to uninstall the Migrate module and first you're required to uninstall the Migrate Extras Profile2 Example module. When I try uninstalling that one I get the following error:
Fatal error: Class name must be a valid object or a string in /Applications/MAMP/htdocs/hhmi/www/includes/common.inc on line 7522
Any suggestions?
-Trevor
Comments
Comment #1
ambientdrup commentedI went ahead and just removed the entire Migrate Extras module folder and that seems to have solved the issue.
-Trevor
Comment #2
mikeryanStart by looking at line 7522 of includes/common.inc in your installation for some context - in mine that line is
which has no object references. Knowing what core function is being called might provide some clue as to what's happening.
Comment #3
mikeryanOK...
Comment #5
Michsk commentedI'm wondering why this was set to fixed while the 'fix' mentioned is not a fix. He just removed the folder and that's not an uninstall.
I am experiencing the same issue, it's just impossible to uninstall this part of the migrate extras module. I have tried the latest dev and recommended but both are not able to uninstall.
Comment #6
Michsk commentedThis has to do with
entity_load_multiple_by_name('profile2_type', array('migrate_extras_profile2')). I just can't figure out what's wrong, i have the entity_api module installed but it just won't do it.Comment #7
Michsk commentedSo the thing here is that (if i understand everything correctly) we don't have the entity were calling
profile2_type.If done a:
And that returns a whole lot of entities but not profile2, and definitly not profile2_type.
//edit
Strange since profile2_module should create that entity, since the profile2_module install has:
entity_create('profile2_type');Comment #8
Michsk commentedThat's bizare... i had profile2 uninstalled... but migrate extras profile2 example was installed.
Yeh, so this is fixed. I someone runs in to this problem. Make sure profile2 is installed, if it is re-install it. After i installed profile2 i could remove this migrate extras option.
Comment #9
Michsk commented