Esx_vehicelshop

Hello, our vehiclesho dont go. I cant press the yes button
Thats the error code

[ script:oxmysql] SCRIPT ERROR in promise (unhandled): Error: esx_vehicleshop was unable to execute a query!
[ script:oxmysql] Field ‘job’ doesn’t have a default value
[ script:oxmysql] INSERT INTO owned_vehicles (owner, plate, vehicle) VALUES (‘f5e0214492f4655e46b6c7e0e50c713518f1a69a’, ‘PPG 371’, ‘{“plate”:“PPG 371”,“model”:-1127249378}’)

Please help me

Hello,

In your database you need to provide a default value for the column ‘Job’ in your ‘owned_vehicles’ table.
If you’re using HeidiSQL it just click on the table in the left column and make sure there is something in the ‘default’ column.


HeidiSQL is in Dutch for me but make sure the value in the red circle is set to something.
If you’re using ESX the default value should be set to ‘civ’!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.