MDB2 Error: syntax error
_doQuery: [Error message: Could not execute statement] [Last executed query: select * from people p inner join people_to_passions p2p on p2p.person_id = p.id where p2p.passion_id = and p.published = 1 and p.deleted = 0 and p.is_program_officer = 1] [Native code: 1064] [Native message: 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 p.published = 1 and p.deleted = 0 and p.is_program_officer = 1' at line 1] MDB2 Error: syntax error