Warning: session_start(): Failed to read session data: user (path: /var/lib/php/sessions) in /var/www/none/bfrederic/session.php on line 23

Fatal error: Uncaught bfrederic\Exception: Database connection attempt failed with: SQLSTATE[HY000] [2002] No such file or directory in /var/www/none/bfrederic/misc.php:13 Stack trace: #0 /var/www/none/bfrederic/model/mapper/base.php(49): bfrederic\dbc(false, 'Database connec...') #1 /var/www/none/bfrederic/model/mapper/base.php(73): bfrederic\model\mapper\Base::connect() #2 /var/www/none/bfrederic/model/mapper/base.php(132): bfrederic\model\mapper\Base->row_count('SELECT COUNT(*)...', Array) #3 /var/www/none/bfrederic/session_storage.php(64): bfrederic\model\mapper\Base->row_exists('id = :id', Array) #4 [internal function]: bfrederic\session\Storage->read('lk3sn833ua5t27a...') #5 /var/www/none/bfrederic/session.php(23): session_start() #6 /var/www/none/bfrederic/bootstrap.php(45): require_once('/var/www/none/b...') #7 /var/www/none/index.php(3): require_once('/var/www/none/b...') #8 {main} thrown in /var/www/none/bfrederic/misc.php on line 13