Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Permission denied in /var/www/askmeplz/data/www/askmeplz.com/askme/lib/function.php:50
Stack trace:
#0 /var/www/askmeplz/data/www/askmeplz.com/askme/lib/function.php(50): PDO->__construct('mysql:host=loca...', 'answersa', 'tQ9jB0sI3n')
#1 /var/www/askmeplz/data/www/askmeplz.com/askme/lib/function.php(79): dbConnect()
#2 /var/www/askmeplz/data/www/askmeplz.com/askme/getQuestionByAlias.php(10): getQuestionByAlias('how-to-prevent-...')
#3 /var/www/askmeplz/data/www/askmeplz.com/core/cache/includes/elements/modx/revolution/modsnippet/3.include.cache.php(2): include('/var/www/askmep...')
#4 /var/www/askmeplz/data/www/askmeplz.com/core/src/Revolution/modScript.php(88): include('/var/www/askmep...')
#5 /var/www/askmeplz/data/www/askmeplz.com/core/src/Revolution/modParser.php(505): MODX\Revolution\modScript->process(NULL)
#6 /var/www/askmeplz/data/www/askmeplz.com/core/src/Revolution/modParser.php(218): MODX\Revolution\modParser->processTag(Array, true)
#7 /var/www/askmep in /var/www/askmeplz/data/www/askmeplz.com/askme/lib/function.php on line 50