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

Can you please tell whether it is possible to correct the error in the plugin

Started by svetochek, February 02, 2013, 14:51:14 PM

Previous topic - Next topic

svetochek

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.

jenkinhill

You are using Joomla 1.5 which has not been supported since Otober last year.  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
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

svetochek

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.