Opened 15 years ago
Closed 15 years ago
#12669 closed defect (bug) (invalid)
Wordpress Database errors on Mac OS X 10.6 with APC enabled
Reported by: | mstralka | Owned by: | ryan |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.9.2 |
Component: | Cache API | Keywords: | |
Focuses: | Cc: |
Description
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
Change History (1)
Note: See
TracTickets for help on using
tickets.
(This is a support question.)