Hi,
Using latest Joomla 4, Gantry 5 and CB versions. Any attempt to select/activate any CB menu item throws the following exception messages:
```
Error: During inheritance of Countable: Uncaught Whoops\Exception\ErrorException: Return type of Twig\Node\Node::count() should either be compatible with Counta ▶
Stack trace:
#0 /home/**/tst.****.org/libraries/gantry5/src/classes/Gantry/Component/Whoops/SystemFacade.php(112): Whoops\Run->handleError()
#1 /home/**/tst.****.org/libraries/gantry5/compat/vendor/twig/twig/src/Node/Node.php(23): Gantry\Component\Whoops\SystemFacade->handleError()
#2 /home/**/tst.****.org/libraries/vendor/composer/ClassLoader.php(571): include('/home/**/...')
#3 /home/**/tst.****.org/libraries/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile()
#4 [internal function]: Composer\Autoload\ClassLoader->loadClass()
#5 /home/**/tst.****.org/libraries/gantry5/compat/vendor/twig/twig/src/TwigFilter.php(128): class_exists()
#6 /home/**/tst.****.org/libraries/vendor/composer/ClassLoader.php(571): include('/home/**/...')
#7 /home/**/tst.****.org/libraries/vendor/composer/ClassLoader.php(428): Composer\Autoload\includeFile()
#8 /home/**/tst.****.org/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php(107): Composer\Autoload\ClassLoader->loadClass() ▶
#9 /home/**/tst.****.org/libraries/gantry5/src/classes/Gantry/Framework/Theme.php(70): Gantry\Component\Theme\AbstractTheme->extendTwig()
#10 /home/**/tst.****.org/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php(158): Gantry\Framework\Theme->extendTwig()
#11 /home/**/tst.****.org/libraries/gantry5/src/classes/Gantry/Component/Theme/AbstractTheme.php(176): Gantry\Component\Theme\AbstractTheme->ren ▶
#12 /home/**/tst.****.org/templates/g5_hydrogen/index.php(35): Gantry\Component\Theme\AbstractTheme->render()
#13 /home/**/tst.****.org/libraries/src/Document/HtmlDocument.php(736): require('/home/**/...')
#14 /home/**/tst.****.org/libraries/src/Document/HtmlDocument.php(791): Joomla\CMS\Document\HtmlDocument->_loadTemplate()
#15 /home/**/tst.****.org/libraries/src/Document/HtmlDocument.php(608): Joomla\CMS\Document\HtmlDocument->_fetchTemplate()
#16 /home/**/tst.****.org/libraries/src/Application/CMSApplication.php(1004): Joomla\CMS\Document\HtmlDocument->parse()
#17 /home/**/tst.****.org/libraries/src/Application/SiteApplication.php(714): Joomla\CMS\Application\CMSApplication->render()
#18 /home/**/tst.****.org/libraries/src/Application/CMSApplication.php(299): Joomla\CMS\Application\SiteApplication->render()
#19 /home/**/tst.****.org/includes/app.php(61): Joomla\CMS\Application\CMSApplication->execute()
#20 /home/**/tst.****.org/index.php(32): require_once('/home/**/...')
#21 {main}
```
you can try it here: tst.beetonrcflyers.org
any help to get this resolved would be appreciated. I posted a similar question on gantry’s forum, but I suspect this is a CB issue
regards
Peter