PrestaShopException {#55
  #message: "Link to database cannot be established: SQLSTATE[HY000] [2002] Connection refused"
  #code: 0
  #file: "/var/www/html/s-e/classes/db/DbPDO.php"
  #line: 136
  trace: {
    /var/www/html/s-e/classes/db/DbPDO.php:136 {} catch (PDOException $e) {    throw new PrestaShopException('Link to database cannot be established: ' . $e->getMessage());}
    }
    /var/www/html/s-e/classes/db/Db.php:379 {if (!$this->result && $this->getNumberError() == 2006) {    if ($this->connect()) {        $this->result = $this->_query($sql);
    }
    /var/www/html/s-e/classes/db/Db.php:663 {
      › 
      › $this->result = $this->query($sql);if (!$this->result) {
      arguments: {
        $sql: """
          SELECT active\n
          FROM `sk_hook` h\n
          WHERE (h.name = "moduleRoutes") LIMIT 1
          """
      }
    }
    /var/www/html/s-e/classes/db/Db.php:697 {
      › 
      › if (!$result = $this->getRow($sql, $use_cache)) {    return false;
      arguments: {
        $sql: """
          SELECT active\n
          FROM `sk_hook` h\n
          WHERE (h.name = "moduleRoutes") LIMIT 1
          """
        $use_cache: true
      }
    }
    /var/www/html/s-e/classes/Hook.php:1270 {
      › 
      ›     return (bool) Db::getInstance()->getValue($sql);}
      arguments: {
        $sql: """
          SELECT active\n
          FROM `sk_hook` h\n
          WHERE (h.name = "moduleRoutes")\n
          """
      }
    }
    /var/www/html/s-e/classes/Hook.php:776 {) {    if (defined('PS_INSTALLATION_IN_PROGRESS') || !self::getHookStatusByName($hook_name)) {        return $array_return ? [] : null;
      arguments: {
        $hook_name: "moduleRoutes"
      }
    }
    /var/www/html/s-e/classes/Dispatcher.php:596 {// Load custom routes from modules$modules_routes = Hook::exec('moduleRoutes', ['id_shop' => $id_shop], null, true, false);if (is_array($modules_routes) && count($modules_routes)) {
      arguments: {
        $hook_name: "moduleRoutes"
        $hook_args: array:1 [ …1]
        $id_module: null
        $array_return: true
        $check_exceptions: false
      }
    }
    /var/www/html/s-e/classes/Dispatcher.php:249 {
      › 
      ›     $this->loadRoutes();}
    }
    /var/www/html/s-e/classes/Dispatcher.php:207 {    }    self::$instance = new Dispatcher($request);}
      arguments: {
        $request: Request {#43 …}
      }
    }
    /var/www/html/s-e/index.php:29 {\trequire dirname(__FILE__).'/config/config.inc.php';\r\tDispatcher::getInstance()->dispatch();\r}catch(\Exception $e){\r
    }
  }
}