Code Context //$view->set(compact('some', 'vars'));
$html = $html2 = file_get_contents("http://".$_SERVER['SERVER_NAME']."/e404");
//$html=strrev($html);
$error = object(Cake\Network\Exception\NotFoundException) {
[protected] _defaultCode => (int) 404
[protected] _attributes => []
[protected] _messageTemplate => ''
[protected] _responseHeaders => null
[protected] message => 'Такой страницы нет'
[protected] code => (int) 404
[protected] file => '/home/users/s/stinger-21/domains/remont-kompjuterov24.ru/src/Controller/PagesController.php'
[protected] line => (int) 60
}
$http_response_header = [
(int) 0 => 'HTTP/1.1 301 Moved Permanently',
(int) 1 => 'Date: Sat, 23 Sep 2023 18:43:11 GMT',
(int) 2 => 'Connection: close',
(int) 3 => 'Cache-Control: max-age=3600',
(int) 4 => 'Expires: Sat, 23 Sep 2023 19:43:11 GMT',
(int) 5 => 'Location: https://remont-kompjuterov24.ru/e404',
(int) 6 => 'Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=QwXjAWk5cyeyy6VYuj%2FD7OOnn9SbRD0WKWX4kJPjw2QKceDhV1tYC6jPKAOcPyh4x8UgGQBP9FoyOArh5nKevzz2R97has4pyaKDz2R%2FVn29lBjndnu3ZeimP9TGul%2FO4C5MyxLp%2Fmdt%2Fw%3D%3D"}],"group":"cf-nel","max_age":604800}',
(int) 7 => 'NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}',
(int) 8 => 'Server: cloudflare',
(int) 9 => 'CF-RAY: 80b4ee8a28c0d211-CDG',
(int) 10 => 'alt-svc: h3=":443"; ma=86400',
(int) 11 => 'HTTP/1.1 301 Moved Permanently',
(int) 12 => 'Date: Sat, 23 Sep 2023 18:43:19 GMT',
(int) 13 => 'Content-Type: text/html; charset=UTF-8',
(int) 14 => 'Connection: close',
(int) 15 => 'Location: https://remont-kompjuterov24.ru/e404/',
(int) 16 => 'Expires: Sat, 23 Sep 2023 18:43:24 GMT',
(int) 17 => 'Vary: Accept-Encoding',
(int) 18 => 'CF-Cache-Status: DYNAMIC',
(int) 19 => 'Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=9rpD7kGkeOtY4tBlYYr5HO5CoY9fVGPLuQEE4G1XP7XBP3HQbN71L8ZIIrWb4Bg7sN7WZHNsuoPlSIGarq%2BBJzh7DveQB0KxQrPNJ783r7BGnqOZ0%2BJNs8B6jjYmPik%2FJwNhYmmi%2FN5s6Q%3D%3D"}],"group":"cf-nel","max_age":604800}',
(int) 20 => 'NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}',
(int) 21 => 'Server: cloudflare',
(int) 22 => 'CF-RAY: 80b4eebbbc9ed550-CDG',
(int) 23 => 'alt-svc: h3=":443"; ma=86400'
]
file_get_contents - [internal], line ??
App\Error\AppExceptionRenderer::notFound() - APP/Error/AppExceptionRenderer.php, line 18
call_user_func - [internal], line ??
Cake\Error\ExceptionRenderer::_customMethod() - CORE/src/Error/ExceptionRenderer.php, line 212
Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 167
Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 118
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 102
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 81
[main] - ROOT/webroot/index.php, line 37