Closed (fixed)
Project:
Features
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Jul 2015 at 08:38 UTC
Updated:
8 Sep 2015 at 18:34 UTC
Jump to comment: Most recent
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 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 commentedI too am reproducing this error.
Comment #4
mpotter commentedCommitted to 435104b.