Skip to content

Dynamic property deprecation warnings in PHP 8.2 #155

Description

@mikemanger

This is fixable by adding the #[\AllowDynamicProperties] class attribute.

[wp-content/plugins/multiple-post-thumbnails/multi-post-thumbnails.php:79] Creation of dynamic property MultiPostThumbnails::$label is deprecated
[wp-content/plugins/multiple-post-thumbnails/multi-post-thumbnails.php:79] Creation of dynamic property MultiPostThumbnails::$id is deprecated
[wp-content/plugins/multiple-post-thumbnails/multi-post-thumbnails.php:79] Creation of dynamic property MultiPostThumbnails::$post_type is deprecated
[wp-content/plugins/multiple-post-thumbnails/multi-post-thumbnails.php:79] Creation of dynamic property MultiPostThumbnails::$priority is deprecated
[wp-content/plugins/multiple-post-thumbnails/multi-post-thumbnails.php:79] Creation of dynamic property MultiPostThumbnails::$context is deprecated

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions