Troubleshooting Guide

Solutions for common issues and error messages.

Error Codes

Info

If you encounter an error code not listed below, please open a support ticket in the Codesign Discord for assistance.

Server

  • 6458145 - adv_stats column is missing from the database.

  • 468454 - vehicles table is missing from the database.

  • 46584645 - impound and impound_data columns are missing from the database.

  • 5454 - cd_garage_keys table is missing from the database.

  • 3122 - cd_garage_privategarage table is missing from the database.

  • 1975 - The vehicle shown in the server side print hasn't been added to QBCore's shared vehicle table.

  • 0985 - The hash for a vehicle in your QBCore shared vehicle table is formatted incorrectly. It’s currently a string, but it should use backticks instead of apostrophes.

  • 5111 - This warning appears when Config.UseExploitProtection is disabled. It likely means the model variable in the vehicle/mods column is missing for a player's vehicle. This could be caused by a faulty vehicle shop or, less commonly, a player using a cheat engine. To fix it, delete the vehicle or manually add the plate in the JSON file.

--esx
SELECT * FROM owned_vehicles WHERE JSON_EXTRACT(vehicle, '$.model') IS NULL;
--qbcore/qbox
SELECT * FROM owned_vehicles WHERE JSON_EXTRACT(vehicle, '$.model') IS NULL;

Client

  • 1654651 - The plate column in the owned_vehicles/player_vehicles table is NULL or not a string for one of this player's vehicles.

  • 87458434 / 3216584884 - The adv_stats column in the owned_vehicles/player_vehicles table is NULL or not a table for one of this player's vehicles.

  • 77745646844 / 66546544658 / 749864 - The vehicle/mods column in the owned_vehicles/player_vehicles table is NULL or not a table for one of this player's vehicles.

  • 2472782 - The garage_id column in the owned_vehicles/player_vehicles table is NULL or not a string for one of this player's vehicles.

  • 465146541 - The property column in the owned_vehicles/player_vehicles table is NULL or not a number for one of this player's vehicles.

  • 6584165 - The in_garage column in the owned_vehicles/player_vehicles table is NULL or not a boolean. It should be a TINYINT (0 or 1).

  • 013552 - The plate variable in the vehicle/mods column for one of this player's vehicles is missing. You can either delete this vehicle or manually add the plate in the JSON file.

  • 3459 - Duplicate garage_id found in Config.GangGarages and Config.Locations. IDs must be unique.

  • 68541545 - You are using a regular job garage but haven't added vehicles for that job in Config.JobVehicles.RegularMethod.

  • 68445154 - Error in the SpawnVehicle function in client/main/functions.lua.

  • 768415 - The impound column in the owned_vehicles/player_vehicles table is a boolean, but it should be a number.

  • 434543522 - Error in the GetFuel function in client_customise_me.lua.


Common Issues

Please check out our Self Debugging Guide before contacting our support.

🔔 Folder Name Make sure the name of the folder is cd_garage.

🔔 Encrypted Files Do not edit the encrypted files in any way.

Screen Flickering?

Example: If your screen is flickering while using cd_easytime.

Reason: This is due to you having multiple time/weather sync scripts running at the same time fighting each other eg., vSync or vMenu.

Solution: Stop the other time/weather script that is causing this or stop cd_easytime and remove it from the dependencies in the fxmanifest.lua of cd_garage.

Is the impound Not Opening?

Example: If you see a thin line on screen where the impound UI should be and you see a client F8 print saying "toLowerCase".

Reason: Database structure was different in old versions compared to new versions.

Solution: Part 1: Use the cd_garage_jobvehicles chat command in your server console before any player joins.

Part 2: Execute this SQL query in your database.

RGB Colours Not Saving Correctly?

Example: If your vehicles RGB colours are not saving when you store a vehicle or not applying when spawning a vehicle in the garage.

Reason: This is because you have not made the changes to your frameworks GetVehicleProperties() and SetVehicleProperties() functions that your mechanic/customs resource requires you to do.

Solution: Make required changes to GetVehicleProperties() and SetVehicleProperties() according to your mechanic/customs resource.

"ExitLocation" client-side F8 error?

Example: If you see an error in the client-side F8 console similar to this example - attempt to call a nil value (field 'ExitLocation').

Reason: This happens when you spam the button on the UI to spawn a vehicle too fast.

Solution: It does not break anything and can be ignored.

Item(s) Not Found In Inventory Database/Table:

Example: If you get an error when the script or server start with the name of an item, such as fakeplate.

Reason: You have enabled Config.FakePlates but the fake plate item has not been added to your servers items.

Solution: The error message tells you the name of the item that is missing, add it to your servers items.

Last updated

Was this helpful?