WSOD Error when using facets serialiser(csv) and search api views

Created on 24 May 2021, over 3 years ago
Updated 10 January 2025, 26 days ago

Problem/Motivation

WSOD error when viewing views which have an export attached which uses a Facets Serialiser(csv) display

Steps to reproduce

Add a page view based on a search api index with some fields.
Add an export with a format of Facets serialiser, select CSV as the format, select the page view for the facet source and attach the export to the page view.
Browse to the page view and you will see a WSOD

Viewing the recent logs shows the following:
Error: Call to undefined method Drupal\facets_rest\Plugin\views\style\FacetsSerializer::attachTo() in Drupal\views_data_export\Plugin\views\display\DataExport->attachTo() (line 558 of /var/www/drupalvm/sites/example.local/httpdocs/modules/contrib/views_data_export/src/Plugin/views/display/DataExport.php)

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom vaccinemedia

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024