Empty Value in Custom Field from Multiple Record Fieldset causes WSOD in Views

Created on 27 January 2023, almost 2 years ago

In a custom fieldset which holds multiple values, if one of the individual fields is empty for one of the records (ie has not had a value entered), when this field is displayed in a view this causes a WSOD if the multiple values setting to display all values in the same row is not ticked for this field in the view. The error is:

Error: Unsupported operand types in Drupal\views\Plugin\views\field\FieldPluginBase->advancedRender() (line 1177 of /var/www/vhosts/xxx/xxx/dir/html/core/modules/views/src/Plugin/views/field/FieldPluginBase.php)

This may be related to this issue .

Maybe, there just needs to be a check for empty values?

🐛 Bug report
Status

Active

Version

3.3

Component

Code

Created by

🇬🇧United Kingdom bmango

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024