qbcore-framework / qb-garages

Garage System Used With QB-Core :car:
GNU General Public License v3.0
48 stars 260 forks source link

no cars[BUG] #218

Closed Andyauk closed 1 year ago

Andyauk commented 2 years ago

Describe the bug A clear and concise description of what the bug is. A stranger to qbcore should be able to read your bug report and understand how to reproduce it themselves and understand how the feature should work normally.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'my phone my cars are not listed, I get an error, I got to a carpark, there not there, I go buy a car to test, put it away and its still not listed on my phone and when I call the car out, it disappears. '
  2. Click on 'my phone garages, and car park icon'
  3. this error and issue has been effecting my server for weeks.
  4. See error
    [   script:qb-garages] SCRIPT ERROR: @qb-garages/server/main.lua:282: attempt to index a nil value (local 'VehicleData')
    [   script:qb-garages] > ref (@qb-garages/server/main.lua:282)
    [   script:qb-garages] > <unknown> (@oxmysql/dist/build.js:21745)
    [   script:qb-garages] > processTicksAndRejections (node:internal/process/task_queues:96)
    [   script:qb-garages] > async rawQuery (@oxmysql/dist/build.js:21735)

    Expected behavior to get my phone out and my cars are listed, and to get my car out of a garage and be in there.

Screenshots If applicable, add screenshots to help explain your problem.

Questions (please complete the following information):

Additional context

amantu-qbit commented 2 years ago

@Andyauk Is the problem still presist?

amantu-qbit commented 2 years ago

Couldn't reproduce