PHP 8.4 compatibility issue

Created on 30 July 2025, 3 days ago

Problem/Motivation

Module is not compatible with php 8.4 and throwing warning on drush cr.

Steps to reproduce

PHP Deprecated: Drupal\paragraphs_previewer\Controller\ParagraphsPreviewController::findParentEntity(): Implicitly marking parameter $form_entity as nullable is deprecated, the explicit nullable type must be used instead in /home/inma2023-preprod/preprod.inma.ficusnode.com/www/releases/95/web/modules/contrib/paragraphs_previewer/src/Controller/ParagraphsPreviewController.php on line 105

PHP Deprecated: Drupal\paragraphs_previewer\Controller\ParagraphsPreviewController::paragraphsPreviewRenderParentField(): Implicitly marking parameter $parent_entity as nullable is deprecated, the explicit nullable type must be used instead in /home/inma2023-preprod/preprod.inma.ficusnode.com/www/releases/95/web/modules/contrib/paragraphs_previewer/src/Controller/ParagraphsPreviewController.php on line 146

Proposed resolution

Fix php code and make it compatible

💬 Support request
Status

Active

Version

1.9

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024