Problem/Motivation

On PHP8.2 I caught an error message

Deprecated function: Creation of dynamic property OmegaThemeRegistryHandler::$trail is deprecated in OmegaThemeRegistryHandler->__construct() (line 37 of .../omega/omega/includes/registry.inc).

Steps to reproduce

Switch to PHP8.2 and check dblog

Proposed resolution

I would suggest adding #[\AllowDynamicProperties]. Also, we can add array property, however, I think there may be some issues with some legacy code and theme inheritance if they return NULL.

Issue fork omega-3432924

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

Andrei Haurukovich created an issue. See original summary.

Andrei Haurukovich’s picture

Status: Active » Needs review
tormi’s picture

Status: Needs review » Reviewed & tested by the community

RTBC