Strange Error on NGINX / PHP-FPM

I'm getting the below error on a ton of pages. I looks like it has something to do with the footer - anyone smarter than me who can tell me what is actually throwing this error and why?

2014/11/19 05:57:10 [error] 23581#0: *10910 FastCGI sent in stderr: "PHP message: WordPress database error Table 'database.wp_posts' doesn't exist for query SELECT post_type, post_status, count(distinct ID) as count from wp_posts group by post_type, post_status made by require('wp-admin/plugins.php'), include('wp-admin/admin-footer.php'), do_action('admin_footer'), call_user_func_array, Sidekick->footer, sk_config_data->get_post_types_and_statuses, W3_Db->query, W3_DbCache->query, W3_DbCallUnderlying->query, W3_Db->query, W3_DbProcessor->query, W3_Db->default_query" while reading upstream, client:, server:, request: "GET /wp-admin/network/plugins.php HTTP/1.1", upstream: "fastcgi://unix:disappointed:var/run/php5-fpm.sock:", host: "", referrer: ""