Skip to content

Error caused by Horizontal Boxes display format

Summary

The following error is displayed in pages that use the Horizontal Boxes Display Format.

Warning: Illegal string offset 'default' in Drupal\views\Plugin\views\PluginBase->setOptionDefaults()

Apparently the error is caused because the Horizontal Boxes does not have default values set for options

Steps to reproduce

  1. Create a view that uses the Horizontal Boxes format
  2. Enable Erroring
  3. Visit a page that uses this view

Possible fixes

Add default value for defineOptions() function.

Edited by Konstantinos Platis
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information