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 disable redhen_relation module and on uninstall tab after i want uninstall it aget bellow error
Fatal error: Call to undefined function relation_type_delete() in /sites/all/modules/contrib/redhen/modules/redhen_relation/redhen_relation.install on line 123
Comments
Comment #1
levelos CreditAttribution: levelos commentedCan't recreate, the function is certainly there.
Comment #2
nerdoc CreditAttribution: nerdoc commentedI also have this bug with redhen 7.x-1.12.
I had accidentally deleted the redhen module without deinstalling redhen, maybe Drupal removed the function names from its cache and therefore can't find the function.
Then I re-downloaded redhen with
drush dl redhen
.Deleting the cache did not help.
Funnily, when I go to sides/all/modules/redhen, and doing a
grep relation_type_delete * -R
there - it finds only:And nothing else. Where exactly is this function located?
I'm stuck and can't deinstall redhen_relation - anything else I can do here?
Comment #3
nerdoc CreditAttribution: nerdoc commentedThe function is in the relation module, not in redhen_relation, which depends on it.