Closed (fixed)
Project:
SimpleTest
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 May 2012 at 21:35 UTC
Updated:
19 Mar 2014 at 16:14 UTC
Jump to comment: Most recent
When trying to uninstall the disabled SimpleTest module the execution of
/admin/modules/uninstall/confirm for SimpleTest causes the error below:
Fatal error: Call to undefined function simpletest_clean_environment()
in /***/sites/all/modules/contrib/simpletest/simpletest.install on line 170Drupal 7.14
Comments
Comment #1
Refineo commentedWhen simpletest module is already disabled it is not possible to uninstall it because simpletest.install cannot find simpletest_clean_environment() that is defined in the simpletest.module.
Comment #2
Refineo commentedIssue solved. I enabled the simpletest 2 again in a second window and then unistalled using the previous unistall window.
Comment #3
Refineo commentedIssue solved. I enabled the simpletest 2 again in a second window and then unistalled using the previous unistall window.
Comment #4
seemas commentedworked when added module_load_include() to initiate a module file:
Suggestion from hook_uninstall() documentation page was not to use functions from .module:
https://api.drupal.org/comment/15344#comment-15344