Problem/Motivation

Loading the Custom Fields page with PHP 8.2 shows the following error:

Deprecated function: Creation of dynamic property Drupal\ik_constant_contact\Controller\CustomFieldsController::$constantContact is deprecated in Drupal\ik_constant_contact\Controller\CustomFieldsController->__construct() (line 21 of modules/contrib/ik_constant_contact/src/Controller/CustomFieldsController.php).

Proposed resolution

Fix the bug.

Remaining tasks

Fix the bug.

User interface changes

Loading the page with PHP 8.2 doesn't cause the error noted above.

API changes

n/a

Data model changes

n/a

CommentFileSizeAuthor
#3 ik_constant_contact-n3394308-2.patch583 bytesdamienmckenna

Comments

DamienMcKenna created an issue. See original summary.

sarwan_verma’s picture

Assigned: Unassigned » sarwan_verma
damienmckenna’s picture

Version: 4.x-dev » 3.x-dev
Assigned: sarwan_verma » Unassigned
Status: Active » Needs review
StatusFileSize
new583 bytes

This fixes the bug locally.

Note: I haven't confirmed if the bug shows on PHP 8.1, I'm using 8.2 locally.

rosemaryreilman’s picture

Status: Needs review » Fixed

Thanks for reporting and patching! This is rolled into 3.1.4 release.

rosemaryreilman’s picture

Status: Fixed » Closed (fixed)