Closed Ahoyas closed 2 years ago
When I put the "cosmo_gmod" folder in my addons this problem appear :
[Cosmo - DEBUG] Checking for pending orders... L 04/17/2022 - 00:12:07: Lua Error: [cosmo_gmod] addons/cosmo_gmod/lua/cosmo/core/sv_database.lua:58: attempt to index field 'con' (a nil value) 1. escape - addons/cosmo_gmod/lua/cosmo/core/sv_database.lua:58 2. getPendingOrders - addons/cosmo_gmod/lua/cosmo/core/sv_database.lua:35 3. checkForPendingOrders - addons/cosmo_gmod/lua/cosmo/core/sv_core.lua:4 4. func - addons/cosmo_gmod/lua/cosmo/core/sv_core.lua:116 5. unknown - lua/includes/modules/hook.lua:241
No response
To reproduce the bug I have to enter my MYSQL credentials in "sv_config.lua" and relaunch my server.
@Ahoyas You are using an out of date version of the cosmo-gmod addon. Please update it from here
Also you do not have the MySQLoo module installed to your server
Not a bug, use the Discord for support.
❌ Description of the bug
When I put the "cosmo_gmod" folder in my addons this problem appear :
[Cosmo - DEBUG] Checking for pending orders... L 04/17/2022 - 00:12:07: Lua Error: [cosmo_gmod] addons/cosmo_gmod/lua/cosmo/core/sv_database.lua:58: attempt to index field 'con' (a nil value) 1. escape - addons/cosmo_gmod/lua/cosmo/core/sv_database.lua:58 2. getPendingOrders - addons/cosmo_gmod/lua/cosmo/core/sv_database.lua:35 3. checkForPendingOrders - addons/cosmo_gmod/lua/cosmo/core/sv_core.lua:4 4. func - addons/cosmo_gmod/lua/cosmo/core/sv_core.lua:116 5. unknown - lua/includes/modules/hook.lua:241
✔ Expected Behaviour
No response
✨ How do you reproduce this bug?
To reproduce the bug I have to enter my MYSQL credentials in "sv_config.lua" and relaunch my server.
🌳 Website Environment
📋 Additional Information
No response