Fatal error: Call to a member function query() on a non-object in /var/www/app/controllers/indexController.php on line 54