Fatal error: Uncaught Error: Call to a member function getPosts() on null in /home/storage/6/0e/67/progato1/public_html/site/controllers/BlogController.php:33 Stack trace: #0 [internal function]: Controller\BlogController::IndexAction(Object(Lib\Request), Object(Lib\Response)) #1 /home/storage/6/0e/67/progato1/public_html/lib/Router.php(179): call_user_func_array(Array, Array) #2 /home/storage/6/0e/67/progato1/public_html/index.php(54): Lib\Router::init() #3 {main} thrown in /home/storage/6/0e/67/progato1/public_html/site/controllers/BlogController.php on line 33