qbcore-framework / qb-inventory

Slot Based Inventory System Used With QB-Core :school_satchel:
GNU General Public License v3.0
49 stars 376 forks source link

[BUG] @qb-inventory/server/main.lua:1579: attempt to index a nil value (field '?') #396

Closed JarretOnline closed 10 months ago

JarretOnline commented 1 year ago

Summary

Attempted to add items to standard stash from qb-stashes and got this error.

Reproduction

  1. Create a new stash in qb-core using the config file from qb-stashes. (is stashes no longer a resource?)
  2. Attempt to place an item in the stash.
  3. Originally, it looks like the item will move to stash.
  4. If you exit the stash and open it again, the item did not transfer.
  5. Error: https://prnt.sc/r8_s18bezNIY

Expected behavior

Item should transfer from inventory to stash. Inventory -1. Stash +1.

Actual behavior

None.

Additional context

No response

Last Updated

Today

Custom Resources

N/A

Resource Rename

N/A

JarretOnline commented 1 year ago

Seems to be referencing this line: https://prnt.sc/laOMXTcbgtVh

JarretOnline commented 1 year ago

Fixed by removed invalid dash character (-) from stash name in qb-stashes

github-actions[bot] commented 10 months ago

This issue has had 60 days of inactivity & will close within 7 days