3.0.0-beta3 incompatible with D9 due to a breaking change in EncoderInterface::encode() in Symfony

Created on 13 December 2023, 12 months ago
Updated 24 June 2024, 5 months ago

Problem/Motivation

PHP Fatal error: Declaration of Drupal\bibcite_entity\Normalizer\CslReferenceNormalizer::supportsDenormalization($data, string $type, ?string $format = null, array $context = []): bool must be compatible with Drupal\serialization\Normalizer\NormalizerBase::supportsDenormalization($data, $type, $format = null) in /var/www/html/modules/contrib/bibcite/modules/bibcite_entity/src/Normalizer/CslReferenceNormalizer.php on line 28

Drupal 9.5.11
PHP 8.1.26

Steps to reproduce

Install bibcite 3.0.0-beta3 or 3.0.x-dev with composer -> drush updatedb -> drush cache:rebuild -> error appears and website is just a white screen.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

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