Several PHP notices/warnings when submitting block configuration

Created on 11 October 2023, almost 2 years ago
Updated 20 October 2023, almost 2 years ago

Warning: Undefined array key "campaign_id" in Drupal\webpower\Plugin\Block\WebpowerNewsletterFormBlock->blockForm() (line 110 of modules/contrib/webpower/src/Plugin/Block/WebpowerNewsletterFormBlock.php).

Warning: Undefined array key "campaign_fields" in Drupal\webpower\Plugin\Block\WebpowerNewsletterFormBlock->blockForm() (line 215 of modules/contrib/webpower/src/Plugin/Block/WebpowerNewsletterFormBlock.php).

Warning: Trying to access array offset on value of type null in Drupal\webpower\Plugin\Block\WebpowerNewsletterFormBlock->blockForm() (line 215 of modules/contrib/webpower/src/Plugin/Block/WebpowerNewsletterFormBlock.php).

Warning: Trying to access array offset on value of type null in Drupal\webpower\Plugin\Block\WebpowerNewsletterFormBlock->blockForm() (line 215 of modules/contrib/webpower/src/Plugin/Block/WebpowerNewsletterFormBlock.php).

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇧🇪Belgium ludo.r Brussels

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024