WordPress database 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 '' at line 1]SELECT *, `kszw_st_bookings`.`ID` AS booking_id, `kszw_st_bookings`.`reference` AS booking_ref, `kszw_st_bookings`.`vehicle_no` FROM `kszw_st_bookings` INNER JOIN `kszw_st_payments` ON `kszw_st_payments`.`booking_id`=`kszw_st_bookings`.`ID` WHERE `kszw_st_bookings`.booking_contacts!='' AND `kszw_st_bookings`.ID=