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