Announcement

Collapse
No announcement yet.

Warning: Invalid argument supplied for foreach

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

  • keenonyou
    replied
    Hey Trevor,

    Yes, this worked a treat and it is now working.

    Thank You for your quick reply.


    Regards,

    Lionel

    Leave a comment:


  • Trevor Hannant
    replied
    Please comment out the following lines in vb_api_client.php (this is one of the facebook app files you downloaded):

    $this->vurl->set_option(VURL_FOLLOWLOCATION, true);
    $this->vurl->set_option(VURL_MAXREDIRS, 1);

    Now see if you still have the same issue.

    Leave a comment:


  • keenonyou
    started a topic Warning: Invalid argument supplied for foreach

    Warning: Invalid argument supplied for foreach

    I have setup the facebook App., although when accessing the Forums Tab of the app, the following PHP error is displayed:

    Warning: Invalid argument supplied for foreach() in/home.../forums.php on line 28

    Looking at the code it would seems that the Forum Section may not have been set. Can you please let me know if this is an issue on my end, if so what areas should I be looking to check... Access to DB?

    Thank You,

    Lionel

Related Topics

Collapse

Working...
X