Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | 2516646-features-wrong_parameter_type.patch | 889 bytes | Jose Reyero |
Comments
Comment #1
Jose Reyero CreditAttribution: Jose Reyero at Axel Springer España commentedSimple patch
Comment #2
attiks CreditAttribution: attiks commentedWorks perfectly
Comment #3
mpotter CreditAttribution: mpotter commentedLooks good. Commit 915036b.