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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Jose Reyero’s picture

Status: Active » Needs review
FileSize
959 bytes

And this is the patch.

  • jhodgdon committed 2dbdcb0 on 8.x-1.x authored by Jose Reyero
    Issue #2515478 by Jose Reyero: Recoverable fatal error: Argument 1...
jhodgdon’s picture

Priority: Major » Critical
Status: Needs review » Fixed

Gotta 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.

Status: Fixed » Closed (fixed)

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