Declaration of Drupal\elasticsearch_connector\Plugin\search_api\backend\SearchApiElasticsearchBackend::__sleep() must be compatible

Created on 19 June 2024, 6 months ago

Problem/Motivation

The following error occurs after updating "search_api" module to 1.35:
PHP Fatal error: Declaration of Drupal\elasticsearch_connector\Plugin\search_api\backend\SearchApiElasticsearchBackend::__sleep() must be compatible with Drupal\search_api\Backend\BackendPluginBase::__sleep(): array in /var/www/html/web/modules/contrib/elasticsearch_connector/src/Plugin/search_api/backend/SearchApiElasticsearchBackend.php on line 1236

Steps to reproduce

Update search_api module to 1.35.

🐛 Bug report
Status

Closed: duplicate

Component

Code

Created by

🇫🇷France Davy Duthoit Lille

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

Comments & Activities

Production build 0.71.5 2024