Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Responsive Joomla Virtuemart Template - Asymmetric (SKU# FLEX-00017)

TOPIC: [Solved] Error after the update VirtueMart 3.8.6

[Solved] Error after the update VirtueMart 3.8.6 1 month 4 weeks ago #15931

Good morning,
after the update every time I put a product in the cart I get the following error:
Error: Call to undefined method Error :: get (): Call to undefined method VirtueMartCart :: getCardCategoryId ()
and all the pages remained blank.
How can I solve?
Thanks
Joomla: 3.9.23
VirtueMart 3.8.6 10373
Last Edit: 1 month 2 weeks ago by Antonio Brunno.
The administrator has disabled public write access.

Error after the update VirtueMart 3.8.6 10373 1 month 2 weeks ago #15933

Hi,

1- Find and open this file:
/plugins/system/FlexibleVm3cart/FlexibleVm3cart.php

2- Find this line:
$category_id = $this->_cart->getCardCategoryId($product->virtuemart_product_id);

3- Replace that line with this:
$category_id = $product->virtuemart_category_id;

and the problem will be gone.

Regards.
The administrator has disabled public write access.

Error after the update VirtueMart 3.8.6 10373 1 month 2 weeks ago #15934

Thanks!
The administrator has disabled public write access.
Time to create page: 0.106 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo