Database Error; SQL: SELECT DISTINCT `t`.* FROM `isp_wp_pods_custom_device_ipad` AS `t` WHERE ( t.`id` = ) ORDER BY `t`.`custom_device_ipad_name`, `t`.`id` LIMIT 0, 100; 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`.`custom_device_' at line 7