bbPress

Simple, Fast, Elegant

bbPress support forums » Troubleshooting

Warning: Invalid argument

(4 posts)
  • Started 5 months ago by DanLudus
  • Latest reply from chrishajer
  • This topic is not resolved
  1. DanLudus
    Member

    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?

    Posted 5 months ago #
  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.

    Posted 5 months ago #
  3. DanLudus
    Member

    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

    Posted 5 months ago #
  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.

    Posted 5 months ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.