Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Automotive Market\%') order by `predr_reports`.`report_id` desc' at line 1 in /home/towardsauto/public_html/precedence/classes/cls-connection.php:88
Stack trace:
#0 /home/towardsauto/public_html/precedence/classes/cls-connection.php(88): mysqli->query('select report_i...')
#1 /home/towardsauto/public_html/precedence/classes/cls-connection.php(119): Connection->sqlQuery('select report_i...', 0)
#2 /home/towardsauto/public_html/precedence/classes/cls-report.php(14): Connection->getRecords('predr_reports', 'report_id,meta_...', '`predr_reports`...', '`predr_reports`...', '', 0)
#3 /home/towardsauto/public_html/search.php(45): Report->getReportDetails('report_id,meta_...', '`predr_reports`...', '`predr_reports`...', '', 0)
#4 {main}
thrown in /home/towardsauto/public_html/precedence/classes/cls-connection.php on line 88