Author Topic: Invalid argument supplied for foreach()  (Read 3411 times)

0 Members and 1 Guest are viewing this topic.

Offline dani2000

  • Pre-Newbie
  • Posts: 8
    • View Profile
Invalid argument supplied for foreach()
« on: August 16, 2002, 04:35:17 AM »
Everytime members upload their picts, there is always warning at the top of page like this:

PHP Warning: Invalid argument supplied for foreach() in /home/sloki/user/oknet/sites/www/includes/search_utils.php on line 46
Warning: Invalid argument supplied for foreach() in /home/sloki/user/oknet/sites/www/includes/search_utils.php on line 46

But uploading images is successful! It only disturb me. Any comments? Thank you!

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Invalid argument supplied for foreach()
« Reply #1 on: August 16, 2002, 10:06:48 AM »
Did you changed anything in "member.php" or "includes/search_utils.php". Or didi you changed/removed anything in the template "member_uploadform.html"?

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search