rest_entity_recursive module crashes the anu lms installation

Created on 19 March 2024, 3 months ago
Updated 24 April 2024, 2 months ago

Problem/Motivation

If you install Anu LMS as it is, then enable it, it crashes with the following error:

Fatal error: Declaration of Drupal\rest_paragraphs_recursive\Normalizer\ParagraphsNormalizer::supportsNormalization($entity, $format = null) must be compatible with Drupal\serialization\Normalizer\NormalizerBase::supportsNormalization($data, ?string $format = null, array $context = []): bool in /var/www/html/docroot/modules/contrib/rest_entity_recursive/modules/rest_paragraphs_recursive/src/Normalizer/ParagraphsNormalizer.php on line 47

Proposed solution

Include patch πŸ› Issue with supportsNormalization declaration RTBC in the composer.json to make sure everyone who installs Anu, has the patch already applied.

πŸ› Bug report
Status

Closed: won't fix

Version

2.0

Component

Code

Created by

πŸ‡°πŸ‡¬Kyrgyzstan elaman

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