Pizza Shop — Common Errors & FAQ
Have a question or encounter an issue while running fs_pizzashop? Check the common questions and error solutions below.
❓ Q: "Attempt to index a nil value (field 'FWB')" error on server start?
Cause
This error occurs because fs_bridge is missing, not started, or not running on your server before fs_pizzashop initializes.
Solution
- Ensure
fs_bridgeis installed in yourresources/[fs]/folder. - In your
server.cfg, ensureox_liband[fs]category folder in proper order:luaensure ox_lib -- make sure to ensure all resources above this to make it work properly ensure [fs] -- ensure it as last resource - Update
fs_bridgeto the latest version.
❓ Q: Resource items or UI are not working or missing in inventory?
Cause
This happens when the correct inventory is not detected because fs_bridge was started before your inventory resource in server.cfg, or due to an incorrect inventory selection in fs_bridge configuration.
Solution
- In your
server.cfg, ensure your inventory resource (e.g.,ox_inventory,qb-inventory,qs-inventory) is ensured before[fs]. - Check
fs_bridge/config/sh_config.luaand verify that the inventory setting matches your installed inventory system. - Open
fs_pizzashop/[INSTALL_ME_FIRST]and use the item/sql blocks for your inventory system. - Restart your server cleanly.
❓ Q: Error saying item or database entry is missing in framework items?
Cause
This happens because fs_bridge was started before your inventory resource in server.cfg, or fs_bridge is ensured separately at the top of your server.cfg. As a result, fs_bridge fails to detect your inventory system and falls back to default framework item checks.
Solution
- Place
fs_bridgeinside theresources/[fs]/category folder alongside your other FWB resources. - Make sure
fs_bridgeis not ensured separately in yourserver.cfg. - In your
server.cfg, ensure your inventory resource (e.g.ox_inventory,qs-inventory) before[fs]. - Ensure
[fs]at the end of your ensured resources inserver.cfg:luaensure ox_inventory -- make sure to ensure all resources above this to make it work properly ensure [fs] -- ensure it as last resource - Restart your server.
❓ Q: Food or drink items are not consumable or usable from inventory?
Cause
This issue occurs because fs_useablefoods is missing, not started, or not installed in your resources/[fs]/ folder. fs_useablefoods handles all consumable food/drink item effects and eating/drinking animations.
Solution
- Download
fs_useablefoodsfrom your Tebex / Keymaster purchase package. - Place
fs_useablefoodsinside yourresources/[fs]/category folder. - Make sure
[fs]is ensured at the end of yourserver.cfg:luaensure ox_lib -- make sure to ensure all resources above this to make it work properly ensure [fs] -- ensure it as last resource - Restart your server cleanly.
💬 Need More Help?
If your issue or question isn't listed here, feel free to open a ticket in our official Discord community:
