Fatal error after Upgrade to Drupal 10.3 and Search API 1.53

Created on 25 June 2024, 6 months ago
Updated 9 July 2024, 6 months ago

After upgrading you see this fatal errors:

  Fatal error: Declaration of Drupal\search_api_elasticsearch_client\Plugin\search_api\backend\ElasticSearchBackend::
  __sleep() must be compatible with Drupal\search_api\Backend\BackendPluginBase::__sleep(): array in /app/drupal/docr
  oot/modules/contrib/search_api_elasticsearch_client/src/Plugin/search_api/backend/ElasticSearchBackend.php on line
  464
  Fatal error: Declaration of Drupal\Core\DependencyInjection\DependencySerializationTrait::__wakeup() must be compat
  ible with Drupal\search_api\Backend\BackendPluginBase::__wakeup(): void in /app/drupal/docroot/core/lib/Drupal/Core
  /DependencyInjection/DependencySerializationTrait.php on line 74

API has to be adapted.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇨🇭Switzerland ayalon

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

Comments & Activities

Production build 0.71.5 2024