Commentary Magazine


SQL failed; SQL: SELECT SQL_CALC_FOUND_ROWS DISTINCT `t`.*, `p`.`id` AS `pod_id`, `p`.`created`, `p`.`modified` FROM `wp_pod` AS `p` INNER JOIN `wp_pod_tbl_author` AS `t` ON `t`.`id` = `p`.`tbl_row_id` LEFT JOIN `wp_pod_rel` AS `rel_user` ON `rel_user`.`field_id` = 525 AND `rel_user`.`pod_id` = `p`.id LEFT JOIN `wp_users` AS `user` ON `user`.`ID` = `rel_user`.`tbl_row_id` WHERE `p`.`datatype` = 21 AND ( `user`.`ID` = ) ORDER BY `t`.`id` DESC LIMIT 0,1; Response: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY `t`.`id` DESC LIMIT 0,1' at line 13