Declaration of Drupal\serialization\Normalizer\AnyNormalizer::normalize

Created on 21 December 2024, 4 months ago

Problem/Motivation

After update from 10.4 to 11.1 i get this error

PHP Fatal error:  Declaration of Drupal\serialization\Normalizer\AnyNormalizer::normalize($object, $format = null, array $context = []) must be compatible with Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize(mixed $data, ?string $format = null, array $context = []): ArrayObject|array|string|int|float|bool|null in /var/www/html/web/core/modules/serialization/src/Normalizer/AnyNormalizer.php on line 20

Steps to reproduce

Upgrade Drupal to 11.1

🐛 Bug report
Status

Active

Version

11.1 🔥

Component

serialization.module

Created by

🇮🇹Italy trickfun

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