صفحه شخصی افراد

Database Error; SQL: SELECT DISTINCT `t`.* FROM `wp_posts` AS `t` LEFT JOIN `wp_podsrel` AS `rel_teacher` ON `rel_teacher`.`field_id` = 784 AND `rel_teacher`.`item_id` = `t`.`ID` LEFT JOIN `wp_users` AS `teacher` ON `teacher`.`ID` = `rel_teacher`.`related_item_id` WHERE ( ( `teacher`.`id` = ) AND ( `t`.`post_type` = "manplate_product" ) AND ( `t`.`post_status` IN ( "publish" ) ) ) ORDER BY `t`.`menu_order`, `t`.`post_title`, `t`.`post_date` LIMIT 0, 15; 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 ') AND ( `t`.`post_type` = "manplate_product" ) AND ( `t`.`post_status` IN ( "pub' at line 14