Can't uninstall Profile pages submodule. I get the following error:

Fatal error: Call to undefined function profile2_get_types() in D6/sites/all/modules/profile2/contrib/profile2_page.module on line 14

Comments

fago’s picture

Title: Call to undefined function profile2_get_types() » Uninstallation of profile pages fails if profile2 is disabled
Priority: Critical » Normal
Status: Active » Fixed

Hm, yes. There is an underlying problem in core that causes this issue - see #320303-17: Remove module menus on uninstall. Anyway, I've committed a temporary workaround, so it should work now. Once core is fixed, we can remove the workaround.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.