Deprecated function: Creation of dynamic property Drupal\Core\Render\Markup::$form_id is deprecated in Drupal\Component\Serialization\PhpSerialize::decode() (line 21 of /www/core/lib/Drupal/Component/Serialization/PhpSerialize.php)

Created on 4 March 2024, 4 months ago
Updated 6 March 2024, 3 months ago

Problem/Motivation

I get this error on a Drupal 10.2 site with PHP version 8.2 when clicking on preview button

Steps to reproduce

1. Used Drupal 10.2 with PHP version 8.2
2. Create a node of any content type and fill the fields
3. Click on Preview
4. It will lead to Page not found
5. The error log will show the above error.

Proposed resolution

1. Update code to be compatible with PHP 8.2

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Closed: cannot reproduce

Version

10.2

Component
Serialization 

Last updated about 1 month ago

Created by

🇮🇳India binnythomas Trivandrum, Kerala, India

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

Comments & Activities

Production build 0.69.0 2024