Hey all, I am having issues related to two commands in my plugin and I can't seem to find any help for it to my specific case online
The code is attached below and the errors are here
Code:
L 12/15/2019 - 08:59:32: [SM] Exception reported: Invalid database Handle 0 (error: 4)
L 12/15/2019 - 08:59:32: [SM] Blaming: sleuth_commcheck.smx
L 12/15/2019 - 08:59:32: [SM] Call stack trace:
L 12/15/2019 - 08:59:32: [SM] [0] SQL_Query
L 12/15/2019 - 08:59:32: [SM] [1] Line 66, C:\Users\angus\Documents\Other Server Plugins\project1\sleuth_commcheck.sp::Command_DBIPtest
L 12/15/2019 - 08:59:37: [SM] Exception reported: Invalid database Handle 0 (error: 4)
L 12/15/2019 - 08:59:37: [SM] Blaming: sleuth_commcheck.smx
L 12/15/2019 - 08:59:37: [SM] Call stack trace:
L 12/15/2019 - 08:59:37: [SM] [0] SQL_EscapeString
L 12/15/2019 - 08:59:37: [SM] [1] Line 95, C:\Users\angus\Documents\Other Server Plugins\project1\sleuth_commcheck.sp::Command_DeleteFromDB