Re: Error messages with bbPress and WP’s WP_CACHE
Hi Sam,
Thanks for that detailed post. I’ve added this post to my favorites so I can come back to it.
However, at this time, I’m not going to upgrade until bbPress reaches official version 1 status.
I’ve temporarily gotten rid of the warning messages by doing the following:
Line 71 of bbPress 1.o alpha 6:
$_cached_ids = join( ',', array_map( 'intval', (array)$cached_ids ) );
Lines 86-89 of bbPress 1.o alpha 6:
if(!empty($cached_ids)) {
foreach ( $cached_ids as $cached_id )
$this->results[] = $trans[$cached_id];
}
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.