Just upgraded Joomla 3 to Joomla 4, before that I updated Virtuemart to the latest (3x to 4.0.4).
Now several Virtuemart admin overview pages (like Orders, Shoppers, ..) give an error: 0 Class 'JDispatcher' not found.
Other admin pages (like Products, Shipment, ..) does not result in this error, but clicking a product results in another error: '0 Call to a member function getContent() on null'.
Reinstalling the Virtuemart package does not fix these issues.
Anyone experience the same with virtuemart?
Just found the issue. Error was caused by the Advanced Shipping by Rules for VirtueMart plugin.
VM4.0.4 is certainly not the latest
https://dev.virtuemart.net/attachments/download/1330/com_virtuemart.4.0.7.10711_package_or_extract.zip