Notice (1024) : Undefined property: ErrorController::$Authentication in /home/u729860359/domains/sgcalmunicipal.com.br/public_html/careiro-castanho.sgcalmunicipal.com.br/src/Controller/AppController.php on line 71 [in /home/u729860359/domains/sgcalmunicipal.com.br/public_html/careiro-castanho.sgcalmunicipal.com.br/vendor/cakephp/cakephp/src/Controller/Controller.php, line 342]
Warning (512) : Unable to emit headers. Headers sent in file=/home/u729860359/domains/sgcalmunicipal.com.br/public_html/careiro-castanho.sgcalmunicipal.com.br/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php line=37 [in /home/u729860359/domains/sgcalmunicipal.com.br/public_html/careiro-castanho.sgcalmunicipal.com.br/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 71]
Warning (2) : Cannot modify header information - headers already sent by (output started at /home/u729860359/domains/sgcalmunicipal.com.br/public_html/careiro-castanho.sgcalmunicipal.com.br/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /home/u729860359/domains/sgcalmunicipal.com.br/public_html/careiro-castanho.sgcalmunicipal.com.br/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 164]
Warning (2) : Cannot modify header information - headers already sent by (output started at /home/u729860359/domains/sgcalmunicipal.com.br/public_html/careiro-castanho.sgcalmunicipal.com.br/vendor/cakephp/cakephp/src/Error/Renderer/HtmlErrorRenderer.php:37) [in /home/u729860359/domains/sgcalmunicipal.com.br/public_html/careiro-castanho.sgcalmunicipal.com.br/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 197]
Error: Connection to Mysql could not be established: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql.cjid.app failed: Name or service not known

Connection to Mysql could not be established: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql.cjid.app failed: Name or service not known 📋

Cake\Database\Exception\MissingConnectionException
CORE/src/Database/Driver.php at line 144 (edit)
        $retry = new CommandRetry(new ErrorCodeWaitStrategy(static::RETRY_ERROR_CODES5), 4);
        try {
            $retry->run($action);
        } catch (PDOException $e) {
            throw new MissingConnectionException(
                [
                    'driver' => App::shortName(static::class, 'Database/Driver'),
                    'reason' => $e->getMessage(),
                ],
Caused by SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for mysql.cjid.app failed: Name or service not known PDOException
CORE/src/Database/Driver.php at line 132 (edit)
     */
    protected function _connect(string $dsn, array $config): bool
    {
        $action = function () use ($dsn$config) {
            $this->setConnection(new PDO(
                $dsn,
                $config['username'] ?: null,
                $config['password'] ?: null,
                $config['flags']
Caused by PDO::__construct(): php_network_getaddresses: getaddrinfo for mysql.cjid.app failed: Name or service not known PDOException
CORE/src/Database/Driver.php at line 132 (edit)
     */
    protected function _connect(string $dsn, array $config): bool
    {
        $action = function () use ($dsn$config) {
            $this->setConnection(new PDO(
                $dsn,
                $config['username'] ?: null,
                $config['password'] ?: null,
                $config['flags']

If you want to customize this error message, create templates/Error/error500.php