0 Class "JDispatcher" not found

Call stack
# Function Location
1 () JROOT/templates/g5_helium/html/com_virtuemart/sublayouts/login.php:60
2 include() JROOT/components/com_virtuemart/helpers/vmview.php:130
3 VmView->renderVmSubLayout() JROOT/components/com_virtuemart/helpers/shopfunctionsf.php:39
4 shopFunctionsF::getLoginForm() JROOT/components/com_virtuemart/views/askquestion/view.html.php:47
5 VirtueMartViewAskquestion->display() JROOT/components/com_virtuemart/controllers/productdetails.php:227
6 VirtueMartControllerProductdetails->MailForm() JROOT/libraries/src/MVC/Controller/BaseController.php:693
7 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/components/com_virtuemart/virtuemart.php:129
8 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
9 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
10 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
11 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:208
12 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:249
13 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:293
14 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
15 require_once() JROOT/index.php:32