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.
When i want uninstall the rules module i get this error: Fatal error: Call to undefined function entity_exportable_schema_fields() in /*/sites/all/modules/rules/rules/rules.install on line 76
Regards Stefan
Comments
Comment #1
fagomake sure to run entity API beta6, as required by rules.
Comment #2
Weaver CreditAttribution: Weaver commentedI have the same problem.
Tested on windows xp 32bit - acquia damp stack.
Drupal 7
Rules 7.x-2.0-alpha4
We tested with both entity 7.x-1.0-beta6 and 7.x-1.x-dev
Go to Modules - Uninstall, first have to uninstall Rules UI & Scheduler, then uninstall Rules
The uninstall reported successful but the modules were still listed and that prevented us installing the newer dev release.
Comment #3
Weaver CreditAttribution: Weaver commentedComment #4
Weaver CreditAttribution: Weaver commented7.x-2.x-dev
Fatal error: Call to undefined function rules_ui() in C:\DrupalSites\drupal-7.0\sites\all\modules\rules\rules_admin\rules_admin.module on line 14
Seemed to uninstalled scheduler ok but not rules ui, so now i am stuck with rules and rules ui.
Please tell me how to manually uninstall so I can install latest build.
Thanks.
Comment #5
fagoouch, the problem is #1029606: Regression: Not loading the .module file causes a fatal error when uninstalling some modules (as does loading it).
Thus, you should be able to uninstall it that way:
* leave "rules" enabled, uninstall rules_ui and rules_scheduler
* disable rules and uninstall it
* disable entity and uninstall it
Comment #6
fagomarked #1079394: Uninstall error as duplicate
Comment #7
NPC CreditAttribution: NPC commentedRegarding #5 - enabling Entity API gives a stable WSoD on my site, and I have a similar problem with updating Rules (Fatal error: Call to undefined function entity_exportable_schema_fields() in /*/sites/all/modules/rules/rules/rules.install on line 158) - how do I complete the update process or uninstall Rules?
A complication for me is that Rules is already disabled by direct edit in the DB (because of the Entity-related WSoD), so it isn't even enabled - yet still requests that I complete its pending update.
PS (and yes, I now know why it is IMPORTANT to make backups before every single update - I was thinking this one would be a snap, yet it wasn't, oh no)
Comment #8
fagothat's fixed, so updating to d7 head should fix this.
Comment #10
mitchell CreditAttribution: mitchell commentedUpdated component.