Osclass forums

Support forums => General help => Topic started by: 1tigerlivejob on February 08, 2012, 02:58:21 pm

Title: Please help annoying "Invalid argument supplied warning code"
Post by: 1tigerlivejob on February 08, 2012, 02:58:21 pm
Hi  Can anyone help me I  keep getting the following warning code
"Warning: Invalid argument supplied for foreach() in /home/classifi/public_html/oc-includes/osclass/frm/Field.form.class.php on line 95"
 on the Publish an item page right above the captcha box.. BUT it doesn't show until you click the "select your category tab"  check it out here http://classifiedwars.com/index.php?page=item&action=item_add      Thanks so much for any help.

Title: Re: Please help annoying "Invalid argument supplied warning code"
Post by: trains58554 on February 08, 2012, 05:36:37 pm
Hi 1tigerlivejob,

Make the following changes to /oc-includes/osclass/model/Field.php file.

https://github.com/osclass/OSClass/commit/1e3bf2f8a1a0a3cd15c580557ca042a7dc1b303c

After you make the changes that will take care of the error.

Jay
Title: Re: Please help annoying "Invalid argument supplied warning code"
Post by: 1tigerlivejob on February 08, 2012, 08:11:57 pm
Thank you so much it worked!!  ;D