Author Topic: [solved] Error updating to higher version than VM 3.4.3.10014  (Read 353 times)

vep87895

  • Beginner
  • *
  • Posts: 9
  • A beginner
[solved] Error updating to higher version than VM 3.4.3.10014
« on: September 04, 2019, 09:41:48 am »
I got some weird problem with one of my websites which is running vm 3.4.0, if I try to update to a higher version than 3.4.3.10014 it throws me an error when installing the vm aio part, the error is:
Call to undefined method plgVmPaymentStandard::addVarsToPushCore()

Something must have changed between version 3.4.3.10014 and 3.4.3.10020 that triggers this error, that's the only clue I got so far. I've tried every version from 3.4.3.10020 to the latest 3.6.0 and they all generate this error.

I'm running Joomla! 3.9.11 / PHP 7.3.8 / MariaDB 10.1.41

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3505
  • using Matomo instead of Google Analytics
Re: Error updating to higher version than VM 3.4.3.10014
« Reply #1 on: September 04, 2019, 11:30:56 am »
I can't reproduce that when I update a Joomla 3.9.11/VirtueMart 3.4.0 installation. In my case the update works fine. (Only difference is that I run it on PHP 7.1.x). Do you have any restrictions set in your published standard payment method, like for example minimum and/or maximum amount, countries, etc?

Check the tmp folder on your server, and remove all files there, which might be leftovers from unsuccessful VM updates, before you try to install the AIO again.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9046
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: Error updating to higher version than VM 3.4.3.10014
« Reply #2 on: September 04, 2019, 13:06:48 pm »
the function addVarsToPushCore() is present in VM3.6.0 vmpsplugin.php ...  are u sure u are installing the core 3.6.0 then the AIO?
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

vep87895

  • Beginner
  • *
  • Posts: 9
  • A beginner
Re: Error updating to higher version than VM 3.4.3.10014
« Reply #3 on: September 04, 2019, 13:12:52 pm »
Yes I have 3 published standard payments all with country restrictions, no amount restrictions though.

I removed all files in the tmp folder and also tried with PHP 7.1.31 but no luck still the same error.

the function addVarsToPushCore() is present in VM3.6.0 vmpsplugin.php ...  are u sure u are installing the core 3.6.0 then the AIO?

Yes the core first and then the AIO.

edit: I should also mention that I have two more vm stores on the same server where the update to 3.6.0 worked fine, the main difference between those two and the one that gets the error is that they have only one language and one country set.

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3505
  • using Matomo instead of Google Analytics
Re: Error updating to higher version than VM 3.4.3.10014
« Reply #4 on: September 04, 2019, 15:15:51 pm »
the main difference between those two and the one that gets the error is that they have only one language and one country set.
Just for information: my successful update test from VM 3.4.0 was with 2 languages and 3 countries selected in the standard payment plugin.
Does the system show a more detailed error information if you set Joomla debug to 'maximum' or 'develpment' before you try to update the AIO?
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

vep87895

  • Beginner
  • *
  • Posts: 9
  • A beginner
Re: Error updating to higher version than VM 3.4.3.10014
« Reply #5 on: September 04, 2019, 17:13:23 pm »
It does not show any more error information when I set reporting to maximum before updating.

I also tried deleting all the three standard payment methods (before updating) but no luck there either.

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9919
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Error updating to higher version than VM 3.4.3.10014
« Reply #6 on: September 04, 2019, 18:18:37 pm »
I got some weird problem with one of my websites which is running vm 3.4.0, if I try to update to a higher version than 3.4.3.10014 it throws me an error when installing the vm aio part, the error is:
Call to undefined method plgVmPaymentStandard::addVarsToPushCore()


I hope you know, that you can usually always directly update to the LAST most recent version? Please directly use vm3.6.10013
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3505
  • using Matomo instead of Google Analytics
Re: Error updating to higher version than VM 3.4.3.10014
« Reply #7 on: September 04, 2019, 22:03:54 pm »
I'm pretty sure Milbo wanted to write: Please directly use vm3.6.10113
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9919
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Error updating to higher version than VM 3.4.3.10014
« Reply #8 on: September 04, 2019, 22:27:05 pm »
lol, right
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

vep87895

  • Beginner
  • *
  • Posts: 9
  • A beginner
Re: Error updating to higher version than VM 3.4.3.10014
« Reply #9 on: September 05, 2019, 13:02:29 pm »
I finally found what was causing the error, it was an old outdated version of the plugin VP Payment by Shipment (1.2), when disabled everything works as it should. The reason I didn't update this plugin earlier to 2.0 was that my credit card plugin (Dibs) only worked with version 1.2, so now I only have to figure out a solution to that.

I hope you know, that you can usually always directly update to the LAST most recent version? Please directly use vm3.6.10013

Yes I know, that's what I was doing at first directly from 3.4 to 3.6 but when I got the error I started to try every vm version in between to maybe find a clue of what was going on. Anyway, thanks for the help guys.

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9919
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: [solved] Error updating to higher version than VM 3.4.3.10014
« Reply #10 on: September 06, 2019, 15:22:44 pm »
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/