Error: SQL 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 past_exp = ORDER BY sort_order ASC, updated_at DESC' at line 1"

in /var/www/vhosts/villaandmansionarchitects.com/httpdocs/project-detail.php on line 9