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 SCRIPT ERROR in promise (unhandled rejection): Error: dealership was unable to execute a query!

Florilaure

Bronze Elite
Joined
May 8, 2023
Messages
7
Reaction score
6
Points
146
Location
canada
Hello, im trying to instal a new ressource on my server but i got an error

[ script:eek:xmysql] SCRIPT ERROR in promise (unhandled rejection): Error: dealership was unable to execute a query!
[ script:eek:xmysql] 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 'CREATE TABLE IF NOT EXISTS `dealership_hired_players` (
[ script:eek:xmysql] `dealership_id` V...' at line 16
 

Attachments

  • image_2023-05-09_194039652.png
    image_2023-05-09_194039652.png
    139.2 KB · Views: 5,966

Florilaure

Bronze Elite
Joined
May 8, 2023
Messages
7
Reaction score
6
Points
146
Location
canada
thank you it worked but now when i try to open the menu in game it say SCRIPT ERROR: @dealership/server.lua:132: attempt to index a nil value (global 'Framework')
 

Attachments

  • image_2023-05-10_091726674.png
    image_2023-05-10_091726674.png
    19.4 KB · Views: 127

lua.broski

Bronze Elite
Joined
May 10, 2023
Messages
10
Reaction score
3
Points
156
Location
Lua Land
Its looks like you have config in script and you can change framework and something is not set propertly. For Qbus it should be local QBCore = exports['qb-core']:GetCoreObject() on top in client and server and just change Framework to QBCore , in your case - QBCore.Functions.GetPlayer(source)
 
Top