Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When saving the permissions or refreshing a page after a cache rebuild, I get the following errors:
User error: "0" is an invalid render array key in Drupal\Core\Render\Element::children() (line 97 of core/lib/Drupal/Core/Render/Element.php).
When debugging, the error is triggered due to the 0 key in the following array:
I have the feeling something in the admin toolbar module is causing this.
Comment | File | Size | Author |
---|---|---|---|
#10 | screenshot-knowledgebase.local-2018-07-30-19-37-44.png | 67.62 KB | rachanakamlesh |
#3 | l10n_client-hook_toolbar-fix-2872668-3.patch | 421 bytes | GaëlG |
| |||
Schermafbeelding 2017-04-25 om 15.13.15.png | 45.61 KB | Nitebreed |
Comments
Comment #2
NitebreedComment #3
GaëlGI had the same problem, and Localization Client UI was guilty.
Comment #4
ahmadhalah CreditAttribution: ahmadhalah commentedWorks like charm.
Comment #5
AndrewsizZ CreditAttribution: AndrewsizZ as a volunteer and at Bright Solutions GmbH for Bright Solutions GmbH commentedyep error fixed, tested on two projects
Comment #6
michielnugter CreditAttribution: michielnugter as a volunteer and commented+1 on the patch. I experienced the same problem and the patch fixes it.
Comment #8
SebCorbin CreditAttribution: SebCorbin at Makina Corpus commentedCommitted, thanks!
Comment #10
rachanakamlesh CreditAttribution: rachanakamlesh at Clarion Technologies commentedHi,
I am facing the same issue. Please give me some clue or help.
Thanks,
Comment #11
tjtj CreditAttribution: tjtj commentedMe also. How does one find the offending module?
Comment #12
tjtj CreditAttribution: tjtj commentedWhere does the patch go??
Comment #13
Ammar Qala CreditAttribution: Ammar Qala as a volunteer and commented+1, this patch solved my problem