Closed (fixed)
Project:
Civic Accessibility Toolbar
Version:
1.0.6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
16 Apr 2026 at 06:06 UTC
Updated:
2 Sep 2026 at 09:30 UTC
Jump to comment: Most recent
When overriding the template, based on the module's instructions, several PHP warnings occurred
Warning: Undefined array key "elements" in Drupal\block\Hook\BlockThemeHooks->themeSuggestionsBlock()
Warning: Trying to access array offset on null in Drupal\block\Hook\BlockThemeHooks->themeSuggestionsBlock()
Rename the template file to remove the "block" prefix. The drupal adds a "block__ prefix" when invalidating the cache.
Comments
Comment #2
c.moisiadis commentedComment #6
c.moisiadis commentedThe fix is included in the latest release.