VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: svetochek on February 02, 2013, 14:51:14 PM

Title: Can you please tell whether it is possible to correct the error in the plugin
Post by: svetochek on February 02, 2013, 14:51:14 PM
Good day!
Tell me, is it possible to correct the error Warning: Invalid argument supplied for foreach () in / home / modnayalav / www.modnaya-lavochka.ru / docs / plugins / vmcustom / stockable.php on line 229
The failure occurred after upgrading to the new version virtumart.
Joomla version 1.5.25
Virtumart version 2.0.18a
The developers have said that the old template version of Joomla, and I should appeal to you for help.

Help me please.
Title: Re: Can you please tell whether it is possible to correct the error in the plugin
Post by: jenkinhill on February 02, 2013, 20:29:38 PM
You are using Joomla 1.5 which has not been supported since Otober last year. (http://virtuemart.net/news/list-all-news/426-end-of-life-for-virtuemart-11-heidelpay-now-in-virtuemart-2012)  The VM2 code is now written for Joomla 2.5

Various people have noted this php warning message, which can be turned off - http://forum.virtuemart.net/index.php?topic=102555.0

If the site is still working OK  then maybe you could just turn off warning reporting and carry on, or even revert to the last working version if there were no problems with your site.  At some stage you will have to look at migrating to Joomla 2.5, which will mean updating your Joomla template, too.

There is a good article about the use of stockable variants in Spanish - http://magazine.joomla.org/es/international-stories-all/articles-in-spanish-all/virtuemart-plugins-stokable-variants  and a long thread about issues here with the developer of that plugin: http://forum.virtuemart.net/index.php?topic=103067.0
Title: Re: Can you please tell whether it is possible to correct the error in the plugin
Post by: svetochek on February 02, 2013, 22:16:06 PM
Thanks for the reply! I restored a working version of the site before the upgrade, which worked fine. Again began to get this error. What I can do with it now? About the transition to Joomla 2.5 I thought, but still needed in this kind of store.
The question is not only what comes out the mistake, the plugin does not work, as soon as it begins to emerge.