Declaration of Drupal\facets\Entity\Facet::__sleep() must be compatible

Created on 31 October 2024, about 2 months ago

Problem/Motivation

Seeing an issue on Drupal 11 - all pages throw error:
Fatal error: Declaration of Drupal\facets\Entity\Facet::__sleep() must be compatible with Drupal\Core\Config\Entity\ConfigEntityBase::__sleep(): array in /app/docroot/modules/contrib/facets/src/Entity/Facet.php on line 1216

Steps to reproduce

- Drupal 11
- Facets ^3.0-beta1

Proposed resolution

Easy fix to add return type "array" to function

Remaining tasks

_ Issue Fork
_ Test
_ Merge

User interface changes

none

API changes

none

Data model changes

none

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States scott_earnest

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024