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.
In line 11 of conditional_fields.features.inc, when conditional_fields_load_dependencies is called, it returns what I believe is a bogus array. I've attached a screenshot of the output of a dpm($dependencies) placed in line 12.
Note that this error occurs for a feature which is handling a content type which used to have conditional fields. However, I subsequently delete all dependencies and uninstalled conditional fields, then recreated the feature. The feature folder has no mention of conditional fields in it. When I re-enable conditional fields and view the feature, I get this error.
Comment | File | Size | Author |
---|---|---|---|
#2 | 0001-Patched-features-integration-bug.patch | 620 bytes | DuaelFr |
error.jpg | 64.52 KB | somanyfish |
Comments
Comment #1
somanyfish CreditAttribution: somanyfish commentedI was incorrect that this error depends on a content type previously having conditional fields. I tested this on a clean install of D7. I enabled Features and created a simple feature, depending only on the content type Article. I then enabled Conditional Fields and the error appeared on the "recreate" page for my feature.
Comment #2
DuaelFrI had the same issue so I made a patch.
Enjoy
Comment #3
Shadlington CreditAttribution: Shadlington commentedThis is possibly the same as #1275284: Features don't appear to be working
The patch in that issue is similar but does some extra stuff too (I'm not really sure what)
Comment #4
peterpoe CreditAttribution: peterpoe commentedDuplicate of #1275284: Features don't appear to be working.