Notice: Trying to get property 'num_rows' of non-object in /home/slims-itn/lib/detail.inc.php on line 209

Fatal error: Uncaught Error: Call to a member function free_result() on bool in /home/slims-itn/lib/detail.inc.php:217 Stack trace: #0 /home/slims-itn/lib/detail.inc.php(432): detail->getItemCopy() #1 /home/slims-itn/lib/detail.inc.php(99): detail->htmlOutput() #2 /home/slims-itn/lib/contents/show_detail.inc.php(123): detail->showDetail() #3 /home/slims-itn/index.php(69): include('/home/slims-itn...') #4 {main} thrown in /home/slims-itn/lib/detail.inc.php on line 217