Fatal error: Uncaught TypeError: sqlsrv_close(): Argument #1 ($conn) must be of type resource, false given in C:\wamp64\www\CMMS_SEHSA\update_workorder_image_file.php:454 Stack trace: #0 C:\wamp64\www\CMMS_SEHSA\update_workorder_image_file.php(454): sqlsrv_close(false) #1 {main} thrown in C:\wamp64\www\CMMS_SEHSA\update_workorder_image_file.php on line 454