Problem/Motivation
When placing the block I got some errors so I can't place the block
An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /admin/structure/block/add/gleap_block/
StatusText: OK
ResponseText: Fatal error: Type of Drupal\gleap\Plugin\Block\GleapBlock::$messenger must not be defined (as in class Drupal\Core\Plugin\PluginBase) in /app/docroot/modules/contrib/gleab/src/Plugin/Block/GleapBlock.php on line 25"Steps to reproduce
1-Go to block layout
2-Add the Gleab block
3-You will get the error
Proposed resolution
Checking the code and I removed some mistakes from the dependency injection
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3321401-n1.patch | 896 bytes | yazanmajadba |
Issue fork gleab-3321401
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
yazanmajadba commentedComment #5
ahmad abbad commentedComment #7
ahmad abbad commentedComment #8
ahmad abbad commented