[User] Remove un-used global declarations
[SQL] Rename fetch_array as just array
[Mods] Convert sql_fetch_array to sql_array
[Error] Fix typo in error handler