Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Cannot assign requested address in /var/www/ok-by/data/www/ok-by.ru/okigo/snippets/functions.php:22
Stack trace:
#0 /var/www/ok-by/data/www/ok-by.ru/okigo/snippets/functions.php(22): PDO->__construct('mysql:host=192....', 'okbbb', 'fI4kN2zH4i')
#1 /var/www/ok-by/data/www/ok-by.ru/okigo/snippets/functions.php(41): dbConnectTwo()
#2 /var/www/ok-by/data/www/ok-by.ru/okigo/snippets/getUser.php(75): findCityByName('\xD0\x91\xD0\xB0\xD1\x80\xD0\xB0\xD0\xBD\xD0\xBE\xD0\xB2\xD0...')
#3 /var/www/ok-by/data/www/ok-by.ru/core/cache/includes/elements/modsnippet/41.include.cache.php(2): include('/var/www/ok-by/...')
#4 /var/www/ok-by/data/www/ok-by.ru/core/model/modx/modscript.class.php(76): include('/var/www/ok-by/...')
#5 /var/www/ok-by/data/www/ok-by.ru/core/model/modx/modparser.class.php(537): modScript->process(NULL)
#6 /var/www/ok-by/data/www/ok-by.ru/core/model/modx/modparser.class.php(251): modParser->processTag(Array, true)
#7 /var/www/ok-by/data/www/ok-by.ru/core/mod in /var/www/ok-by/data/www/ok-by.ru/okigo/snippets/functions.php on line 22