Fatal error: Uncaught Error: Call to a member function prepare() on null in /home/zpfghpyz/public_html/library/Connection.php:57 Stack trace: #0 /home/zpfghpyz/public_html/application/model/EventsModel.php(48): Connection->query('SELECT * FROM e...') #1 /home/zpfghpyz/public_html/application/controller/IndexController.php(12): EventsModel->getSomeEvents(8) #2 /home/zpfghpyz/public_html/library/Dispatcher.php(16): IndexController->index() #3 /home/zpfghpyz/public_html/library/Bootstrap.php(19): Dispatcher::initDispatcher() #4 /home/zpfghpyz/public_html/index.php(27): Bootstrap->execute() #5 {main} thrown in /home/zpfghpyz/public_html/library/Connection.php on line 57