CMS MADE SIMPLE FORGE

btAdminer

 

[#12734] Fatal error on uninstall

avatar
Created By: Stephan (10010110)
Date Submitted: Fri Jun 21 03:44:10 -0400 2024

Assigned To: Lukas Blatter (nockenfell)
Version: 4.8.4
CMSMS Version: 2.2.18
Severity: Major
Resolution: None
State: Open
Summary:
Fatal error on uninstall
Detailed Description:
Nice to see this module getting updates once again. :) However, I’ve got an
error to report:

On uninstalling the module I received this:
“PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function
CMSModule::RemovePermission(), 0 passed in
~/modules/btAdminer/method.uninstall.php on line 18 and exactly 1 expected in
~/lib/classes/class.CMSModule.php:2959
Stack trace:
#0 ~/modules/btAdminer/method.uninstall.php(18): CMSModule->RemovePermission()
#1 ~/lib/classes/class.CMSModule.php(1038): include('/homepages/30/d...')
#2 ~/lib/classes/class.moduleoperations.inc.php(901): CMSModule->Uninstall()
#3 ~/modules/ModuleManager/action.local_uninstall.php(30):
ModuleOperations->UninstallModule()
#4 ~/lib/classes/class.CMSModule.php(1407): include('/homepages/30/d...')
#5 ~/modules/ModuleManager/ModuleManager.module.php(90): CMSModule->DoAction()
#6 ~/lib/classes/class.CMSModule.php(1483): ModuleManager->DoAction()
#7 ~/admin/moduleinterface.php(74): CMSModule->DoActionBase()
#8 {main}
  thrown in ~/lib/classes/class.CMSModule.php on line 2959

My CMS version is actually 2.2.19 but that wasn’t selectable from the dropdown
above.


History