Forums

Join
bbPress Support ForumsTroubleshootingWarning: Invalid argument

Info

Warning: Invalid argument

  1. I've installed the bbpress forum, but I received this error:

    Warning: Invalid argument supplied for foreach() in /var/www/vhosts/etichettando.com/subdomains/forum/httpdocs/bb-settings.php on line 169

    You can see here: http://forum.etichettando.com/

    May you help me, please?

  2. The bug you have run into is fixed in the latest trunk release, or you can see this thread and this post specifically about the change to make:

    http://bbpress.org/forums/topic/php-error-messages?replies=12#post-13143

    It's been discussed before as well:
    http://bbpress.org/forums/topic/warning-invalid-argument-supplied-for-foreach-in-bb-settingsphp-on-line-173
    http://bbpress.org/forums/topic/installation-problem-cannot-modify-header-information

    It's just a php warning, and your server is configured to show warnings, so you see it. It does point to a problem with the code, but even with the warning, everything still works fine.

  3. Thanks for the answer.

    I have read e make changes... now I have another warning:
    Warning: Invalid argument supplied for foreach() in /var/www/vhosts/etichettando.com/subdomains/forum/httpdocs/bb-settings.php on line 294

  4. What version bbPress did you install? I don't see a line 294 in my bb-settings.php.

    But, the solution is going to be the same as before. I can't help you with the actual change since I can't actually find the line you're talking about.

  5. You must log in to post.