Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 1392640 bytes) in /usr/home/webs/healthnfitness.cc/public/vendor/cakephp/cakephp/src/Database/Statement/Statement.php on line 207
Warning (512) : Unable to emit headers. Headers sent in file=/usr/home/webs/healthnfitness.cc/public/vendor/cakephp/cakephp/src/Database/Statement/Statement.php line=207 [in /usr/home/webs/healthnfitness.cc/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 65]
Warning (2) : Cannot modify header information - headers already sent by (output started at /usr/home/webs/healthnfitness.cc/public/vendor/cakephp/cakephp/src/Database/Statement/Statement.php:207) [in /usr/home/webs/healthnfitness.cc/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 159]
Warning (2) : Cannot modify header information - headers already sent by (output started at /usr/home/webs/healthnfitness.cc/public/vendor/cakephp/cakephp/src/Database/Statement/Statement.php:207) [in /usr/home/webs/healthnfitness.cc/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 192]
Error: Fatal Error

Fatal Error 📋

Cake\Error\FatalErrorException

Error Fatal Error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 1392640 bytes)

File /usr/home/webs/healthnfitness.cc/public/vendor/cakephp/cakephp/src/Database/Statement/Statement.php

Line 207

CORE/src/Database/Statement/Statement.php at line 207 (edit)
     */
    public function fetchAll(string|int $mode = PDO::FETCH_NUM): array
    {
        $mode = $this->convertMode($mode);
        $rows = $this->statement->fetchAll($mode);
        if ($this->typeConverter !== null) {
            return array_map($this->typeConverter, $rows);
        }

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