Error!: SQLSTATE[HY000] [1045] Access denied for user 'demo'@'localhost' (using password: YES)
Fatal error: Uncaught Error: Call to a member function prepare() on null in /volume1/demo.cktweb.com/demoshop/heal/include/function.php:175 Stack trace: #0 /volume1/demo.cktweb.com/demoshop/heal/index.php(53): get_article_context('29') #1 [internal function]: {closure}('29') #2 /volume1/demo.cktweb.com/demoshop/heal/lib/Slim/Route.php(462): call_user_func_array(Object(Closure), Array) #3 /volume1/demo.cktweb.com/demoshop/heal/lib/Slim/Slim.php(1326): Slim\Route->dispatch() #4 /volume1/demo.cktweb.com/demoshop/heal/lib/Slim/Middleware/Flash.php(85): Slim\Slim->call() #5 /volume1/demo.cktweb.com/demoshop/heal/lib/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call() #6 /volume1/demo.cktweb.com/demoshop/heal/lib/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call() #7 /volume1/demo.cktweb.com/demoshop/heal/lib/Slim/Slim.php(1271): Slim\Middleware\PrettyExceptions->call() #8 /volume1/demo.cktweb.com/demoshop/heal/index.php(118): Slim\Slim->run() #9 {main} thrown in /volume1/demo.cktweb.com/demoshop/heal/include/function.php on line 175