
WordPress database error: [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 Filetype = 'logod'' at line 32]select p.ID AS ID, p.post_author AS post_author, p.post_date AS post_date, p.post_date_gmt AS post_date_gmt, p.post_content AS post_content, p.post_title AS post_title, p.post_excerpt AS post_excerpt, p.post_status AS post_status, p.comment_status AS comment_status, p.ping_status AS ping_status, p.post_password AS post_password, p.post_name AS post_name, p.to_ping AS to_ping, p.pinged AS pinged, p.post_modified AS post_modified, p.post_modified_gmt AS post_modified_gmt, p.post_content_filtered AS post_content_filtered, p.post_parent AS post_parent, p.guid AS guid, p.menu_order AS menu_order, p.post_type AS post_type, p.post_mime_type AS post_mime_type, p.comment_count AS comment_count, f.FileID AS FileID, f.FileDealID AS FileDealID, f.FileType AS FileType, f.FileTitle AS FileTitle, f.FileName AS FileName, f.FileDisplayOrder as FileDisplayOrder, f.FileSize AS FileSize from ( files f left join wp_posts pon(p.id = f.filepostid) and (p.post_type = 'attachment')) where FileDealID = and Filetype = 'logod'
WordPress database error: [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 (left(FileType,4) = 'link' or left(FileType,3) = 'doc') and TRIM(IFNULL...' at line 32]select p.ID AS ID, p.post_author AS post_author, p.post_date AS post_date, p.post_date_gmt AS post_date_gmt, p.post_content AS post_content, p.post_title AS post_title, p.post_excerpt AS post_excerpt, p.post_status AS post_status, p.comment_status AS comment_status, p.ping_status AS ping_status, p.post_password AS post_password, p.post_name AS post_name, p.to_ping AS to_ping, p.pinged AS pinged, p.post_modified AS post_modified, p.post_modified_gmt AS post_modified_gmt, p.post_content_filtered AS post_content_filtered, p.post_parent AS post_parent, p.guid AS guid, p.menu_order AS menu_order, p.post_type AS post_type, p.post_mime_type AS post_mime_type, p.comment_count AS comment_count, f.FileID AS FileID, f.FileDealID AS FileDealID, f.FileType AS FileType, f.FileTitle AS FileTitle, f.FileName AS FileName, f.FileDisplayOrder as FileDisplayOrder, f.FileSize AS FileSize from ( files f left join wp_posts pon(p.id = f.filepostid) and (p.post_type = 'attachment')) where FileDealID = and (left(FileType,4) = 'link' or left(FileType,3) = 'doc') and TRIM(IFNULL(f.FileName,'')) <> '' and TRIM(IFNULL(f.fileTitle,'')) <> '' order by CASE WHEN FileDisplayOrder = 0 THEN 'b' WHEN FileDisplayOrder <= 99 THEN 'a' WHEN FileDisplayOrder = 100 THEN 'c' END,filedisplayorder