Warning: Undefined variable $encrypted in C:\wamp64\www\CMMS\authenticate_login.php on line 34

Warning: Undefined variable $encodedSecretKey in C:\wamp64\www\CMMS\authenticate_login.php on line 34

Warning: Undefined variable $iv in C:\wamp64\www\CMMS\authenticate_login.php on line 34

Deprecated: base64_decode(): Passing null to parameter #1 ($string) of type string is deprecated in C:\wamp64\www\CMMS\cipher.php on line 15

Deprecated: openssl_decrypt(): Passing null to parameter #3 ($passphrase) of type string is deprecated in C:\wamp64\www\CMMS\cipher.php on line 15

Deprecated: openssl_decrypt(): Passing null to parameter #5 ($iv) of type string is deprecated in C:\wamp64\www\CMMS\cipher.php on line 15

Warning: Undefined variable $login_id in C:\wamp64\www\CMMS\authenticate_login.php on line 44
Connection could not be established.
{"status":"ERROR","message":"Connection could not be established","data":[{"0":"IMSSP","SQLSTATE":"IMSSP","1":-1,"code":-1,"2":"Invalid option \u0002 was passed to sqlsrv_connect.","message":"Invalid option \u0002 was passed to sqlsrv_connect."}]}
Fatal error: Uncaught TypeError: sqlsrv_close(): Argument #1 ($conn) must be of type resource, false given in C:\wamp64\www\CMMS\authenticate_login.php:92 Stack trace: #0 C:\wamp64\www\CMMS\authenticate_login.php(92): sqlsrv_close(false) #1 {main} thrown in C:\wamp64\www\CMMS\authenticate_login.php on line 92