Need help for lua in gmod!

Hello everybody. Im new to coding in general and i started to learn lua by watching CODE BLUE’s tutorials on youtube.
But i could need help from someone that has time and wants to help me with this.
Just lua in generall but i have also 2 example lua error that i cannot fix bc i just dont know how.

The first one:

[[admin]_blogs] addons/[admin]_blogs/lua/gmodadminsuite/modules/logging/sv_logging.lua:935: attempt to index global 'GAS' (a nil value)
  1. fn - addons/[admin]_blogs/lua/gmodadminsuite/modules/logging/sv_logging.lua:935
   2. unknown - addons/ulib/lua/ulib/shared/hook.lua:109

The second one:

LuaCmd:1: attempt to call a string value
    1. onsuccess - LuaCmd:1
        2. unknown - lua/includes/modules/http.lua:29

I hope i am in the right place here for such a thing :smiley:

The errors descriptions do mention the nature of the problem, the source file that raised the error, as well as the line number. E.g. a nil value refers to an attempted operation involving a variable which is not initialized (doesn’t contain a value of any type).

But without the full context (source files, environment info, etc.), only you can inspect the nature of the problem in detail — error reports might be describing symptoms, but the causes need to be established by examining the source files.

I suggest you install the free and open source ZeroBrain Studio IDE:

this is a Lua dedicated Integrated Development Environment (IDE) which offers tons of great features when working with Lua, including documentation, detailed debugging and tools to solve errors like the above.