VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: welrachid on December 11, 2014, 22:29:57 PM

Title: Fresh install gives joomla error. Not sure if its a VM or Joomla error
Post by: welrachid on December 11, 2014, 22:29:57 PM
Hi

im getting a lot of
Warning: Invalid argument supplied for foreach() in /www/129090/htdocs/libraries/joomla/form/form.php on line 1629
when trying to edit a standard customfield from a fresh install of VM. (http://dev.virtuemart.net/attachments/download/888/VirtueMart3.0.2_Joomla_2.5.27-Stable-Full_Package.zip)

I've made a short video you can see. fast forward to the last 10-15 sec if you dont want to see my steps.
https://www.youtube.com/watch?v=f5lKLzKsAPc

environment:

Setting   Value
PHP Built On   Linux smtp11 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64
Database Version   5.5.38-0+wheezy1-log
Database Collation   utf8_general_ci
PHP Version   5.4.4-14+deb7u14
Web Server   Apache/2.2.22 (Debian)
WebServer to PHP Interface   apache2handler
Joomla! Version   Joomla! 2.5.27 Stable [ Ember ] 30-September-2014 14:00 GMT
Joomla! Platform Version   Joomla Platform 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT
User Agent   Mozilla/5.0 (Windows NT 6.3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36

Title: Re: Fresh install gives joomla error. Not sure if its a VM or Joomla error
Post by: reinhold on December 12, 2014, 00:21:24 AM
Thank you for that bug report. There was indeed a problem in custom fields that were not created by a plugin (in particular the related products and the related categories custom field types). We already found the problem and have a fix available.

I can't say when Milbo released a new VM version, though.

Best regards,
Reinhold
Title: Re: Fresh install gives joomla error. Not sure if its a VM or Joomla error
Post by: Milbo on December 12, 2014, 18:25:25 PM
It is anyway not a problem, pure cosmetic, it should work as expected.
Title: Re: Fresh install gives joomla error. Not sure if its a VM or Joomla error
Post by: jlhall07 on January 23, 2015, 18:29:40 PM
Has this been corrected? I'm just did a fresh install of VM 3.0.2 and I am getting this very thing when attempting to save custom fields.
Have I missed an update or fix?
Title: Re: Fresh install gives joomla error. Not sure if its a VM or Joomla error
Post by: Milbo on January 23, 2015, 18:31:21 PM
The vm3.0.3 is already on the server http://dev.virtuemart.net/projects/virtuemart/files , but this weekend will come a new one.