Legacy Module Removal Errors


After you update WHMCS, you see the following message in an email or in the Activity Log at Configuration () > System Logs:

A recent WHMCS update failed to remove legacy modules. These modules may cause negative behavior if you upgrade PHP and leave them on the system.


The update process checks for the presence of discontinued modules in your installation. If they are not in use, it removes them automatically to avoid future issues.

This message indicates that the Automatic Updater utility was unable to remove one or more discontinued and unused modules.

The error message will contain a list of the modules that the system could not delete.


To resolve this issue, manually delete the module files from the /modules directory within the directory for your WHMCS installation. The best method to do this depends on your specific server setup and the type of module.

For example, for a provisioning module, you would need to move any products and existing services to another provisioning module. Then, you would delete the relevant files from the /modules/servers folder.

For help, contact the module’s developer.

Last modified: June 14, 2024