Problem/Motivation
Some additional user menus generate an error when clicked:
Drupal\Core\Render\Component\Exception\InvalidComponentException: [items[1].title] Object value found, but a string is required in Drupal\Core\Theme\Component\ComponentValidator->validateProps() (line 203 of core/lib/Drupal/Core/Theme/Component/ComponentValidator.php).
Drupal\Core\Template\ComponentsTwigExtension->doValidateProps() (Line: 109)
Drupal\Core\Template\ComponentsTwigExtension->validateProps() (Line: 48)
__TwigTemplate_753fb8837b04b0b72fc185c8317209cc->doDisplay() (Line: 393)
Twig\Template->yield() (Line: 349)
Twig\Template->display() (Line: 364)
Twig\Template->render() (Line: 35)
[...]Steps to reproduce
To test, simply install a module such as “webform”, which adds a menu item to the user profile (e.g. “Submissions” is added by webform).
Then click on this new link (e.g. /user/1/submissions).
and the error popup.
Finally, I don't think the problem comes from “UI Suite DaisyUI”,
because I've just tried it with another UI suite theme “UI Suite Bootstrap”, and I've got the same Issue.
So it's probably a problem with the “UI Patterns 2.x (with SDC)” module.
See: https://www.drupal.org/project/ui_patterns/issues/3491238#comment-15889193
Comments
Comment #2
steveoriolComment #3
steveoriolComment #4
steveoriolComment #5
g4mbiniHello @steveoriol ,
If you upgrade to beta6 of UI Patterns 2, do you still get the error ?
Cheers,
Michael
Comment #6
steveoriolYes, everything works fine now :-)
I use :
Comment #7
steveoriolComment #8
g4mbini