Overview

After upgrading to Drupal 10 or 11 and running drush updb, you may see warnings such as:

  • Missing jquery_ui_datepicker
  • Missing jquery_ui_tabs
  • Missing jquery_ui_tooltip
  • Errors referencing system.schema or core.extension

Even though your Drupal website works, these warnings indicate stale configuration from removed core modules.

Example of exact error:

[warning] (Currently using Missing or invalid modules The following modules are marked as installed in the core.extension
configuration, but they are missing:
* jquery_ui_datepicker
* jquery_ui_tabs
* jquery_ui_tooltip

Review the suggestions for resolving this incompatibility [1] to repair your
installation, and then re-run update.php.
[1] https://www.drupal.org/docs/updating-drupal/troubleshooting-database-updates

This article explains why this happens and how to fix it safely without breaking contrib jQuery UI modules.

 jquery-missing-invalid-modules-in-core-extension


Common warning messages

Examples include:

  • Modules marked as installed but missing
  • system.schema entries referencing removed modules
  • drush updb warnings about missing or invalid modules

Important distinction: core vs contrib jQuery UI

Drupal 11 removed the following core submodules:

  • jquery_ui_datepicker
  • jquery_ui_tabs
  • jquery_ui_tooltip

However, many sites still use contrib jQuery UI modules, such as:

  • jquery_ui
  • jquery_ui_autocomplete
  • jquery_ui_menu

These contrib modules are valid and should remain enabled.


Step-by-step fix

Screenshot example of commands used and steps done. Follow the exact step-by-step after the screenshot, which you may copy and paste exactlytly to run in your CLI.

jquery-missing-invalid-modules-in-core-extension-fixes-solutions

Step 1: Confirm enabled jQuery UI modules

drush pm:list --status=enabled | grep jquery_ui

You should see only contrib modules listed.


Step 2: Remove missing modules from core.extension

Run this from the Drupal root:

drush php:eval '
$config = \Drupal::configFactory()->getEditable("core.extension");
$modules = $config->get("module");
foreach ([
"jquery_ui_datepicker",
"jquery_ui_tabs",
"jquery_ui_tooltip"
] as $m) {
if (isset($modules[$m])) {
unset($modules[$m]);
}
}
$config->set("module", $modules)->save();
'


Step 3: Remove stale system.schema entries

drush php:eval '
$schema = \Drupal::keyValue("system.schema");
foreach ([
"jquery_ui_datepicker",
"jquery_ui_tabs",
"jquery_ui_tooltip"
] as $m) {
$schema->delete($m);
}
'


Step 4: Clear cache

drush cr

Step 5: Run updates again

drush updb

The warnings should now be gone.


Why is this fix required

Drupal does not automatically uninstall removed core modules during major upgrades. Manual cleanup is required to:

  • Prevent update warnings
  • Keep configuration clean
  • Ensure future upgrades run smoothly

This is a documented Drupal core behavior.


Final verification

Run:

drush pm:list --status=missing

If no results are returned, your cleanup is complete.


Conclusion

jQuery UI warnings in Drupal 11 are upgrade artifacts, not real module issues. Removing stale references while keeping valid contrib modules enabled is the correct and safe fix.