VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: nineplanets on October 16, 2021, 00:06:54 AM

Title: Error trying to upgrade plugins
Post by: nineplanets on October 16, 2021, 00:06:54 AM
I'm taking over maintenance on a site using Joomla with VirtueMart, which hasn't been kept up to date, and I'm trying to get things updated to start off with.  I was able to get Joomla and the VirtueMart core updated, but if I try to update any of the VirtueMart plugins via Joomla's updater, I get "invalid extension update" and if I try to upload the AIO plugin zip via the installer, I get "Class 'vDispatcher' not found" instead.  I tried some googling of the errors, but didn't have any luck.  Anyone have any idea what the problem might be based on those errors?  I'm on Joomla 3.10.2 if that makes a difference.
Title: Re: Error trying to upgrade plugins
Post by: jenkinhill on October 16, 2021, 11:32:12 AM
The VM default plugins are installed/updated when the aio (All In One) package for the VirtueMart component is installed. If you check the list of packages on http://dev.virtuemart.net/projects/virtuemart/files  you can see the aio package listed under the related VM main component. Use Joomla's Install facility to upload each package (I find this more reliable than the updater)

(https://i.ibb.co/YNW1bhP/Ashampoo-Snap-16-October-2021-10h26m14s-002.png) (https://ibb.co/10nPbT7)
Title: Re: Error trying to upgrade plugins
Post by: nineplanets on October 18, 2021, 19:59:58 PM
Trying to use the installer to upload the AIO package is what gives me the "Class 'vDispatcher' not found" error.
Title: Re: Error trying to upgrade plugins
Post by: GJC Web Design on October 18, 2021, 22:12:33 PM
If your VM is very old you may have to upgrade the AIO step by step with each major release
Title: Re: Error trying to upgrade plugins
Post by: nineplanets on October 19, 2021, 22:26:41 PM
Thanks!  Installing the AIO from each major release did the trick.