help-block" is replaced with custom_tab_1, Also I can't disable "Buy Courses" Tab
Describe I have enabled plugin - Buy Courses. After that I am facing following issues:
- Under Administration Tab - I see "help-block" has been replaced by custom_tab_1
- Even after disabling "Buy Courses" plugin, Buy Courses button is active and once i click on it, it is taking me to "whoisonline.php" code.
To Reproduce Steps to reproduce the behavior:
- Go to -- Administration -- Plugins -- Enable Buy Courses
- Observed that Buy Courses is enabled
- Now disable buy courses -- I don't it is getting disabled.
- Under Administration Tab - I see "help-block" has been replaced by custom_tab_1
- Even after disabling "Buy Courses" plugin, Buy Courses button is active and once i click on it, it is taking me to "whoisonline.php" code.
As workaround: I have disabled below code in banner.lib.php to hide "Buy Courses" button. But don't know if this is write fix. Other issues are still there.
// Custom Tabs See BT#7180 -6th May 2020
// $customTabs = getCustomTabs(); // if (!empty($customTabs)) { // foreach ($customTabs as $tab) { // if (api_get_setting($tab['variable'], $tab['subkey']) == 'true') { // if (!empty($tab['comment']) && $tab['comment'] !== 'ShowTabsComment') { // $navigation[$tab['subkey']]['url'] = $tab['comment']; // // $tab['title'] value must be included in trad4all.inc.php // $navigation[$tab['subkey']]['title'] = get_lang($tab['title']); // $navigation[$tab['subkey']]['key'] = $tab['subkey']; // } // } // } // } // End Custom Tabs
Expected behavior Buy Courses should enable and disable properly without affecting other courses.
Screenshots

Desktop (please complete the following information):
- OS: Windows 10
- Browser: chrome, firefox
**Server
- OS: Linux Ubuntu 18.04
- Version of Chamilo: 1.11.11
- Version of PHP: 7.2
Additional context
One More Attachment.

Thank you everybody for help. Issue fixed.