Fatal error: Uncaught Error: Call to a member function prepare() on null in /home/jw9u28hjrb17/public_html/lib/Model.php:11 Stack trace: #0 /home/jw9u28hjrb17/public_html/models/blogModel.php(16): Model->query('SELECT * FROM `...') #1 /home/jw9u28hjrb17/public_html/controllers/Blog.php(13): blogModel->getLastBlogs() #2 /home/jw9u28hjrb17/public_html/lib/App.php(40): Blog->index(Array) #3 /home/jw9u28hjrb17/public_html/index.php(17): App->__construct() #4 {main} thrown in /home/jw9u28hjrb17/public_html/lib/Model.php on line 11