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.
Getting this error when creating bundles:
Recoverable fatal error: Argument 2 passed to Drupal\features\FeaturesBundle::setAssignmentSettings() must be of the type array, null given, called in /var/workspace/drupal8/modules/features/src/FeaturesBundle.php on line 317 and defined in Drupal\features\FeaturesBundle->setAssignmentSettings() (line 309 of modules/features/src/FeaturesBundle.php).
Not sure what is the best solution, the patch is a workaround that prevents wrong arguments being passed on.
Comment | File | Size | Author |
---|---|---|---|
features-bundle_fatal_error.patch | 535 bytes | Jose Reyero | |
Comments
Comment #1
mpotter CreditAttribution: mpotter commentedDo you still get this on the latest -dev version? I was not able to reproduce it. If you still get it, give the exact steps you are using to create a bundle that causes it to fail.
Comment #2
nedjoI'm getting this with the latest code (includes commits from today).
Steps to reproduce:
Result is two messages:
Comment #3
arknoll CreditAttribution: arknoll at Acquia commentedI too am reproducing this error.
Comment #4
mpotter CreditAttribution: mpotter commentedCommitted to 435104b.