Problem/Motivation

When used with the panelizer module, the following deprecation is thrown:

Deprecated function: Creation of dynamic property panels_renderer_standard::$address is deprecated in PanelizerEntityDefault->render_entity() (line 3435 of panelizer/plugins/entity/PanelizerEntityDefault.class.php).

Steps to reproduce

Display a page rendered using panelizer, e.g. with the standard renderer.

Proposed resolution

Add #[\AllowDynamicProperties] to the parent panels_renderer_standard class provided by panels. This allows other implementations to be more flexible with their property declarations.

This is a similar approach taken in #3336591: PHP 8.2 Compatibility

Remaining tasks

Review, commit

CommentFileSizeAuthor
#2 3382760-2.patch478 bytesfenstrat

Comments

fenstrat created an issue. See original summary.

fenstrat’s picture

Status: Active » Needs review
StatusFileSize
new478 bytes

joelpittet’s picture

Status: Needs review » Fixed

Thanks @fenstrat and @Joseph Olstad for pointing me here. I've committed it.

  • joelpittet committed f66b95c3 on 7.x-3.x authored by fenstrat
    Issue #3382760 by fenstrat, joseph.olstad: Deprecated dynamic properties...

Status: Fixed » Closed (fixed)

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