Problem/Motivation

With PHP 8.3 there is an error message displayed on the entity form

Deprecated function: Creation of dynamic property Drupal\preview\PreviewFormService::$entity is deprecated in Drupal\preview\PreviewFormService->alterForm() (line 129 of modules/contrib/all_entity_preview/src/PreviewFormService.php).

Steps to reproduce

Open edit form of an entity that is allowed to use preview.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

a.dmitriiev created an issue. See original summary.

  • a.dmitriiev committed b19e76e3 on 1.0.x
    Issue #3488909 by a.dmitriiev: Deprecated function error message
    
a.dmitriiev’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.