- Issue created by @tjtj
- π¨π¦Canada TrevorBradley
Looks like the fault was introduced with 8.x-1.14. 8.x-1.13 allows me to place blocks.
The fault is triggered in web/core/lib/Drupal/Core/Plugin/CategorizingPluginManagerTrait.php.
strnatcasecmp(): Argument #1 ($string1) must be of type string, Drupal\\system\\Entity\\Menu given in strnatcasecmp() (line 97 of /app/web/core/lib/Drupal/Core/Plugin/CategorizingPluginManagerTrait.php)
The issue appears to be that the Place Block button expects the block array definition of 'admin_label' to be a string, but instead it's a Drupal\system\Entity\Menu.
Testing various git branches, it looks like the fault was introduced in 1f9da / π Drupal 10 readiness Fixed .
Got it. There's a tiny fault in web/modules/composer/we_megamenu/src/Plugin/Derivative/WeMegaMenuBlock::getDerivativeDefinitions.
Patch incoming.
- π¨π¦Canada TrevorBradley
Rats, never mind, this was fixed as part of π we_megamenu blocks using "\Drupal\system\Entity\Menu" object as admin label Fixed .
I believe this issue can be closed.
- Status changed to Closed: duplicate
over 1 year ago 11:52pm 17 August 2023