Drupal\Core\ProxyClass\Extension\ModuleInstaller::uninstall(): Argument #1 ($module_list) must be of type array, string given when run updb

Setup

  • Drupal Core version: 8.4.7
  • Search API Solr version: 4.10

Issue

After update Search API Solr and run drush updb show this error:

[error]  TypeError: Drupal\Core\ProxyClass\Extension\ModuleInstaller::uninstall(): Argument #1 ($module_list) must be of type array, string given, called in /code/web/modules/contrib/search_api_solr/modules/search_api_solr_defaults/search_api_solr_defaults.post_update.php on line 15 in Drupal\Core\ProxyClass\Extension\ModuleInstaller->uninstall() (line 89 of /code/web/core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php) #0 /code/web/modules/contrib/search_api_solr/modules/search_api_solr_defaults/search_api_solr_defaults.post_update.php(15): Drupal\Core\ProxyClass\Extension\ModuleInstaller->uninstall('search_api_solr...')
> #1 /code/vendor/drush/drush/src/Commands/core/UpdateDBCommands.php(321): search_api_solr_defaults_post_update_uninstall_module(Array)
> #2 /code/vendor/drush/drush/includes/batch.inc(261): Drush\Commands\core\UpdateDBCommands::updateDoOnePostUpdate('search_api_solr...', Object(DrushBatchContext))
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

edmargomes created an issue. See original summary.

edmargomes’s picture

Issue summary: View changes
edmargomes’s picture

Assigned: Unassigned » edmargomes
Status: Active » Needs review
FileSize
795 bytes
edmargomes’s picture

mkalkbrenner’s picture

Status: Needs review » Reviewed & tested by the community
mkalkbrenner’s picture

Status: Reviewed & tested by the community » Needs work

We should a second post update that does the same again.

mkalkbrenner’s picture

Assigned: edmargomes » Unassigned
Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.