Warning: count(): Parameter must be an array or an object that implements Countable in /home/u5886552/berlin/lib/Request.php on line 33

Fatal error: Uncaught Error: Undefined class constant 'MYSQL_ATTR_INIT_COMMAND' in /home/u5886552/berlin/lib/Database.php:456 Stack trace: #0 /home/u5886552/berlin/lib/Database.php(475): ConnectionManager->getConfigFor('default') #1 /home/u5886552/berlin/lib/Database.php(467): ConnectionManager->connect('default') #2 /home/u5886552/berlin/lib/Database.php(33): ConnectionManager->getConnection('default') #3 /home/u5886552/berlin/lib/Database.php(66): Database->__construct() #4 /home/u5886552/berlin/lib/BaseController.php(46): Database::getTable('user_trace') #5 /home/u5886552/berlin/index.php(81): BaseController->dispatch('default', 'social', Object(Request)) #6 {main} thrown in /home/u5886552/berlin/lib/Database.php on line 456