Creation of dynamic property Drupal\mailjet_subscription\Form\SubscriptionSignupPageForm::$entity_id is deprecated

Created on 20 January 2025, 3 months ago

Problem/Motivation

The following error is shown when displaying a subscription form :

Deprecated function: Creation of dynamic property Drupal\mailjet_subscription\Form\SubscriptionSignupPageForm::$entity_id is deprecated in Drupal\mailjet_subscription\Form\SubscriptionSignupPageForm->setSignupID() (line 46 of modules/contrib/mailjet/modules/mailjet_subscription/src/Form/SubscriptionSignupPageForm.php).

Steps to reproduce

  1. Install the 4.0.1 version of the module on Drupal 10.4
  2. Add a subscription form
  3. Display the subscription form (ie. in a block)

Proposed resolution

Properly declare the $entity_id property in SubscriptionSignupPageForm.

🐛 Bug report
Status

Active

Version

4.0

Component

Code

Created by

🇧🇪Belgium oldeb Namur 🇧🇪

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024