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:
PHP Error Messages
It’s been discussed before as well:
https://bbpress.org/forums/topic/warning-invalid-argument-supplied-for-foreach-in-bb-settingsphp-on-line-173
https://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.
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
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.