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

CommentFileSizeAuthor
#2 3321401-n1.patch896 bytesyazanmajadba

Issue fork gleab-3321401

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

YazanMajadba created an issue. See original summary.

yazanmajadba’s picture

StatusFileSize
new896 bytes

ahmad abbad’s picture

ahmad abbad’s picture

Status: Needs review » Fixed
ahmad abbad’s picture

Status: Fixed » Closed (fixed)