Thanks @rajab-natshah, looks like applying MR https://git.drupalcode.org/project/drupal/-/merge_requests/8546.diff from https://www.drupal.org/project/drupal/issues/3457168 🐛 Since twig/twig 3.9: error with "twig_escape_filter" function usage in /core/lib/Drupal/Core/Template/TwigExtension.php Needs work resolved the issues.
max.valetov → created an issue.
johnv → credited max.valetov → .
max.valetov → created an issue.
Fix 'non-scalar value' error - patches 21-24
Fixes patch formatting issue for patch 23
Adds a D10 session check and set for subrequest to patch 21
Adds menu title that's available via `menu_title`
max.valetov → created an issue.