After the last update [4.0.7.10714], I saved something in the VM configuration (can't remember what). Now the product category list does not work for me (frontpage).   :(
QuoteCall to undefined method Joomla\CMS\Router\SiteRouter::setMode()
JROOT/components/com_virtuemart/virtuemart.php:72
When I removed the error code snippet the problem disappeared. I have restored the removed code and the error does not appear. I wonder what could have caused it?
			
				Please tell me what you mean when you said you removed the error code snippet. I am having this issue now with that same error and don't really know what to look at.
0 Call to undefined method Joomla\CMS\Router\SiteRouter::setMode()
Call stack
# 	Function 	Location
1 	() 	JROOT/components/com_virtuemart/virtuemart.php:67
2 	require_once() 	JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
3 	Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() 	JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
4 	Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() 	JROOT/libraries/src/Component/ComponentHelper.php:355
5 	Joomla\CMS\Component\ComponentHelper::renderComponent() 	JROOT/libraries/src/Application/SiteApplication.php:200
6 	Joomla\CMS\Application\SiteApplication->dispatch() 	JROOT/libraries/src/Application/SiteApplication.php:241
7 	Joomla\CMS\Application\SiteApplication->doExecute() 	JROOT/libraries/src/Application/CMSApplication.php:294
8 	Joomla\CMS\Application\CMSApplication->execute() 	JROOT/includes/app.php:61
9 	require_once() 	JROOT/index.php:32 
			
			
			
				Please just update to com_virtuemart.4.0.10.10767.zip https://dev.virtuemart.net/projects/virtuemart/files