Steps to reproduce the issue
must be the current 5.0 branch
go to a component dashboard eg system dashboard administrator/index.php?option=com_cpanel&view=cpanel&dashboard=system
Actual result
Call stack
--
# | Function | Location
1 | () | JROOT\administrator\modules\mod_submenu\tmpl\default.php:17
2 | require() | JROOT\administrator\modules\mod_submenu\mod_submenu.php:39
3 | include() | JROOT\libraries\src\Dispatcher\ModuleDispatcher.php:52
4 | Joomla\CMS\Dispatcher\ModuleDispatcher::Joomla\CMS\Dispatcher\{closure}() | JROOT\libraries\src\Dispatcher\ModuleDispatcher.php:55
5 | Joomla\CMS\Dispatcher\ModuleDispatcher->dispatch() | JROOT\libraries\src\Helper\ModuleHelper.php:281
6 | Joomla\CMS\Helper\ModuleHelper::renderRawModule() | JROOT\libraries\src\Helper\ModuleHelper.php:161
7 | Joomla\CMS\Helper\ModuleHelper::renderModule() | JROOT\administrator\components\com_cpanel\tmpl\cpanel\default.php:60
8 | include() | JROOT\libraries\src\MVC\View\HtmlView.php:415
9 | Joomla\CMS\MVC\View\HtmlView->loadTemplate() | JROOT\libraries\src\MVC\View\HtmlView.php:203
10 | Joomla\CMS\MVC\View\HtmlView->display() | JROOT\administrator\components\com_cpanel\src\View\Cpanel\HtmlView.php:158
11 | Joomla\Component\Cpanel\Administrator\View\Cpanel\HtmlView->display() | JROOT\libraries\src\MVC\Controller\BaseController.php:658
12 | Joomla\CMS\MVC\Controller\BaseController->display() | JROOT\administrator\components\com_cpanel\src\Controller\DisplayController.php:57
13 | Joomla\Component\Cpanel\Administrator\Controller\DisplayController->display() | JROOT\libraries\src\MVC\Controller\BaseController.php:691
14 | Joomla\CMS\MVC\Controller\BaseController->execute() | JROOT\libraries\src\Dispatcher\ComponentDispatcher.php:143
15 | Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() | JROOT\libraries\src\Component\ComponentHelper.php:361
16 | Joomla\CMS\Component\ComponentHelper::renderComponent() | JROOT\libraries\src\Application\AdministratorApplication.php:150
17 | Joomla\CMS\Application\AdministratorApplication->dispatch() | JROOT\libraries\src\Application\AdministratorApplication.php:195
18 | Joomla\CMS\Application\AdministratorApplication->doExecute() | JROOT\libraries\src\Application\CMSApplication.php:299
19 | Joomla\CMS\Application\CMSApplication->execute() | JROOT\administrator\includes\app.php:65
20 | require_once() | JROOT\administrator\index.php:32
something to do with #41059