[wp-trac] [WordPress Trac] #12669: Wordpress Database errors on Mac OS X 10.6 with APC enabled
WordPress Trac
wp-trac at lists.automattic.com
Mon Mar 22 12:54:18 UTC 2010
#12669: Wordpress Database errors on Mac OS X 10.6 with APC enabled
--------------------------+-------------------------------------------------
Reporter: mstralka | Owner: ryan
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: Cache | Version: 2.9.2
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
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
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12669>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list