News:

Looking for documentation? Take a look on our wiki

Main Menu

Call to undefined method [J4.2.3][VM4.0.7]

Started by hazael, September 30, 2022, 22:56:41 PM

Previous topic - Next topic

hazael

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?

dannette

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

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/