PHP Fatal error: Declaration of Drupal\search_api_db\Plugin\search_api\backend\Database::__sleep() must be compatible

Created on 22 May 2024, 25 days ago
Updated 25 May 2024, 22 days ago

PHP Fatal error:  Declaration of Drupal\search_api_db\Plugin\search_api\backend\Database::__sleep() must be compatible with Drupal\search_api\Backend\BackendPluginBase::__sleep(): array in /Users/vishal.khode/drupal11/docroot/modules/contrib/search_api/modules/search_api_db/src/Plugin/search_api/backend/Database.php on line 3145

PHP Fatal error:  Declaration of Drupal\search_api_db\Plugin\search_api\backend\Database::__wakeup() must be compatible with Drupal\search_api\Backend\BackendPluginBase::__wakeup(): void in /Users/vishal.khode/drupal11/docroot/modules/contrib/search_api/modules/search_api_db/src/Plugin/search_api/backend/Database.php on line 3156

The __sleep() and __wakeup method needs to match with it's parent.

🐛 Bug report
Status

Closed: duplicate

Version

1.0

Component

General code

Created by

🇮🇳India vishalkhode

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024