Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
×
Fiveguard

Question qb-core errors

IDK2435

Member
Joined
Jul 19, 2023
Messages
1
Reaction score
1
Points
146
Location
finland
Hi i got few errors

[ script : oxmysql] Error: qb-core was unable to execute a query!
[ script : oxmysql] Error: qb-vehicleshop was unable to execute a query!
[ script : oxmysql] Field 'impounded' doesn't have a default value

What i need to do?
 

ithorfsu

Silver Elite
Joined
Dec 4, 2021
Messages
20
Reaction score
215
Points
306
Location
Ireland
Hi i got few errors

[ script : oxmysql] Error: qb-core was unable to execute a query!
[ script : oxmysql] Error: qb-vehicleshop was unable to execute a query!
[ script : oxmysql] Field 'impounded' doesn't have a default value

What i need to do?
You need to go to your database and edit it. You will need to set a default value for the impounded field in your database, the default value should be whatever means it is NOT impounded, as setting this to impounded by default would mean every car purchased would be impounded automatically.

The value needed will depend on the type of data it is being stored and could be anything from true and false to 0 and 1 etc. You should be able to find exactly what means impounded and what means not impounded from within whatever script you are using. Just look for an if statement that is querying that "impounded" field.
 
Top