Error connecting to database.
Notice: Undefined variable: ub in /projects/websites/visaliaenergia.it/blog/app/src/Helpers/App.php on line 307

Notice: Undefined variable: ub in /projects/websites/visaliaenergia.it/blog/app/src/Helpers/App.php on line 315

Notice: Undefined variable: db in /projects/websites/visaliaenergia.it/blog/app/bootstrap.php on line 14

Fatal error: Uncaught Error: Call to a member function prepare() on null in /projects/websites/visaliaenergia.it/blog/app/src/Article.php:164 Stack trace: #0 /projects/websites/visaliaenergia.it/blog/app/src/Article.php(122): Blog\Article->all(true, 'LIMIT 5') #1 /projects/websites/visaliaenergia.it/blog/app/bootstrap.php(16): Blog\Article->latests(5) #2 /projects/websites/visaliaenergia.it/blog/index.php(9): include('/projects/websi...') #3 {main} thrown in /projects/websites/visaliaenergia.it/blog/app/src/Article.php on line 164