- 🇺🇸United States AaronBauman Philadelphia
Not clear to me what the issue is either, but the suggested fix of removing the offending twig files fixed it for me as well.
Here's a related core issue, though not clear that it's actually a core problem or how to recreate with only core: 🐛 array_diff(): Argument #2 must be of type array, null given in array_diff() (line 702 [...] core/lib/Drupal/Core/Theme/Registry.php) Postponed: needs info
I will open a MR with the suggested fix as a temporary workaround.
- Merge request !44Issue #3460442 by AaronBauman: Removes offending template files to fix fatal... → (Merged) created by AaronBauman
- Status changed to Needs review
2 months ago 5:26pm 11 July 2024 - First commit to issue fork.
-
shelane →
committed a8280622 on 8.x-3.x authored by
AaronBauman →
Issue #3460442 by AaronBauman, derekthatcher: Cannot run update.php
-
shelane →
committed a8280622 on 8.x-3.x authored by
AaronBauman →
- 🇮🇳India akki123
In my case, removing this file bootstrap/templates/block/block.html.twig
resolved the update.php issue. - 🇮🇳India akki123
In the end, it boils down to my custom theme hook implementation.
customTheme_preprocess_block__BlockID()
I removed that and update.php works. - Status changed to Fixed
about 1 month ago 10:27pm 11 August 2024 - 🇳🇿New Zealand RoSk0 Wellington
Marking as fixed as this was released in the 8.x-3.32 → and fixed the issue for me - tested on the latest Drupal core 10.3.2.
Remove file generate error : Twig\Error\LoaderError: Template "themes/contrib/bootstrap/templates/block/block--system-menu-block--main.html.twig" is not defined.
- Status changed to Active
22 days ago 12:08pm 25 August 2024