<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
		>
	<channel>
		<title>bbPress Support Forums &#187; Tag: bbplugindir - Recent Posts</title>
		<link>http://bbpress.org/forums/tags/bbplugindir</link>
		<description>bbPress Support Forums &#187; Tag: bbplugindir - Recent Posts</description>
		<language>en-US</language>
		<pubDate>Fri, 25 May 2012 14:53:43 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
				<atom:link href="http://bbpress.org/forums/rss/tags/bbplugindir" rel="self" type="application/rss+xml" />

		<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><![CDATA[<p>Thanks Neziniux for that fix and the link.<br />
My forum was working just fine until today when I started seeing these warnings.
</p>]]></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><![CDATA[<p>I spent a whole day trying to resolve the same problem, until I came accross a sollution. Try the following improvements, worked for me.</p>
<p>In the bb-settings.php version 0.8.3 line 172 find the code:</p>
<p>if ( is_callable( 'glob' ) )<br />
    foreach ( glob(BBPLUGINDIR . '_*.php') as $_plugin )<br />
        require($_plugin);</p>
<p>Replace it with:</p>
<p>if ( is_callable( 'glob' ) ) {<br />
    $pluginarray = glob(BBPLUGINDIR . '_*.php');<br />
    if ($pluginarray)<br />
        foreach ( $pluginarray as $_plugin )<br />
            require($_plugin);<br />
}</p>
<p>The source (in German): <a href="http://www.brusdeylins.info/bbpress/problem-in-bb-settings/#comment-67" rel="nofollow">http://www.brusdeylins.info/bbpress/problem-in-bb-settings/#comment-67</a>
</p>]]></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><![CDATA[<p>I did this using PHP 4 at localhost and the warning message still appear
</p>]]></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><![CDATA[<p>It's good that fixed it, but now I am curious why it was broken.  What version of PHP are you using?
</p>]]></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><![CDATA[<p>thanks for trying to solve this chris!  I went and tried your options..</p>
<p>"are there any underscore plugins in the plugin directory?"</p>
<p>nope, there's nothing at all in the plugin directory.</p>
<p>"What if you put an underscore plugin in that orlder, if there are none now?"</p>
<p>well I'll be.. I simply touched my-plugins/_test.php</p>
<p>and it worked.  </p>
<p>that's just crazy weird.. huh.  thanks for the help! :)
</p>]]></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><![CDATA[<p>These are completely wild guesses, just stalling and bumping the thread until someone knowledgeable comes along.</p>
<p>Are there any underscore plugins in the plugin directory?  What if you put an underscore plugin in that folder, if there are none now?</p>
<p>Is it possible <code>glob</code> is disabled in your php.ini, and the conditional in this file is not working properly when <code>glob</code> is disabled (create a phpinfo file and look for the disabled_functions section to see if glob is there.</p>
<p>That's all I've got right now :-)
</p>]]></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><![CDATA[<p>I checked file permissions &#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. :(
</p>]]></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><![CDATA[<p>Is it possible there are no php files in that directory, so the array is empty?  File permissions making them unreadable?
</p>]]></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><![CDATA[<p>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:</p>
<p>Warning: Invalid argument supplied for foreach() in bb-settings.php on line 173</p>
<p>I checked the bb-settings.php file and the line looks like:<br />
foreach ( glob(BBPLUGINDIR . '_*.php') as $_plugin )</p>
<p>I checked BBPLUGINDIR to see if it's been set correctly, and it does indeed point to the location of my-plugins.</p>
<p>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.</p>
<p>has anyone else seen this, or know how to remove it?</p>
<p>cheers,<br />
Jason
</p>]]></description>
					</item>

	</channel>
</rss>

