prueba vdv
September 25, 2017
Database Error; SQL: SELECT DISTINCT `t`.* FROM `wp_posts` AS `t` LEFT JOIN `wp_podsrel` AS `rel_wineryy` ON `rel_wineryy`.`field_id` = 35 AND `rel_wineryy`.`item_id` = `t`.`ID` LEFT JOIN `wp_posts` AS `wineryy` ON `wineryy`.`ID` = `rel_wineryy`.`related_item_id` WHERE ( ( `wineryy`.`ID`= ) AND ( `t`.`post_type` = "wine" ) 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 MariaDB server version for the right syntax to use near ') AND ( `t`.`post_type` = "wine" ) AND ( `t`.`post_status` IN ( "publish" ) ) ) ' at line 14