Problem/Motivation

Deprecated function: Creation of dynamic property Drupal\config_pages\Form\ConfigPagesClearConfirmationForm::$id is deprecated in Drupal\config_pages\Form\ConfigPagesClearConfirmationForm->buildForm() (line 65 of modules/contrib/config_pages/src/Form/ConfigPagesClearConfirmationForm.php).

Steps to reproduce

Fresh Drupal 10.3.5 install, foo config page with 1 number field, edit the singleton, try to clear the values, get the Deprecation above at the confirmation step (/admin/structure/config_pages/1/confirmPurge).

If you confirm the clearing, it will clear the values, but show the same error message again.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

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

kopeboy created an issue. See original summary.

kopeboy’s picture

Issue summary: View changes

sarwan_verma made their first commit to this issue’s fork.

sarwan_verma’s picture

Status: Active » Needs review

Hi,

I have resolved the deprecated function issue and created MR!42.
Please review and verify.
Thanks!

kopeboy’s picture

Status: Needs review » Reviewed & tested by the community

Wow, so simple but it seems to fix!

  • 8e855346 committed on 8.x-2.x
    Issue #3474241: Deprecated function: Creation of dynamic property in the...
shumer’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.