Declaration of Drupal\Core\DependencyInjection\DependencySerializationTrait::__wakeup() must be compatible

Created on 18 June 2024, 6 months ago

Setup

  • Solr version: any
  • Drupal Core version: 10.x
  • Search API version: 1.35
  • Search API Solr version: 4.x
  • Configured Solr Connector: any

Issue

After upgrading Search API to 1.35 we are facing some fatal errors due to changes in methods definitions.

While πŸ› Declaration of Drupal\search_api_solr\Plugin\search_api\backend\SearchApiSolrBackend::__sleep() must be compatible Active tends to ask for a rollback, other modules like Search API OpenSearch figured out that it could be fixed in implementations: πŸ› Handle missing return type in __wakeup() Fixed .

I suggest we follow the lead of Search API OpenSearch here and fix it on our end.

πŸ› Bug report
Status

Closed: works as designed

Version

4.0

Component

Code

Created by

πŸ‡«πŸ‡·France duaelfr Montpellier, France

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

Comments & Activities

Production build 0.71.5 2024