Advertisement:

Author Topic: Please help annoying "Invalid argument supplied warning code"  (Read 1894 times)

1tigerlivejob

  • Newbie
  • *
  • Posts: 2
Please help annoying "Invalid argument supplied warning code"
« 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.

« Last Edit: February 08, 2012, 05:00:25 pm by 1tigerlivejob »

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: Please help annoying "Invalid argument supplied warning code"
« Reply #1 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

1tigerlivejob

  • Newbie
  • *
  • Posts: 2
Re: Please help annoying "Invalid argument supplied warning code"
« Reply #2 on: February 08, 2012, 08:11:57 pm »
Thank you so much it worked!!  ;D