Faild to connectSQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO) Blog

Fatal error: Uncaught Error: Call to a member function prepare() on null in /home/bkd93hwxs945/public_html/fitness4life.ae/include/function.php:36 Stack trace: #0 /home/bkd93hwxs945/public_html/fitness4life.ae/blog.php(6): getCounts('articles', '') #1 {main} thrown in /home/bkd93hwxs945/public_html/fitness4life.ae/include/function.php on line 36