Problem/Motivation
Right after applying the formatter to an existing image field (even without touching the options) and on every page load thereafter, I'm getting this error message:
Deprecated function: Creation of dynamic property Drupal\panorama_viewer\Plugin\Field\FieldFormatter\PanoramaViewerFormatter::$entityTypeManager is deprecated in Drupal\panorama_viewer\Plugin\Field\FieldFormatter\PanoramaViewerFormatter->__construct() (line 47 of modules/contrib/panorama_viewer/src/Plugin/Field/FieldFormatter/PanoramaViewerFormatter.php).
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | panorama_viewer-deprecated_dynamic_property_creation-3484344-1.patch | 1.49 KB | priti197 |
Issue fork panorama_viewer-3484344
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
Comment #2
priti197 commentedPatch created to fix the issue, please review.
Comment #4
priti197 commentedComment #5
g.mustapha commented@kopeboy There is no info on which environment you get this issue. Can you provide the Drupal version and steps to reproduce the issue?
Comment #6
g.mustapha commentedThe module works on 9.5.x & from 10.2.x to 10.4.x but gives the error. on d 11.1.x
Comment #8
g.mustapha commentedComment #9
g.mustapha commentedfixn on v 1.0.4
Comment #10
g.mustapha commented