Feed Standings
Database Error; SQL: SELECT
DISTINCT
`t`.*
FROM `wp2021_posts` AS `t`
LEFT JOIN `wp2021_postmeta` AS `inactive` ON
`inactive`.`meta_key` = 'inactive'
AND `inactive`.`post_id` = `t`.`ID`
WHERE ( ( AND `inactive`.`meta_value` = '0' ) AND ( `t`.`post_type` = 'school' ) AND ( `t`.`post_status` IN ( 'publish' ) ) )
ORDER BY `t`.`post_title` DESC, `t`.`menu_order`, `t`.`post_title`, `t`.`post_date`; 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 `inactive`.`meta_value` = '0' ) AND ( `t`.`post_type` = 'school' ) AND ( ...' at line 11