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]
Code
$message = "Unable to emit headers. Headers sent in file=$file line=$line";
trigger_error($message, E_USER_WARNING);
}
/usr/home/webs/healthnfitness.cc/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /usr/home/webs/healthnfitness.cc/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 65
Cake\Http\ResponseEmitter->emit() /usr/home/webs/healthnfitness.cc/public/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 300
Cake\Error\Renderer\WebExceptionRenderer->write() /usr/home/webs/healthnfitness.cc/public/vendor/cakephp/cakephp/src/Error/ExceptionTrap.php, line 239
Cake\Error\ExceptionTrap->handleException() /usr/home/webs/healthnfitness.cc/public/vendor/cakephp/cakephp/src/Error/ExceptionTrap.php, line 326
Cake\Error\ExceptionTrap->handleFatalError() /usr/home/webs/healthnfitness.cc/public/vendor/cakephp/cakephp/src/Error/ExceptionTrap.php, line 277
Cake\Error\ExceptionTrap->handleShutdown() [internal], line ??
[main]
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]
Code
$reasonPhrase = $response->getReasonPhrase();
header(sprintf(
'HTTP/%s %d%s',
/usr/home/webs/healthnfitness.cc/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /usr/home/webs/healthnfitness.cc/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 159
Cake\Http\ResponseEmitter->emitStatusLine() /usr/home/webs/healthnfitness.cc/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 68
Cake\Http\ResponseEmitter->emit() /usr/home/webs/healthnfitness.cc/public/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 300
Cake\Error\Renderer\WebExceptionRenderer->write() /usr/home/webs/healthnfitness.cc/public/vendor/cakephp/cakephp/src/Error/ExceptionTrap.php, line 239
Cake\Error\ExceptionTrap->handleException() /usr/home/webs/healthnfitness.cc/public/vendor/cakephp/cakephp/src/Error/ExceptionTrap.php, line 326
Cake\Error\ExceptionTrap->handleFatalError() /usr/home/webs/healthnfitness.cc/public/vendor/cakephp/cakephp/src/Error/ExceptionTrap.php, line 277
Cake\Error\ExceptionTrap->handleShutdown() [internal], line ??
[main]
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]
Code
foreach ($values as $value) {
header(sprintf(
'%s: %s',
/usr/home/webs/healthnfitness.cc/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php /usr/home/webs/healthnfitness.cc/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 192
Cake\Http\ResponseEmitter->emitHeaders() /usr/home/webs/healthnfitness.cc/public/vendor/cakephp/cakephp/src/Http/ResponseEmitter.php, line 69
Cake\Http\ResponseEmitter->emit() /usr/home/webs/healthnfitness.cc/public/vendor/cakephp/cakephp/src/Error/Renderer/WebExceptionRenderer.php, line 300
Cake\Error\Renderer\WebExceptionRenderer->write() /usr/home/webs/healthnfitness.cc/public/vendor/cakephp/cakephp/src/Error/ExceptionTrap.php, line 239
Cake\Error\ExceptionTrap->handleException() /usr/home/webs/healthnfitness.cc/public/vendor/cakephp/cakephp/src/Error/ExceptionTrap.php, line 326
Cake\Error\ExceptionTrap->handleFatalError() /usr/home/webs/healthnfitness.cc/public/vendor/cakephp/cakephp/src/Error/ExceptionTrap.php, line 277
Cake\Error\ExceptionTrap->handleShutdown() [internal], line ??
[main]
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 (!in_array($error['type'], $fatals, true)) {
|
|
return;
|
|
}
|
|
$this->handleFatalError(
|
|
$error['type'],
|
|
$error['message'],
|
|
$error['file'],
|
|
$error['line']
|
Toggle Arguments
'Allowed memory size of 67108864 bytes exhausted (tried to allocate 1392640 bytes)'
'/usr/home/webs/healthnfitness.cc/public/vendor/cakephp/cakephp/src/Database/Statement/Statement.php'
-
-
If you want to customize this error message, create
templates/Error/fatal_error.php