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