Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Module Cleanup

273 sites Security covered
View on drupal.org

This module helps clean up leftover data and resolve common errors after uninstalling or deleting modules. It can remove transient data, fix issues with non-existent entity types, and clear "No available releases found" errors in the update system.

Lists uninstalled or deleted modules with leftover transient data and allows the admin to delete any leftover data. A fix for Module 'module_name' has an entry in the system.schema key/value storage.
A fix for The 'module_name' entity type does not exist error. The module with the entity must be installed.

Added a fix for No available releases found in version 1.0.3. As a side note, there is most likely a module you have installed that is causing this error. You may want to record what configurations and entities you have saved and turn the modules off and on till you find out what module is causing the errors.

Added a fix for How to fix "non-existent config entity name returned by FieldStorageConfigInterface::getBundles()" in version 1.0.6. The fix uses a logger service that listens for a log to watchdog, so when you run cache clear or install a module it automatically cleans up the error. The module will display a message at the top of the install page when you install this module if there was an error that was fixed.

Drush Commands
Command: modcup:delete-config: Deletes left over data after a module is uninstalled. One required parameter. Parameter is the module machine name.
Alias: modcup-dc

Command: modcup:field-purge-batch: Runs field_purge_batch(1000) only and outputs errors as messages.
Alias: modcup-fpb

Command: modcup:create-storage: Creates a field storage only. Two required parameters. 1st parameter is the field name. 2nd parameter is the entity type.
Alias: modcup-cs

Command: modcup:delete-field: Runs field_purge_batch(1000), creates a field storage if needed and then deletes the field and field storage. The module with the entity must be installed. Two required parameters. 1st parameter is the field name. 2nd parameter is the entity type.
Alias: modcup-df

Command: modcup:clear-updates: Cleans up No available releases found errors in Available updates.
Alias: modcup-cu

Install with composer
Enable module
Go to Configuration->System->Delete transient module data

Activity

Total releases
7
First release
Dec 2024
Latest release
1 month ago
Releases (12 mo)
3 ▼ from 4
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.1.0 Stable Jun 14, 2026
1.0.7 Stable Mar 9, 2026
1.0.6 Stable Mar 7, 2026
1.0.5 Stable Mar 18, 2025
1.0.4 Stable Mar 18, 2025
1.0.3 Stable Mar 7, 2025
1.0.2 Stable Dec 9, 2024