I get this error with latest Drupal 8 Beta 12 when trying to get the report for a module or theme. It looks to me like the module is not up to date with latest API changes.
This is the full error.
Recoverable fatal error: Argument 1 passed to Drupal\Core\Config\InstallStorage::getComponentNames() must be of the type array, string given, called in .../drupal8/modules/config_update/src/ConfigLister.php on line 191 and defined in Drupal\Core\Config\InstallStorage->getComponentNames() (line 193 of core/lib/Drupal/Core/Config/InstallStorage.php).
This is the API we are using with wrong parameters:
https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Config%21...
Patch will follow.
Comment | File | Size | Author |
---|---|---|---|
#1 | 2515478-config_update-fatal_error_install_storage-01.patch | 959 bytes | Jose Reyero |
Comments
Comment #1
Jose Reyero CreditAttribution: Jose Reyero as a volunteer commentedAnd this is the patch.
Comment #3
jhodgdonGotta love it: Clear issue report with a patch containing good code.
Obviously, I hadn't tried this module recently! So I confirmed that the error reported here also occurs on my local machine, and that the patch fixes it. I also ran the module's tests with the patch... they do not currently pass but it seems unrelated to this issue.
So, I went ahead and committed this, thanks! Changing to Critical also since this is a fatal error.
I'll file a separate issue about the broken tests.