News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Cannot edit article with stockable items after upgrading VM2 -> VM3

Started by Greg-Baud, January 25, 2015, 13:43:26 PM

Previous topic - Next topic

Greg-Baud

I upgraded VirtueMart (in a test environment) from VM2 to VM3. As I use stockable subitems, I ran the tool "Remove old vm2 inherited customfields, as described in
http://docs.virtuemart.net/tutorials/installation-migration-upgrade/198-upgrade-virtuemart-2-to-virtuemart-3.html

Now when I try to edit an article which used to have stockable items, I get the following error message:
VirtueMart 3.0.2

Warning: Invalid argument supplied for foreach() in /home/greg-baud.nl/public_html/Test3.3/administrator/components/com_virtuemart/plugins/vmcustomplugin.php on line 100

Fatal error: Call to undefined method JUtility::getToken() in /home/greg-baud.nl/public_html/Test3.3/plugins/vmcustom/stockable/stockable.php on line 134

GJC Web Design

well - first - /plugins/vmcustom/stockable/stockable.php  i.e the VM2 stockable plugin isn't used and doesn't work in VM3
it should at the very least be unpublished .. uninstalled would be better
balai has released a beta new one for VM3 - search forum..

but I have no idea if it will take the VM custom settings - I suspect not

read on here our Max advises to do stockable children - but you can't have multiple options as I understand it
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

Greg-Baud

I could not uninstall that plugin, but I was able to disable it.
that worked, I can now edit the articles again.
thanks for helping out