Problem/Motivation

Create the corresponding block, add it and it shows me the following error:

Warning: Undefined array key "gdpr_alert_dismiss" in Drupal\gdpr_alert\Plugin\Block\GDPRAlertBlock->build() (line 147 of /var/www/example.com/modules/contrib/gdpr_alert/src/Plugin/Block/GDPRAlertBlock.php) #0

Issue fork gdpr_alert-3419489

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

Nelo_Drup created an issue. See original summary.

geoanders’s picture

Version: 1.0.1 » 1.0.x-dev
Issue summary: View changes
geoanders’s picture

Title: Error with drupal 10.2.2 » Undefined key "gdpr_alert_dismiss"

chetan 11 made their first commit to this issue’s fork.

chetan 11’s picture

Status: Active » Needs review

Please check the above MR.

  • geoanders committed 634f612c on 1.x
    Fixes Issue #3419489: Undefined key "gdpr_alert_dismiss".
geoanders’s picture

Status: Needs review » Fixed

Thanks!

This will be fixed in the next release.

Status: Fixed » Closed (fixed)

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