Announcement

Collapse
No announcement yet.

Invalid argument supplied for foreach()

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Invalid argument supplied for foreach()

    hi
    forum ver 3.09
    after i upload the patch file for 3.10 , 3.11 this error in the header

    Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 2998

    Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 2998

    Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 2998

    i can repload the old file
    but i dont wana to upgrade now

  • #2
    Could be that one of your installed hacks is causing this, or an outdated PHP version.

    Comment


    • #3
      hi
      all i did
      upload your patch for 3.10 then 3.11
      init.php 3.10
      functions_upload.php 3.10
      functions_file.php 3.11

      i dont know about the hack
      php version 4.4.1

      Comment


      • #4
        Are you sure you uploaded the files correctly and for the correct versions?

        There was no change to functions.php and there should have been no changes to affect convert_bits_to_array which is really only called in the admin area and calendar and showthread. The required part for showthread comes from init.php though which looks fine in my file.
        Scott MacVicar

        My Blog | Twitter

        Comment

        Related Topics

        Collapse

        Working...
        X