1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

Fatal error: Uncaught exception 'Exception' with message 'Query Statement Error : SELECT * FROM events WHERE id=381/' in /home/users/1/lolipop.jp-dp43076263/web/framework/general_classes/DB.php:225 Stack trace: #0 /home/users/1/lolipop.jp-dp43076263/web/framework/general_classes/DB.php(124): DB->query('SELECT * FROM e...') #1 /home/users/1/lolipop.jp-dp43076263/web/framework/general_classes/TBO.php(226): DB->select('events', Array, 0) #2 /home/users/1/lolipop.jp-dp43076263/web/event-detail.php(6): TBO->select_one('381/') #3 {main} thrown in /home/users/1/lolipop.jp-dp43076263/web/framework/general_classes/DB.php on line 225