after updating to joomla 3.9.16 / vm 3.6.10 i get the following error when I try to edit adress in the shoppinc cart.
Call to undefined method VirtueMartCart::setupAddressFieldsForCart()
I already tried updating template as described here http://forum.virtuemart.net/index.php?topic=141196.0 - with no success..
can anybody help?
and here is my call stack:
Call stack
# Function Location
1 () JROOT/components/com_virtuemart/views/user/view.html.php:110
2 VirtuemartViewUser->display() JROOT/components/com_virtuemart/controllers/user.php:102
3 VirtueMartControllerUser->editAddressCart() JROOT/libraries/src/MVC/Controller/BaseController.php:710
4 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/components/com_virtuemart/virtuemart.php:120
5 require_once() JROOT/libraries/src/Component/ComponentHelper.php:402
6 Joomla\CMS\Component\ComponentHelper::executeComponent() JROOT/libraries/src/Component/ComponentHelper.php:377
7 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:194
8 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:233
9 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:196
10 Joomla\CMS\Application\CMSApplication->execute() JROOT/index.php:49
Is this to do with no menu set for shopper VirtueMart » Account Maintenance?
I can't find such an option in VM Configuration? Where is it?
Joomla menus -> VM
I tried adding a separate menu with no success - still got the same error..
In com_virtuemart.3.6.10.10211 the function setupAddressFieldsForCart() exists in the cart helper and is called correctly form /views/user/view.html.php line 110
so u need to do a bit of code digging and research in your install
In last betas, if you dont set a Joomla menu link to virtuemart user view, he crash.
Please can you explain your test studio42.
I tested without any user menu links V3.6.11++
It does not crash when I edit/save shipping address in cart
i had the problem with 3.6.10.1410
because
$this->params->get('showUserShopperGrp',1);
Params are not set, if you have no menu.
I dont know if this is the case with 3.6.11, but he use 3.6.10
Quote from: joggel on March 25, 2020, 18:38:52 PM
after updating to joomla 3.9.16 / vm 3.6.10 i get the following error when I try to edit adress in the shoppinc cart.
Call to undefined method VirtueMartCart::setupAddressFieldsForCart()
I already tried updating template as described here http://forum.virtuemart.net/index.php?topic=141196.0 - with no success..
can anybody help?
Then it's possible he use a lower release as me.
Thanks for the clarification
QuoteIn last betas
So not the last betas - but some other betas that have now been adjusted so the problem is not occuring
QuoteIs this to do with no menu set for shopper VirtueMart » Account Maintenance?
but he's saying
QuoteI tried adding a separate menu with no success - still got the same error..