Two frameworks running at once
You have two frameworks running at once. Scripts attach to whichever answered first, so things work and break at random.
Do this first
In server.cfg, comment out every framework except the one you actually use, then restart.
What it means
The server starts more than one framework, or two copies of the same one. Each registers the same events and exports, scripts bind to whichever answered first, and the symptoms are wildly inconsistent: some scripts work, some do not, and restarting changes which.
What causes it
Ordered by how often it is the answer.
- 1
Migrating and never removing the old one
Moving from ESX to QBCore and leaving es_extended ensured.
- 2
A duplicate core folder
qb-corein two categories. See the duplicate-resource entry. - 3
qbx_core alongside qb-core
Qbox is a fork. Running both is running two cores.
- 4
A script that ensures its own copy
A resource that ships a framework folder inside itself.
How to tell which one is yours
grep -nE "^\s*(ensure|start)\s+(es_extended|qb-core|qbx_core|ND_Core)" server.cfg
More than one line is your answer.
Where to look
server.cfg, and the resources tree for duplicate core folders.
How to fix it
Run exactly one. Comment out the others rather than deleting, so a mistake is reversible:
ensure qb-core # ensure es_extended
Still stuck on your own code?
This page is what this error usually means. Paste your console into Server Fixer and it will rank everything in it and tell you what to do first, and if you would rather not touch it, ORBIE can repair the script and hand the resource back ready to drop in.
bug_reportOpen Server Fixer