litespeedtech / lscache-joomla

LSCache plugin for Joomla
29 stars 18 forks source link

Error on Joomla 5 + VirtueMart #67

Open keep opened 7 months ago

keep commented 7 months ago

After installing on Joomla 5.0.3 + VirtueMart 4.2.7 I get this: Too few arguments to function LSCacheComponentVirtueMart::onContentPrepare(), 1 passed in JROOT/libraries/vendor/joomla/event/src/Dispatcher.php on line 454 and at least 3 expected

1 () JROOT/plugins/system/lscache/components/com_virtuemart.php:284
2 LSCacheComponentVirtueMart->onContentPrepare() JROOT/libraries/vendor/joomla/event/src/Dispatcher.php:454
3 Joomla\Event\Dispatcher->dispatch() JROOT/libraries/src/Application/EventAware.php:111
4 Joomla\CMS\Application\WebApplication->triggerEvent() JROOT/administrator/components/com_virtuemart/helpers/vdispatcher.php:41
5 vDispatcher::trigger() JROOT/components/com_virtuemart/helpers/shopfunctionsf.php:1160
6 shopFunctionsF::triggerContentPlugin() JROOT/components/com_virtuemart/views/productdetails/view.html.php:356
7 VirtueMartViewProductdetails->display() JROOT/components/com_virtuemart/controllers/productdetails.php:55
8 VirtueMartControllerProductdetails->display() JROOT/libraries/src/MVC/Controller/BaseController.php:730
9 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/components/com_virtuemart/virtuemart.php:133
10 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
11 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
12 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
13 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:218
14 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:261
15 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:306
16 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:58
17 require_once() JROOT/index.php:32
abraraamer commented 2 months ago

The issue has been fixed for some time now.