Steps to reproduce

1.Install the module on drupal 10 for php 8.2
2. When adding lLuzmo Dashboard field in content type.
it shows an error, error mentioned below

Deprecated function: Creation of dynamic property Drupal\luzmo_viewer\LuzmoViewerLuzmo::$config is deprecated in Drupal\luzmo_viewer\LuzmoViewerLuzmo->__construct() (line 50 of modules\contrib\luzmo_viewer\src\LuzmoViewerLuzmo.php).
Deprecated function: Creation of dynamic property

Drupal\luzmo_viewer\Plugin\Field\FieldFormatter\LuzmoDashboardJavascriptFormatter::$moduleHandler is deprecated in Drupal\luzmo_viewer\Plugin\Field\FieldFormatter\LuzmoDashboardJavascriptFormatter->__construct() (line 48 of modules\contrib\luzmo_viewer\src\Plugin\Field\FieldFormatter\LuzmoDashboardJavascriptFormatter.php).
Deprecated function: Creation of dynamic property

Drupal\luzmo_viewer\Plugin\Field\FieldFormatter\LuzmoDashboardJavascriptFormatter::$themeManager is deprecated in Drupal\luzmo_viewer\Plugin\Field\FieldFormatter\LuzmoDashboardJavascriptFormatter->__construct() (line 49 of modules\contrib\luzmo_viewer\src\Plugin\Field\FieldFormatter\LuzmoDashboardJavascriptFormatter.php).

I've attached an image illustrating my actions.

CommentFileSizeAuthor
image_2024_03_27T11_10_27_045Z.png155.21 KBkishan@kk
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

kishan@kk created an issue. See original summary.

lalitkyttn’s picture

I am working on this

kishan@kk’s picture

Status: Active » Needs review

p-neyens made their first commit to this issue’s fork.

  • p-neyens committed 638a78e7 on 1.0.x authored by kishan@kk
    [#3436437] fix: Deprecated function: Creation of dynamic property
    
p-neyens’s picture

Assigned: Unassigned » p-neyens
Status: Needs review » Reviewed & tested by the community
p-neyens’s picture

Version: 1.0.x-dev » 1.0.0
Assigned: p-neyens » Unassigned
Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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