WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 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)

comment:1 nacin4 years ago

  • Milestone Unassigned deleted
  • Resolution set to invalid
  • Status changed from new to closed

(This is a support question.)

Note: See TracTickets for help on using tickets.