qbcore-framework / qb-shops

Shops For QB-Core
GNU General Public License v3.0
27 stars 214 forks source link

[BUG] SCRIPT ERROR: @qb-shops/client/main.lua:81: attempt to index a nil value (field 'metadata') #120

Closed creation-expert closed 1 year ago

creation-expert commented 2 years ago

Describe the bug i dont got any console error on start-up, but when i go shopping i cannot open the menu even if i see the notification. I got this error when i want to shopping ; SCRIPT ERROR: @qb-shops/client/main.lua:81: attempt to index a nil value (field 'metadata') To Reproduce Steps to reproduce the behavior:

  1. Go to shop
  2. Click on E to open the menu
  3. See error

Expected behavior It should open the menu

r0adra93 commented 2 years ago

Awaiting to for https://github.com/qbcore-framework/qb-shops/pull/121 to be verified and merged into the system. This should resolve the issue.