I am getting this php error when going through Feature / Edit / Download archive.

Recoverable fatal error: Argument 1 passed to Drupal\features\FeaturesGenerationMethodBase::mergeInfoFile() must be of the type array, string given, called in /var/workspace/drupal8/modules/features/src/Plugin/FeaturesGeneration/FeaturesGenerationArchive.php on line 57 and defined in Drupal\features\FeaturesGenerationMethodBase->mergeInfoFile() (line 66 of modules/features/src/FeaturesGenerationMethodBase.php).

It seems the parameter in that funcion has the wrong type (array), it should be a plain string instead.

Patch will follow.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Jose Reyero’s picture

Status: Active » Needs review
FileSize
889 bytes

Simple patch

attiks’s picture

Status: Needs review » Reviewed & tested by the community

Works perfectly

mpotter’s picture

Status: Reviewed & tested by the community » Fixed

Looks good. Commit 915036b.

  • mpotter committed 915036b on 8.x-3.x authored by Jose Reyero
    Issue #2516646 by Jose Reyero: Error when generating Feature: Argument 1...

Status: Fixed » Closed (fixed)

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