<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>bbPress Support Forums Tag: bbplugindir</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress Support Forums Tag: bbplugindir</description>
<language>en</language>
<pubDate>Thu, 08 Jan 2009 23:36:58 +0000</pubDate>

<item>
<title>decavolt on "Warning: Invalid argument supplied for foreach() in /bb-settings.php on line 173"</title>
<link>http://bbpress.org/forums/topic/warning-invalid-argument-supplied-for-foreach-in-bb-settingsphp-on-line-173#post-13201</link>
<pubDate>Thu, 17 Jan 2008 17:42:38 +0000</pubDate>
<dc:creator>decavolt</dc:creator>
<guid isPermaLink="false">13201@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thanks Neziniux for that fix and the link.&#60;br /&#62;
My forum was working just fine until today when I started seeing these warnings.
&#60;/p&#62;</description>
</item>
<item>
<title>Neziniux on "Warning: Invalid argument supplied for foreach() in /bb-settings.php on line 173"</title>
<link>http://bbpress.org/forums/topic/warning-invalid-argument-supplied-for-foreach-in-bb-settingsphp-on-line-173#post-12848</link>
<pubDate>Sat, 22 Dec 2007 18:56:04 +0000</pubDate>
<dc:creator>Neziniux</dc:creator>
<guid isPermaLink="false">12848@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I spent a whole day trying to resolve the same problem, until I came accross a sollution. Try the following improvements, worked for me.&#60;/p&#62;
&#60;p&#62;In the bb-settings.php version 0.8.3 line 172 find the code:&#60;/p&#62;
&#60;p&#62;if ( is_callable( 'glob' ) )&#60;br /&#62;
    foreach ( glob(BBPLUGINDIR . '_*.php') as $_plugin )&#60;br /&#62;
        require($_plugin);&#60;/p&#62;
&#60;p&#62;Replace it with:&#60;/p&#62;
&#60;p&#62;if ( is_callable( 'glob' ) ) {&#60;br /&#62;
    $pluginarray = glob(BBPLUGINDIR . '_*.php');&#60;br /&#62;
    if ($pluginarray)&#60;br /&#62;
        foreach ( $pluginarray as $_plugin )&#60;br /&#62;
            require($_plugin);&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;The source (in German): &#60;a href=&#34;http://www.brusdeylins.info/bbpress/problem-in-bb-settings/#comment-67&#34; rel=&#34;nofollow&#34;&#62;http://www.brusdeylins.info/bbpress/problem-in-bb-settings/#comment-67&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>gmcosta on "Warning: Invalid argument supplied for foreach() in /bb-settings.php on line 173"</title>
<link>http://bbpress.org/forums/topic/warning-invalid-argument-supplied-for-foreach-in-bb-settingsphp-on-line-173#post-11636</link>
<pubDate>Tue, 23 Oct 2007 19:35:33 +0000</pubDate>
<dc:creator>gmcosta</dc:creator>
<guid isPermaLink="false">11636@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I did this using PHP 4 at localhost and the warning message still appear
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "Warning: Invalid argument supplied for foreach() in /bb-settings.php on line 173"</title>
<link>http://bbpress.org/forums/topic/warning-invalid-argument-supplied-for-foreach-in-bb-settingsphp-on-line-173#post-11316</link>
<pubDate>Sat, 06 Oct 2007 18:54:03 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">11316@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;It's good that fixed it, but now I am curious why it was broken.  What version of PHP are you using?
&#60;/p&#62;</description>
</item>
<item>
<title>jschleifer on "Warning: Invalid argument supplied for foreach() in /bb-settings.php on line 173"</title>
<link>http://bbpress.org/forums/topic/warning-invalid-argument-supplied-for-foreach-in-bb-settingsphp-on-line-173#post-11309</link>
<pubDate>Sat, 06 Oct 2007 04:22:58 +0000</pubDate>
<dc:creator>jschleifer</dc:creator>
<guid isPermaLink="false">11309@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;thanks for trying to solve this chris!  I went and tried your options..&#60;/p&#62;
&#60;p&#62;&#34;are there any underscore plugins in the plugin directory?&#34;&#60;/p&#62;
&#60;p&#62;nope, there's nothing at all in the plugin directory.&#60;/p&#62;
&#60;p&#62;&#34;What if you put an underscore plugin in that orlder, if there are none now?&#34;&#60;/p&#62;
&#60;p&#62;well I'll be.. I simply touched my-plugins/_test.php&#60;/p&#62;
&#60;p&#62;and it worked.  &#60;/p&#62;
&#60;p&#62;that's just crazy weird.. huh.  thanks for the help! :)
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "Warning: Invalid argument supplied for foreach() in /bb-settings.php on line 173"</title>
<link>http://bbpress.org/forums/topic/warning-invalid-argument-supplied-for-foreach-in-bb-settingsphp-on-line-173#post-11278</link>
<pubDate>Fri, 05 Oct 2007 03:11:11 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">11278@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;These are completely wild guesses, just stalling and bumping the thread until someone knowledgeable comes along.&#60;/p&#62;
&#60;p&#62;Are there any underscore plugins in the plugin directory?  What if you put an underscore plugin in that folder, if there are none now?&#60;/p&#62;
&#60;p&#62;Is it possible &#60;code&#62;glob&#60;/code&#62; is disabled in your php.ini, and the conditional in this file is not working properly when &#60;code&#62;glob&#60;/code&#62; is disabled (create a phpinfo file and look for the disabled_functions section to see if glob is there.&#60;/p&#62;
&#60;p&#62;That's all I've got right now :-)
&#60;/p&#62;</description>
</item>
<item>
<title>jschleifer on "Warning: Invalid argument supplied for foreach() in /bb-settings.php on line 173"</title>
<link>http://bbpress.org/forums/topic/warning-invalid-argument-supplied-for-foreach-in-bb-settingsphp-on-line-173#post-11274</link>
<pubDate>Thu, 04 Oct 2007 15:29:29 +0000</pubDate>
<dc:creator>jschleifer</dc:creator>
<guid isPermaLink="false">11274@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I checked file permissions &#38;#38; tried it both with files in it, and without.. permissions were fine, and the number of files in the directory made no difference to the error.  I even tried it w/out the directory there, same error. :(
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "Warning: Invalid argument supplied for foreach() in /bb-settings.php on line 173"</title>
<link>http://bbpress.org/forums/topic/warning-invalid-argument-supplied-for-foreach-in-bb-settingsphp-on-line-173#post-11271</link>
<pubDate>Thu, 04 Oct 2007 15:15:09 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">11271@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Is it possible there are no php files in that directory, so the array is empty?  File permissions making them unreadable?
&#60;/p&#62;</description>
</item>
<item>
<title>jschleifer on "Warning: Invalid argument supplied for foreach() in /bb-settings.php on line 173"</title>
<link>http://bbpress.org/forums/topic/warning-invalid-argument-supplied-for-foreach-in-bb-settingsphp-on-line-173#post-11266</link>
<pubDate>Thu, 04 Oct 2007 06:12:28 +0000</pubDate>
<dc:creator>jschleifer</dc:creator>
<guid isPermaLink="false">11266@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I just upgraded to the latest wordpress 2.3 and bbpress 0.8.3 and now when I try and access any page I get the following error at the top of the page:&#60;/p&#62;
&#60;p&#62;Warning: Invalid argument supplied for foreach() in bb-settings.php on line 173&#60;/p&#62;
&#60;p&#62;I checked the bb-settings.php file and the line looks like:&#60;br /&#62;
foreach ( glob(BBPLUGINDIR . '_*.php') as $_plugin )&#60;/p&#62;
&#60;p&#62;I checked BBPLUGINDIR to see if it's been set correctly, and it does indeed point to the location of my-plugins.&#60;/p&#62;
&#60;p&#62;I'm running PHP5 with a mamp server on os x.. I've never had a problem with bbpress before (being using it for a few months now), and only saw this error with the upgrade.&#60;/p&#62;
&#60;p&#62;has anyone else seen this, or know how to remove it?&#60;/p&#62;
&#60;p&#62;cheers,&#60;br /&#62;
Jason
&#60;/p&#62;</description>
</item>

</channel>
</rss>
