Warning: Trying to access array offset on value of type null in /var/www/html/acquisauto/php/details/page-setup.php on line 47

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 '' at line 1 in /var/www/html/acquisauto/php/details/page-setup.php:8 Stack trace: #0 /var/www/html/acquisauto/php/details/page-setup.php(8): mysqli->query() #1 /var/www/html/acquisauto/php/details/page-setup.php(68): fetch_vehicle_data() #2 /var/www/html/acquisauto/vehicle.php(7): include('...') #3 {main} thrown in /var/www/html/acquisauto/php/details/page-setup.php on line 8