VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: gnfr on September 20, 2019, 17:53:50 PM

Title: Error: Call to undefined method plgVmPaymentStandard::addVarsToPushCore()
Post by: gnfr on September 20, 2019, 17:53:50 PM
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
Title: Re: Error: Call to undefined method plgVmPaymentStandard::addVarsToPushCore()
Post by: GJC Web Design 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
Title: Re: Error: Call to undefined method plgVmPaymentStandard::addVarsToPushCore()
Post by: gnfr 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
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.
Title: Re: Error: Call to undefined method plgVmPaymentStandard::addVarsToPushCore()
Post by: GJC Web Design 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)
Title: Re: Error: Call to undefined method plgVmPaymentStandard::addVarsToPushCore()
Post by: gnfr on September 23, 2019, 13:18:13 PM
Ok, I get it, I'll wait then. Thanks for your help GJC. Regards!
Title: Re: Error: Call to undefined method plgVmPaymentStandard::addVarsToPushCore()
Post by: GJC Web Design on September 23, 2019, 15:05:45 PM
http://dev.virtuemart.net/attachments/1187/com_virtuemart.3.6.2.10155.zip