<?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; Topic: Error messages with bbPress and WP&#039;s WP_CACHE</title>
		<link>http://bbpress.org/forums/topic/error-messages-with-bbpress-and-wps-wp_cache</link>
		<description>bbPress Support Forums &#187; Topic: Error messages with bbPress and WP&#039;s WP_CACHE</description>
		<language>en-US</language>
		<pubDate>Fri, 10 Feb 2012 10:55:14 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
				<atom:link href="http://bbpress.org/forums/rss/topic/error-messages-with-bbpress-and-wps-wp_cache" rel="self" type="application/rss+xml" />

		<item>
			<title>r-a-y on "Error messages with bbPress and WP&#039;s WP_CACHE"</title>
			<link>http://bbpress.org/forums/topic/error-messages-with-bbpress-and-wps-wp_cache#post-37785</link>
			<pubDate>Mon, 29 Jun 2009 20:32:22 +0000</pubDate>
			<dc:creator>r-a-y</dc:creator>
			<guid isPermaLink="false">37785@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>@Sam<br />
Thanks for elaborating on this new class!  Anxiously waiting for bbPress v1 :)</p>
<p>@Burt<br />
Off-topic, but... wow! Post-grad particle physics?
</p>]]></description>
					</item>
		<item>
			<title>Sam Bauers on "Error messages with bbPress and WP&#039;s WP_CACHE"</title>
			<link>http://bbpress.org/forums/topic/error-messages-with-bbpress-and-wps-wp_cache#post-37769</link>
			<pubDate>Mon, 29 Jun 2009 14:52:50 +0000</pubDate>
			<dc:creator>Sam Bauers</dc:creator>
			<guid isPermaLink="false">37769@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>@r-a-y</p>
<p>There is a major incompatibility between the memcached WP_Object_Cache class that is out there and BackPress. I'm about to add a newer class to BackPress itself that will replace the currently available one.</p>
<p>Once that class is added to BackPress it should fix these problems and a few others I've found. You'll be able to use the new class by adding the following define to your config:</p>
<pre><code>define( &#39;BB_OBJECT_CACHE_TYPE&#39;, &#39;memcached&#39; );</code></pre>
<p>This will be part of bbPress 1.0
</p>]]></description>
					</item>
		<item>
			<title>Burt Adsit on "Error messages with bbPress and WP&#039;s WP_CACHE"</title>
			<link>http://bbpress.org/forums/topic/error-messages-with-bbpress-and-wps-wp_cache#post-37757</link>
			<pubDate>Mon, 29 Jun 2009 11:10:52 +0000</pubDate>
			<dc:creator>Burt Adsit</dc:creator>
			<guid isPermaLink="false">37757@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Sam, I followed your instructions above for bbpress integration and it doesn't work. The result is that if I login to bbpress, it logs me out of wpmu. If I login to wpmu it logs me out of bbpress.</p>
<p>bbpress rc3 - trunk r2162<br />
bbpress Integration plugin 1.0-rc3<br />
wpmu 2.7.1 from the download zip</p>
<p>All downloaded and installed fresh on my Windows dev box. I'll come back to this after I've finished my post graduate work in particle physics.
</p>]]></description>
					</item>
		<item>
			<title>r-a-y on "Error messages with bbPress and WP&#039;s WP_CACHE"</title>
			<link>http://bbpress.org/forums/topic/error-messages-with-bbpress-and-wps-wp_cache#post-37695</link>
			<pubDate>Sat, 27 Jun 2009 16:45:28 +0000</pubDate>
			<dc:creator>r-a-y</dc:creator>
			<guid isPermaLink="false">37695@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Hi Sam,</p>
<p>Did the var_dump.</p>
<p>Here's the result:<br />
<pre><code>array(2) {
  [0]=&#62;
  string(1) &#34;2&#34;
  [1]=&#62;
  string(1) &#34;1&#34;
}
string(0) &#34;&#34;</code></pre>
<p>[EDIT]<br />
I should state that I forgot to clear the memcached service.  How do I go about doing that?
</p>]]></description>
					</item>
		<item>
			<title>Sam Bauers on "Error messages with bbPress and WP&#039;s WP_CACHE"</title>
			<link>http://bbpress.org/forums/topic/error-messages-with-bbpress-and-wps-wp_cache#post-37670</link>
			<pubDate>Sat, 27 Jun 2009 01:42:27 +0000</pubDate>
			<dc:creator>Sam Bauers</dc:creator>
			<guid isPermaLink="false">37670@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>You could also try restarting your memcached service to clear any potentially bad buffers.
</p>]]></description>
					</item>
		<item>
			<title>Sam Bauers on "Error messages with bbPress and WP&#039;s WP_CACHE"</title>
			<link>http://bbpress.org/forums/topic/error-messages-with-bbpress-and-wps-wp_cache#post-37668</link>
			<pubDate>Sat, 27 Jun 2009 01:39:49 +0000</pubDate>
			<dc:creator>Sam Bauers</dc:creator>
			<guid isPermaLink="false">37668@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>It's probably just FALSE
</p>]]></description>
					</item>
		<item>
			<title>Sam Bauers on "Error messages with bbPress and WP&#039;s WP_CACHE"</title>
			<link>http://bbpress.org/forums/topic/error-messages-with-bbpress-and-wps-wp_cache#post-37667</link>
			<pubDate>Sat, 27 Jun 2009 01:38:32 +0000</pubDate>
			<dc:creator>Sam Bauers</dc:creator>
			<guid isPermaLink="false">37667@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>@r-a-y</p>
<p>Can you please do a <code>var_dump($cached_ids)</code> so we can find out exactly what the value of $cached_ids is?</p>
<p>Just before line 71 in that file would be the spot, before <code>$_cached_ids = join( &#39;,&#39;, array_map( &#39;intval&#39;, $cached_ids ) );</code></p>
<p>It should output something useful to the screen.
</p>]]></description>
					</item>
		<item>
			<title>r-a-y on "Error messages with bbPress and WP&#039;s WP_CACHE"</title>
			<link>http://bbpress.org/forums/topic/error-messages-with-bbpress-and-wps-wp_cache#post-37664</link>
			<pubDate>Fri, 26 Jun 2009 23:49:01 +0000</pubDate>
			<dc:creator>r-a-y</dc:creator>
			<guid isPermaLink="false">37664@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Hi Sam,</p>
<p>Thanks for that detailed post.  I've added this post to my favorites so I can come back to it.<br />
However, at this time, I'm not going to upgrade until bbPress reaches official version 1 status.</p>
<p>I've temporarily gotten rid of the warning messages by doing the following:</p>
<p>Line 71 of bbPress 1.o alpha 6:<br />
<code>$_cached_ids = join( &#39;,&#39;, array_map( &#39;intval&#39;, (array)$cached_ids ) );</code></p>
<p>Lines 86-89 of bbPress 1.o alpha 6:<br />
<pre><code>if(!empty($cached_ids)) {
			foreach ( $cached_ids as $cached_id )
				$this-&#62;results[] = $trans[$cached_id];
			}</code></pre>
<p>Yeah I know it isn't ideal as I'm probably not using the latest, optimized build of bbPress, but it gets rid of the warning messages.
</p>]]></description>
					</item>
		<item>
			<title>Sam Bauers on "Error messages with bbPress and WP&#039;s WP_CACHE"</title>
			<link>http://bbpress.org/forums/topic/error-messages-with-bbpress-and-wps-wp_cache#post-37657</link>
			<pubDate>Fri, 26 Jun 2009 21:19:29 +0000</pubDate>
			<dc:creator>Sam Bauers</dc:creator>
			<guid isPermaLink="false">37657@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>@r-a-y</p>
<p>OK then, you really need to upgrade.</p>
<p>Here's how I would do it...</p>
<ol>
<li>De-integrate cookies, clear out all cookie settings in bbPress/WordPress including hardcoded ones in configs with the exception of you secret keys (BB_AUTH_KEY and friends)</li>
<li>Upgrade to the latest Trunk of bbPress</li>
<li>Upgrade to the latest release of the bbPress Integration plugin</li>
<li>Clear all relevant cookies in your browser</li>
<li>Setup integration in WordPress first, go to the admin panel for the plugin - use the settings it gives you to use in your wp-config.php file</li>
<li>Setup integration in bbPress second, if the plugin in WordPress tells you to add a special constant to bb-config.php, do that now too. You'll need to login to bbPress separately at this stage. Only enter settings into the admin, don't try to add anything back into your bb-config.php except that one line from the WordPress plugin</li>
<li>Now you should be good to go again, clear your browser cookies and try various ways to login and logout</li>
</ol>]]></description>
					</item>
		<item>
			<title>Sam Bauers on "Error messages with bbPress and WP&#039;s WP_CACHE"</title>
			<link>http://bbpress.org/forums/topic/error-messages-with-bbpress-and-wps-wp_cache#post-37652</link>
			<pubDate>Fri, 26 Jun 2009 21:07:10 +0000</pubDate>
			<dc:creator>Sam Bauers</dc:creator>
			<guid isPermaLink="false">37652@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Visit the WordPress Codex and search for information on <code>apply_filters()</code>.</p>
<p>You can filter that array with a simple plugin.
</p>]]></description>
					</item>
		<item>
			<title>frooyo on "Error messages with bbPress and WP&#039;s WP_CACHE"</title>
			<link>http://bbpress.org/forums/topic/error-messages-with-bbpress-and-wps-wp_cache#post-37629</link>
			<pubDate>Fri, 26 Jun 2009 16:25:36 +0000</pubDate>
			<dc:creator>frooyo</dc:creator>
			<guid isPermaLink="false">37629@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>All</p>
<p>Since I've never developed a plugin for bbPress before ...</p>
<p>Does anyone mind pointing me in the direction of where I should begin.</p>
<p>I would like to attempt to port WordPress Super Cache (output cache) plugin to bbPress for non-logged in users.
</p>]]></description>
					</item>
		<item>
			<title>r-a-y on "Error messages with bbPress and WP&#039;s WP_CACHE"</title>
			<link>http://bbpress.org/forums/topic/error-messages-with-bbpress-and-wps-wp_cache#post-37628</link>
			<pubDate>Fri, 26 Jun 2009 16:20:08 +0000</pubDate>
			<dc:creator>r-a-y</dc:creator>
			<guid isPermaLink="false">37628@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Hi Sam,</p>
<p>Sorry for not being clear.<br />
I'm using object cache and not WP Super Cache.
</p>]]></description>
					</item>
		<item>
			<title>johnhiler on "Error messages with bbPress and WP&#039;s WP_CACHE"</title>
			<link>http://bbpress.org/forums/topic/error-messages-with-bbpress-and-wps-wp_cache#post-37626</link>
			<pubDate>Fri, 26 Jun 2009 15:29:26 +0000</pubDate>
			<dc:creator>johnhiler</dc:creator>
			<guid isPermaLink="false">37626@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Frooyo - I think the WP Super Cache is just being used on top of WordPress MU, which is the core engine for BuddyPress...
</p>]]></description>
					</item>
		<item>
			<title>frooyo on "Error messages with bbPress and WP&#039;s WP_CACHE"</title>
			<link>http://bbpress.org/forums/topic/error-messages-with-bbpress-and-wps-wp_cache#post-37623</link>
			<pubDate>Fri, 26 Jun 2009 13:42:22 +0000</pubDate>
			<dc:creator>frooyo</dc:creator>
			<guid isPermaLink="false">37623@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>@r-a-y</p>
<p>Are you using the WP Super Cache (output cache) with success?</p>
<p>If so, I would be EXTREMELY interested in know how you got it to work.
</p>]]></description>
					</item>
		<item>
			<title>Sam Bauers on "Error messages with bbPress and WP&#039;s WP_CACHE"</title>
			<link>http://bbpress.org/forums/topic/error-messages-with-bbpress-and-wps-wp_cache#post-37615</link>
			<pubDate>Fri, 26 Jun 2009 05:17:04 +0000</pubDate>
			<dc:creator>Sam Bauers</dc:creator>
			<guid isPermaLink="false">37615@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>There have been significant changes in the file where your errors turned up (exactly around those lines).</p>
<p>There is a good chance that the problem no longer exists, but please give us a bit more info to go on.
</p>]]></description>
					</item>
		<item>
			<title>Sam Bauers on "Error messages with bbPress and WP&#039;s WP_CACHE"</title>
			<link>http://bbpress.org/forums/topic/error-messages-with-bbpress-and-wps-wp_cache#post-37614</link>
			<pubDate>Fri, 26 Jun 2009 05:15:06 +0000</pubDate>
			<dc:creator>Sam Bauers</dc:creator>
			<guid isPermaLink="false">37614@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>That article on the BuddyPress Codex is a little confused.</p>
<p>Are you using WP-Super-Cache (output caching) or an object based cache like the memcached object cache?
</p>]]></description>
					</item>
		<item>
			<title>r-a-y on "Error messages with bbPress and WP&#039;s WP_CACHE"</title>
			<link>http://bbpress.org/forums/topic/error-messages-with-bbpress-and-wps-wp_cache#post-37610</link>
			<pubDate>Thu, 25 Jun 2009 23:49:58 +0000</pubDate>
			<dc:creator>r-a-y</dc:creator>
			<guid isPermaLink="false">37610@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>@johnhiler, I have two test environments.</p>
<p>One is on my localbox, which doesn't have WP_CACHE enabled.<br />
The second is my development server, which has WP_CACHE enabled.</p>
<p>I should add that I'm using deep integration between WPMU 2.7.1 and bbPress 1.0 alpha 6.</p>
<p>The problem only occurs on the development server, which leads me to infer that it only happens when WP_CACHE is enabled.  However, I'll turn WP_CACHE off and let you know what happens.</p>
<p>---</p>
<p>@sambauers, BuddyPress + WPMU 2.7.1 + bbPress integration works really well on bbPress 1.0 alpha 6 (cookies and all).  I haven't upgraded because I'm afraid I will break integration somehow. </p>
<p>If I were to upgrade, it will be when bbPress reaches version 1 status and when other BP developers can test out all the kinks involved with integration.
</p>]]></description>
					</item>
		<item>
			<title>frooyo on "Error messages with bbPress and WP&#039;s WP_CACHE"</title>
			<link>http://bbpress.org/forums/topic/error-messages-with-bbpress-and-wps-wp_cache#post-37608</link>
			<pubDate>Thu, 25 Jun 2009 22:37:24 +0000</pubDate>
			<dc:creator>frooyo</dc:creator>
			<guid isPermaLink="false">37608@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>@Sam</p>
<p>Does your message imply that if we use trunk, then WordPress static caching will work in bbPress?
</p>]]></description>
					</item>
		<item>
			<title>Sam Bauers on "Error messages with bbPress and WP&#039;s WP_CACHE"</title>
			<link>http://bbpress.org/forums/topic/error-messages-with-bbpress-and-wps-wp_cache#post-37603</link>
			<pubDate>Thu, 25 Jun 2009 22:06:59 +0000</pubDate>
			<dc:creator>Sam Bauers</dc:creator>
			<guid isPermaLink="false">37603@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>You should really move to a newer version, preferably trunk.
</p>]]></description>
					</item>
		<item>
			<title>johnhiler on "Error messages with bbPress and WP&#039;s WP_CACHE"</title>
			<link>http://bbpress.org/forums/topic/error-messages-with-bbpress-and-wps-wp_cache#post-37598</link>
			<pubDate>Thu, 25 Jun 2009 18:58:46 +0000</pubDate>
			<dc:creator>johnhiler</dc:creator>
			<guid isPermaLink="false">37598@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>If you turn off WP_CACHE, does the error go away?
</p>]]></description>
					</item>
		<item>
			<title>r-a-y on "Error messages with bbPress and WP&#039;s WP_CACHE"</title>
			<link>http://bbpress.org/forums/topic/error-messages-with-bbpress-and-wps-wp_cache#post-37597</link>
			<pubDate>Thu, 25 Jun 2009 18:57:42 +0000</pubDate>
			<dc:creator>r-a-y</dc:creator>
			<guid isPermaLink="false">37597@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>I forgot to mention that this error appears on the front page of bbPress.</p>
<p>If I enter a forum or topic, the error is gone.<br />
Any idea how I can troubleshoot these errors?
</p>]]></description>
					</item>
		<item>
			<title>r-a-y on "Error messages with bbPress and WP&#039;s WP_CACHE"</title>
			<link>http://bbpress.org/forums/topic/error-messages-with-bbpress-and-wps-wp_cache#post-37559</link>
			<pubDate>Thu, 25 Jun 2009 01:31:19 +0000</pubDate>
			<dc:creator>r-a-y</dc:creator>
			<guid isPermaLink="false">37559@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Hi,</p>
<p>I get the following errors when using bbPress:<br />
<pre><code>Warning: array_map() [function.array-map]: Argument #2 should be an array in /var/www/example.com/forums/bb-includes/class.bb-query.php on line 71

Warning: join() [function.join]: Bad arguments. in /var/www/example.com/forums/bb-includes/class.bb-query.php on line 71

Warning: Invalid argument supplied for foreach() in /var/www/example.com/forums/bb-includes/class.bb-query.php on line 85</code></pre>
<p>I'm using bbPress 1.0 alpha 6 and I should also mention that I have integrated BuddyPress and WordPress MU and enabled WordPress' WP_CACHE as stated here:<br />
<a href="http://codex.buddypress.org/getting-started/improving-performance/" rel="nofollow">http://codex.buddypress.org/getting-started/improving-performance/</a></p>
<p>Does that have anything to do with the error messages?</p>
<p>Thanks for reading!
</p>]]></description>
					</item>

	</channel>
</rss>

