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.
Issue happening when uninstalling module but commerce_extra_panes module already disabled.
Details are below:
Fatal error: Call to undefined function commerce_extra_panes_get_panes() in /Applications/MAMP/htdocs/dealseven/sites/all/modules/commerce_extra_panes/modules/commerce_extra_panes_termsofservice/commerce_extra_panes_termsofservice.install on line 13
Call Stack:
0.0224 698824 1. {main}() /Users/vadimeremeev/drush/drush.php:0
0.2057 4843520 2. drush_main() /Users/vadimeremeev/drush/drush.php:16
1.0982 11729984 3. _drush_bootstrap_and_dispatch() /Users/vadimeremeev/drush/drush.php:61
15.8024 125542080 4. drush_dispatch() /Users/vadimeremeev/drush/drush.php:92
15.9850 126001016 5. call_user_func_array() /Users/vadimeremeev/drush/includes/command.inc:175
15.9850 126001352 6. drush_command() /Users/vadimeremeev/drush/includes/command.inc:175
17.6143 126009984 7. _drush_invoke_hooks() /Users/vadimeremeev/drush/includes/command.inc:208
17.6236 126073784 8. call_user_func_array() /Users/vadimeremeev/drush/includes/command.inc:334
17.6236 126074120 9. drush_pm_uninstall() /Users/vadimeremeev/drush/includes/command.inc:334
30.0610 127775488 10. drush_module_uninstall() /Users/vadimeremeev/drush/commands/pm/pm.drush.inc:1123
30.0611 127775488 11. drupal_uninstall_modules() /Users/vadimeremeev/drush/commands/core/drupal/environment.inc:143
30.0679 127916272 12. module_invoke() /Applications/MAMP/htdocs/dealseven/includes/install.inc:794
30.0679 127916648 13. call_user_func_array() /Applications/MAMP/htdocs/dealseven/includes/module.inc:833
30.0679 127916896 14. commerce_extra_panes_termsofservice_uninstall() /Applications/MAMP/htdocs/dealseven/includes/module.inc:833
Comments
Comment #1
g33kg1rl CreditAttribution: g33kg1rl commentedI receive this error when trying to uninstall the terms of service sub module:
Fatal error: Call to undefined function commerce_extra_panes_get_panes() in /var/aegir/platforms/placeholder/sites/all/modules/commerce_extra_panes/modules/commerce_extra_panes_termsofservice/commerce_extra_panes_termsofservice.install on line 13