PHP8 compatibility issues for Dynamic Variables on EXIF settings form

Created on 18 August 2023, over 1 year ago
Updated 14 December 2023, about 1 year ago

Problem/Motivation

A php8 compatibility error being thrown on the settings form ~/admin/config/media/exif

Deprecated function: Creation of dynamic property Drupal\exif\Form\ExifSettingsForm::$moduleHandler is deprecated in Drupal\exif\Form\ExifSettingsForm->__construct() (line 53 of modules/contrib/exif/src/Form/ExifSettingsForm.php).

Steps to reproduce

Visit the settings form with php8.2 in Drupal 10.

Proposed resolution

A patch is attached

🐛 Bug report
Status

Fixed

Version

2.4

Component

Code

Created by

🇺🇸United States peachez

Live updates comments and jobs are added and updated live.
  • PHP 8.2

    The issue particularly affects sites running on PHP version 8.2.0 or later.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024