Deprecated function

Drupal 10.0.4, PHP 8.2.3

Deprecated function: Creation of dynamic property Drupal\paragraphs_browser\Plugin\Field\FieldWidget\InlineParagraphsBrowserWidget::$uuid is deprecated in Drupal\paragraphs_browser\Plugin\Field\FieldWidget\InlineParagraphsBrowserWidget->formMultipleElements() (line 119 of modules/contrib/paragraphs_browser/src/Plugin/Field/FieldWidget/InlineParagraphsBrowserWidgetTrait.php).

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

Sutry created an issue. See original summary.

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

rang501’s picture

Status: Active » Needs review
StatusFileSize
new1.04 KB

This patch should fix it.

gallegodavid’s picture

Status: Needs review » Reviewed & tested by the community

Checked #3 patch and resolves the issue.

bohus ulrych’s picture

Patch works with Drupal 10.1.2 and PHP 8.2.8
It would safe time to release new module version, I spend few minutes searching for solution how to fix this error warning message.

oknate’s picture

Title: Drupal 10.0.4 Deprecated function » PHP 8.2 Deprecated function: Creation of dynamic property
jimafisk’s picture

Patch in #3 worked. Thank you!

rymcveigh’s picture

Patch #3 works for me as well.

I tested on:

drupal/paragraphs_browser: 1.1.0
drupal/core: 10.2.3

It would be soooo nice to get this merged in.

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

  • kgatzby committed c0c457a6 on 8.x-1.x
    Issue #3347934 by rang501, kgatzby, Bohus Ulrych, rymcveigh: PHP 8.2...
kgatzby’s picture

Status: Reviewed & tested by the community » Fixed

Applied #3. Thanks for your help everyone!

Status: Fixed » Closed (fixed)

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