yii\base\ErrorException
Error

PHP Core Warningyii\base\ErrorException

Module 'mongo' already loaded

$_SERVER = [
    'USER' => 'www-data',
    'HOME' => '/var/www',
    'FCGI_ROLE' => 'RESPONDER',
    'QUERY_STRING' => '',
    'REQUEST_METHOD' => 'GET',
    'CONTENT_TYPE' => '',
    'CONTENT_LENGTH' => '',
    'SCRIPT_NAME' => '/login',
    'REQUEST_URI' => '/login',
    'DOCUMENT_URI' => '/login',
    'DOCUMENT_ROOT' => '/var/www/leadspartner/frontend/web',
    'SERVER_PROTOCOL' => 'HTTP/1.0',
    'GATEWAY_INTERFACE' => 'CGI/1.1',
    'SERVER_SOFTWARE' => 'nginx/1.4.6',
    'REMOTE_ADDR' => '54.163.157.48',
    'REMOTE_PORT' => '58334',
    'SERVER_ADDR' => '5.9.25.168',
    'SERVER_PORT' => '80',
    'SERVER_NAME' => 'www.affiliate.leadspartner.ru',
    'REDIRECT_STATUS' => '200',
    'SCRIPT_FILENAME' => '/var/www/leadspartner/frontend/web/index.php',
    'HTTP_HOST' => 'affiliate.leadspartner.ru',
    'HTTP_ACCEPT_ENCODING' => 'x-gzip, gzip, deflate',
    'HTTP_USER_AGENT' => 'CCBot/2.0 (http://commoncrawl.org/faq/)',
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
    'PHP_SELF' => '/login',
    'REQUEST_TIME_FLOAT' => 1490898473.5361421,
    'REQUEST_TIME' => 1490898473,
];

$_SESSION = [
    '__flash' => [],
];