Author Topic: Error: Call to undefined method plgVmPaymentStandard::addVarsToPushCore()  (Read 320 times)

gnfr

  • Beginner
  • *
  • Posts: 3
  • A beginner
Hi all, 
I have a Joomla (version 3.9.11 Stable) website with VirtueMart plugin installed (version 3.4.2). Everytime I logged to administration panel in I received a message to update 3 outdated plugins (language plugins. Our site is in spanish) . Finally I decided to updated it. But after I updated these plugins I get the following error Call to undefined method plgVmPaymentStandard::addVarsToPushCore() and cannot even enter my website store. Could you help to solve this problem? I did a search in the forum but I didn't find a thread that answers my question, so any help will be appreciated.
Please, just let me know if extra information is needed in order to help me. Thanks in advance

Regards

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9143
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: Error: Call to undefined method plgVmPaymentStandard::addVarsToPushCore()
« Reply #1 on: September 20, 2019, 18:35:29 pm »
What did u update exactly?

Sounds like u updated the plugins but not the core component

Possibly if u rename   \plugins\vmpayment\standard\standard.php  to 

plugins\vmpayment\standard\standard.php___

you may be able to re-access your site

if not u probably need to unpublish the VM Standard Payment plugin directly in your database
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

gnfr

  • Beginner
  • *
  • Posts: 3
  • A beginner
Re: Error: Call to undefined method plgVmPaymentStandard::addVarsToPushCore()
« Reply #2 on: September 20, 2019, 20:07:18 pm »
Thank you so much GJC Web Design, it worked! I just had to rename the file like you said and now the site is up again.

However, what do you mean when you said
Quote
Sounds like u updated the plugins but not the core component

I'm asking you cause I don't want this problem to happen again.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9143
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: Error: Call to undefined method plgVmPaymentStandard::addVarsToPushCore()
« Reply #3 on: September 20, 2019, 21:53:16 pm »
there is a new function in the core component ( VM3.6.0 ) called addVarsToPushCore() which is called by the VM3.6.0 plugins ( shipping & payment)

If your standard payment plugin is calling function addVarsToPushCore() then this means its version 3.6.0 -
but as it failed to find the function in the VM core this means the core is not 3.6.0

There is a bug fix VM3.6.2 to be released very soon  - I recommend you wait for this to upgrade to... 
ist the core  - then the AIO ( extensions and plugins)
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

gnfr

  • Beginner
  • *
  • Posts: 3
  • A beginner
Re: Error: Call to undefined method plgVmPaymentStandard::addVarsToPushCore()
« Reply #4 on: September 23, 2019, 13:18:13 pm »
Ok, I get it, I'll wait then. Thanks for your help GJC. Regards!

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9143
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
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