Warning: Undefined array key "blacklist_type" in /home/spcsolar/public_html/VmanSpc/api/blacklist/blacklisted_driver_by_customer_id.php on line 7

Deprecated: mysqli_real_escape_string(): Passing null to parameter #2 ($string) of type string is deprecated in /home/spcsolar/public_html/VmanSpc/api/blacklist/blacklisted_driver_by_customer_id.php on line 7

Fatal error: Uncaught mysqli_sql_exception: 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 'JOIN customer_data cd ON cd.id = tdd.customer_id JOIN driver_dat...' at line 3 in /home/spcsolar/public_html/VmanSpc/api/blacklist/blacklisted_driver_by_customer_id.php:34 Stack trace: #0 /home/spcsolar/public_html/VmanSpc/api/blacklist/blacklisted_driver_by_customer_id.php(34): mysqli_query(Object(mysqli), 'SELECT (tdd.id)...') #1 {main} thrown in /home/spcsolar/public_html/VmanSpc/api/blacklist/blacklisted_driver_by_customer_id.php on line 34