Php error resulting from carousel display config #179
Labels
Check Reproducibility
Basically if we can make things fail in the same way the user did
Drupal YAML files
Drupal settings provided by our deployment
Drupal9
Drupal9 is the new Drupal8 which was the new Drupal7 wich was the...
enhancement
New feature or request
External Bug
Some package, dependency needs some Pet Friendly Bug controll
Milestone
Seeing a lot of these:
TypeError: array_search(): Argument #2 ($haystack) must be of type array, null given in array_search() (line 470 of /var/www/html/web/modules/contrib/ds/ds.module)
I tracked this down to
drupal/config/sync/core.entity_view_display.node.digital_object.digital_object_image_only_for_carousel.yml
wherein we see this:The problem comes in ds.module:template_preprocess_ds_entity_view() where, if
disable_css
is true, then it expects a library to be attached to the build variable - which it is not.This is probably a bug in ds, but we can avoid it by setting disable_css to false for this display. @DiegoPino or @alliomeria do you know if there is a reason why
disable_css
is set to true for this display and why it could not be changed to false?The text was updated successfully, but these errors were encountered: