PDOException: SQLSTATE[HY000] [2002] Connection refused in /home/pcportablega/ta4crypto.com/functions/database.php:514
Stack trace:
#0 /home/pcportablega/ta4crypto.com/functions/database.php(514): PDO->__construct()
#1 /home/pcportablega/ta4crypto.com/functions/database.php(254): create_pdo()
#2 /home/pcportablega/ta4crypto.com/modules/cms/functions.php(266): dbConnector->fetchFrom()
#3 /home/pcportablega/ta4crypto.com/modules/cms/blocks/front-end.php(7): foldersFromSlug()
#4 /home/pcportablega/ta4crypto.com/modules/cms/routes.php(298): displayContent()
#5 /home/pcportablega/ta4crypto.com/router.php(77): {closure}()
#6 /home/pcportablega/ta4crypto.com/index.php(16): Route::run()
#7 {main}PDOException: SQLSTATE[HY000] [2002] Connection refused in /home/pcportablega/ta4crypto.com/functions/database.php:514
Stack trace:
#0 /home/pcportablega/ta4crypto.com/functions/database.php(514): PDO->__construct()
#1 /home/pcportablega/ta4crypto.com/functions/database.php(254): create_pdo()
#2 /home/pcportablega/ta4crypto.com/modules/cms/functions.php(267): dbConnector->fetchFrom()
#3 /home/pcportablega/ta4crypto.com/modules/cms/blocks/front-end.php(7): foldersFromSlug()
#4 /home/pcportablega/ta4crypto.com/modules/cms/routes.php(298): displayContent()
#5 /home/pcportablega/ta4crypto.com/router.php(77): {closure}()
#6 /home/pcportablega/ta4crypto.com/index.php(16): Route::run()
#7 {main}
Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, bool given in /home/pcportablega/ta4crypto.com/modules/cms/functions.php:276
Stack trace:
#0 /home/pcportablega/ta4crypto.com/modules/cms/functions.php(276): in_array()
#1 /home/pcportablega/ta4crypto.com/modules/cms/blocks/front-end.php(7): foldersFromSlug()
#2 /home/pcportablega/ta4crypto.com/modules/cms/routes.php(298): displayContent()
#3 /home/pcportablega/ta4crypto.com/router.php(77): {closure}()
#4 /home/pcportablega/ta4crypto.com/index.php(16): Route::run()
#5 {main}
thrown in /home/pcportablega/ta4crypto.com/modules/cms/functions.php on line 276