News:

Looking for documentation? Take a look on our wiki

Main Menu

Error: Call to undefined method plgVmPaymentStandard::addVarsToPushCore()

Started by gnfr, September 20, 2019, 17:53:50 PM

Previous topic - Next topic

gnfr

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

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 https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

gnfr

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
QuoteSounds 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

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 https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

gnfr


GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation