Error in php in delete query

Fatal error : Uncaught Error: Call to a member function fetch_object() on bool in C:\xampp\htdocs\learn vern\show.php:69 Stack trace: #0 {main} thrown in C:\xampp\htdocs\learn vern\show.php on line 69