THE ORB
Starting the studio
bug_reportThe Server Fixer

A red error in your console?
Paste it. Understand it. Fix it.

You don't have to know what it means. Paste the line (or the whole console) and you get it back in plain words: what broke, what your players are feeling, what to do first, and whether it's yours to fix or a job for a developer. If you want, ORBIE fixes the script and hands you the file to drop in.

checkFree to readcheckNo sign-in to explain itcheckNothing to install
] your console

SCRIPT ERROR: @qb-garages/server/main.lua:112: attempt to index a nil value (field 'PlayerData')

arrow_downward

PlayerData is empty or not loaded yet

A script asked for a player's info before the game sent it. Usually works on join, breaks after a restart.

codeNeeds a developerDo this first: have the player rejoin.
01content_paste

You paste the error

The one red line, or the whole console dump. It reads here, in your browser.

02translate

We say what it means

In plain words: the cause, what your players feel, and the first thing to try.

03download

You get the fix

Do it yourself with the steps, or let ORBIE repair the script and hand back the file.

Every FiveM error we explain

Rather read about your exact error first? Here are all 85, each with its own page, and 44 you can fix without a developer.

search

Lua runtime

12
cannot resume dead coroutine

Something tried to continue a job that had already finished or already crashed. There is nearly always a REAL error above this o…

personYou can fix thisarrow_forward
SCRIPT ERROR in citizen:/scripting/lua/scheduler.lua

This line is FiveM itself saying an error happened somewhere else. It is a signpost, not the problem.

personYou can fix thisarrow_forward
attempt to index a number, boolean or string value

A script got back a different kind of answer than it expected, often reading a database result the wrong way.

codeNeeds a developerarrow_forward
attempt to yield across a C-call boundary

A script tried to wait in a place where waiting is not allowed. It is a coding mistake, not a setup one.

codeNeeds a developerarrow_forward
stack overflow

A script called itself over and over until it ran out of room. Something is looping into itself.

codeNeeds a developerarrow_forward
table index is nil

A script tried to file something away under a name that was empty, usually a player id that was not ready yet.

codeNeeds a developerarrow_forward
attempt to index a nil value

A script expected some information to be ready and it was not there yet, so it stopped.

codeNeeds a developerarrow_forward
attempt to call a nil value

A script tried to use a function that does not exist — usually because it was written for a different version of your framework.

codeNeeds a developerarrow_forward
attempt to perform arithmetic on a nil value

A script tried to do maths with a value that was empty — very often a money or item amount that was never set.

codeNeeds a developerarrow_forward
attempt to concatenate a nil value

A script tried to build a message out of a value that was missing, usually a player name or a config setting you left blank.

personYou can fix thisarrow_forward
bad argument to a native

A script passed the wrong kind of value to the game, almost always because something it needed (a vehicle, a model) never loaded.

codeNeeds a developerarrow_forward
attempt to compare two incompatible values

A script tried to compare two things that cannot be compared, usually a number against something that is missing or is text.

codeNeeds a developerarrow_forward

Resource loading

7

Manifest & dependencies

6

Server startup & config

6

Framework

9
GetPlayer returned nil on the server

The server looked for a player and did not find one — usually they disconnected mid-action.

codeNeeds a developerarrow_forward
Two frameworks (or two cores) running at once

You have two frameworks running at once. Scripts attach to whichever answered first, so things work and break at random.

personYou can fix thisarrow_forward
PlayerData is empty or not loaded yet

A script asked for a player's information before the game had sent it. It usually works on join and breaks after restarting the …

codeNeeds a developerarrow_forward
Money account is nil

A script asked for a money account that this player does not have, usually because the account name does not match your framework.

codeNeeds a developerarrow_forward
The framework object is nil (ESX / QBCore)

A script could not find your framework (ESX, QBCore, Qbox) — either it is not running, or it starts after this script does.

personYou can fix thisarrow_forward
charinfo or metadata is nil

A character's saved details could not be read — either they had not finished loading, or that character's data is damaged.

codeNeeds a developerarrow_forward
Event does not exist or was never registered

One script called out to another and nothing answered. There is often no error at all — the feature just never happens.

codeNeeds a developerarrow_forward
The jobs table is nil

Your jobs list could not be read. One typo in the jobs file breaks every job-related script at once.

personYou can fix thisarrow_forward
esx:getSharedObject does not work any more

A script uses an old way of connecting to ESX that modern ESX removed. There is no error — it just silently never works.

codeNeeds a developerarrow_forward

Database

10
Database connection failed

Your server cannot reach its database. Nothing that saves or loads will work until this is fixed.

personYou can fix thisarrow_forward
No such export fetchAll / execute (mysql-async, ghmattimysql)

A script was written for an older database system than the one you have installed.

personYou can fix thisarrow_forward
Too many connections

Too many things asked the database at once and it stopped accepting more. This usually hits at your busiest moment.

codeNeeds a developerarrow_forward
Deadlock or lock wait timeout

Two things tried to save the same record at the same moment and the database cancelled one of them.

codeNeeds a developerarrow_forward
Incorrect string value (emoji / encoding)

Someone had an emoji in their name and your database cannot store emojis.

codeNeeds a developerarrow_forward
SQL syntax error

A script sent the database a request it could not understand.

codeNeeds a developerarrow_forward
Table doesn't exist

The database is missing a whole table a script needs. Its setup file was never imported, or was imported into a different databa…

personYou can fix thisarrow_forward
Data too long for column

Something was too big for where it was being saved, so it was not saved at all — inventories are the usual case.

codeNeeds a developerarrow_forward
Unknown column in field list

A script is looking for information the database does not have — nearly always because its setup file was never imported.

personYou can fix thisarrow_forward
Duplicate entry for key

A script tried to save something that already exists — usually a player being added twice.

codeNeeds a developerarrow_forward

Network & OneSync

8

Streaming & assets

6

NUI & interfaces

4

JavaScript resources

3

Escrow & entitlements

4

Performance

4

Client & connection

6