﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
12669	Wordpress Database errors on Mac OS X 10.6 with APC enabled	mstralka	ryan	"Originally posted here:
http://wordpress.org/support/topic/378252

Mac OS X Snow Leopard 10.6

Wordpress 2.9.2

PHP 5.3.0

APC 3.0.19 enabled

When I try to run WP 2.9.2 with APC enabled, I see the following errors in the logs, and the site shows blank white pages after the 1st load:
{{{
WordPress database error: [ $db->get_row(string query, output type, int offset) -- Output type must be one of: OBJECT, ARRAY_A, ARRAY_N]
SELECT * FROM wp_users WHERE ID = 1 LIMIT 1

WordPress database error: [ $db->get_row(string query, output type, int offset) -- Output type must be one of: OBJECT, ARRAY_A, ARRAY_N]
SELECT * FROM wp_users WHERE ID = 1 LIMIT 1

WordPress database error: [ $db->get_row(string query, output type, int offset) -- Output type must be one of: OBJECT, ARRAY_A, ARRAY_N]
SELECT * FROM wp_usermeta WHERE user_id = 0 AND meta_key = ''

WordPress database error: [ $db->get_row(string query, output type, int offset) -- Output type must be one of: OBJECT, ARRAY_A, ARRAY_N]
SELECT * FROM wp_users WHERE ID = 1 LIMIT 1
}}}
If I disable APC it works fine, but I need APC enabled for other projects I work on locally.

I've tried creating apc filters as suggested here: http://wordpress.org/support/topic/225573?replies=5#post-1033606 but that didn't help

I've tried setting the following in wp-config.php but it didn't help either
{{{
define('WP_CACHE', false);
}}}


Thanks"	defect (bug)	closed	normal		Cache	2.9.2	normal	invalid		
