Author Topic: [Solved] Error after the update VirtueMart 3.8.6 10373  (Read 313 times)

elanto75

  • Beginner
  • *
  • Posts: 22
  • Skype Name: elanto75
[Solved] Error after the update VirtueMart 3.8.6 10373
« on: November 25, 2020, 16:43:49 pm »
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

dogmansa

  • Beginner
  • *
  • Posts: 24
Re: Error after the update VirtueMart 3.8.6 10373
« Reply #1 on: November 25, 2020, 16:46:20 pm »

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9906
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Error after the update VirtueMart 3.8.6 10373
« Reply #2 on: November 25, 2020, 16:46:42 pm »
 ???  search?
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

elanto75

  • Beginner
  • *
  • Posts: 22
  • Skype Name: elanto75
Re: Error after the update VirtueMart 3.8.6 10373
« Reply #3 on: November 25, 2020, 16:54:49 pm »
???  search?

Before opening a new post I did a search, the problem that in the file mod_virtuemart_cart / default.php I do not have the code that is mentioned

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9906
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Error after the update VirtueMart 3.8.6 10373
« Reply #4 on: November 25, 2020, 18:14:38 pm »
as explained in the posts .. you have "somewhere" a call to the function getCardCategoryId in an out of date extension or template, which now doesn't exist in VM..

Only you can find this as only you have access to your site files.. you can use GREP on the server to search for this string or download your likely site files ( vm related extensions and VM template files ) and search these or try with the standard template and/or disable extensions until you find it
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

elanto75

  • Beginner
  • *
  • Posts: 22
  • Skype Name: elanto75
Re: Error after the update VirtueMart 3.8.6 10373
« Reply #5 on: November 27, 2020, 11:32:37 am »
Thanks, I found the call, I deleted it and everything started working fine again!
Resolved :)

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9906
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: [Solved] Error after the update VirtueMart 3.8.6 10373
« Reply #6 on: November 27, 2020, 13:41:30 pm »
It would be helpful to say where you found it for other users with this problem
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation