DB QUERY FAILED: [Commands out of sync; you can't run this command now] QUERY: [SELECT ID FROM wp_posts WHERE YEAR(post_date) = ? AND MONTH(post_date) = ? AND DAY(post_date) = ? AND post_name = ?] PARAMS: [2012, 5, 9, president-obama-affirms-support-for-same-sex-marriages]

#0 brs_db_error(Commands out of sync; you can't run this command now, SELECT ID FROM wp_posts WHERE YEAR(post_date) = ? AND MONTH(post_date) = ? AND DAY(post_date) = ? AND post_name = ?, Array ([0] => 2012,[1] => 5,[2] => 9,[3] => president-obama-affirms-support-for-same-sex-marriages)) called at [C:\inetpub\wwwroot\online.worldmag.com\include\core\db_layer_mysql.php:163] #1 brs_query(SELECT ID FROM wp_posts WHERE YEAR(post_date) = ? AND MONTH(post_date) = ? AND DAY(post_date) = ? AND post_name = ?, Array ([0] => 2012,[1] => 5,[2] => 9,[3] => president-obama-affirms-support-for-same-sex-marriages)) called at [C:\inetpub\wwwroot\online.worldmag.com\index.php:25]