Notice (8) : compact() [<a href='http://php.net/function.compact'>function.compact</a>]: Undefined variable: etagMatches [CORE/src/Network/Response.php , line 1281 ]Code Context $timeMatches = strtotime ( $this -> modified ()) === strtotime ( $modifiedSince );
}
$checks = compact ( 'etagMatches' , 'timeMatches' );
$request = object(Cake\Network\Request) {
params => [
'controller' => 'Auth',
'action' => 'realms',
'pass' => [
[maximum depth reached]
],
'plugin' => null,
'_matchedRoute' => '/:controller/:action/*',
'_ext' => null,
'isAjax' => false
]
data => []
query => [
'client_id' => 'retronews',
'tab_id' => '_z-D2pDIYWQ'
]
cookies => [
'fikker-61vm-nk2N' => 'MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E'
]
url => 'auth/realms/lumni/login-actions/registration'
base => ''
webroot => '/'
here => '/auth/realms/lumni/login-actions/registration'
trustProxy => false
[protected] _environment => [
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_COOKIE' => 'fikker-61vm-nk2N=MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_HOST' => 'retronews.little-web-dev.com',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_STATUS' => '200',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at retronews.little-web-dev.com Port 80</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)',
'SERVER_NAME' => 'retronews.little-web-dev.com',
'SERVER_ADDR' => '152.228.220.205',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '18.119.106.237',
'DOCUMENT_ROOT' => '/var/www/html/retronews/',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/retronews/',
'SERVER_ADMIN' => '[no address given]',
'SCRIPT_FILENAME' => '/var/www/html/retronews/webroot/index.php',
'REMOTE_PORT' => '43772',
'REDIRECT_URL' => '/webroot/auth/realms/lumni/login-actions/registration',
'REDIRECT_QUERY_STRING' => 'client_id=retronews&tab_id=_z-D2pDIYWQ',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'client_id=retronews&tab_id=_z-D2pDIYWQ',
'REQUEST_URI' => '/auth/realms/lumni/login-actions/registration?client_id=retronews&tab_id=_z-D2pDIYWQ',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1726880065.6501,
'REQUEST_TIME' => (int) 1726880065,
'HTTP_X_HTTP_METHOD_OVERRIDE' => null,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
'HTTP_X_REQUESTED_WITH' => null,
'HTTP_IF_NONE_MATCH' => null,
'HTTP_IF_MODIFIED_SINCE' => null
]
[protected] _detectors => [
'get' => [
[maximum depth reached]
],
'post' => [
[maximum depth reached]
],
'put' => [
[maximum depth reached]
],
'patch' => [
[maximum depth reached]
],
'delete' => [
[maximum depth reached]
],
'head' => [
[maximum depth reached]
],
'options' => [
[maximum depth reached]
],
'ssl' => [
[maximum depth reached]
],
'ajax' => [
[maximum depth reached]
],
'flash' => [
[maximum depth reached]
],
'requested' => [
[maximum depth reached]
],
'json' => [
[maximum depth reached]
],
'xml' => [
[maximum depth reached]
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] _input => ''
[protected] _session => object(Cake\Network\Session) {}
}
$etags = []
$modifiedSince = null
$responseTag = null compact - [internal], line ??
Cake\Network\Response::checkNotModified() - CORE/src/Network/Response.php, line 1281
Cake\Controller\Component\RequestHandlerComponent::beforeRender() - CORE/src/Controller/Component/RequestHandlerComponent.php, line 342
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 422
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 391
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 78
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 602
Cake\Error\ExceptionRenderer::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 319
Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 194
Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 99
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 83
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 90
[main] - ROOT/webroot/index.php, line 37 Notice (8) : compact() [<a href='http://php.net/function.compact'>function.compact</a>]: Undefined variable: timeMatches [CORE/src/Network/Response.php , line 1281 ]Code Context $timeMatches = strtotime ( $this -> modified ()) === strtotime ( $modifiedSince );
}
$checks = compact ( 'etagMatches' , 'timeMatches' );
$request = object(Cake\Network\Request) {
params => [
'controller' => 'Auth',
'action' => 'realms',
'pass' => [
[maximum depth reached]
],
'plugin' => null,
'_matchedRoute' => '/:controller/:action/*',
'_ext' => null,
'isAjax' => false
]
data => []
query => [
'client_id' => 'retronews',
'tab_id' => '_z-D2pDIYWQ'
]
cookies => [
'fikker-61vm-nk2N' => 'MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E'
]
url => 'auth/realms/lumni/login-actions/registration'
base => ''
webroot => '/'
here => '/auth/realms/lumni/login-actions/registration'
trustProxy => false
[protected] _environment => [
'HTTP_ACCEPT' => '*/*',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_COOKIE' => 'fikker-61vm-nk2N=MgPGRI6oXLV7DSLWJk4y6wNi63F1ZE0E',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_HOST' => 'retronews.little-web-dev.com',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_STATUS' => '200',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at retronews.little-web-dev.com Port 80</address>
',
'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)',
'SERVER_NAME' => 'retronews.little-web-dev.com',
'SERVER_ADDR' => '152.228.220.205',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '18.119.106.237',
'DOCUMENT_ROOT' => '/var/www/html/retronews/',
'REQUEST_SCHEME' => 'http',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/retronews/',
'SERVER_ADMIN' => '[no address given]',
'SCRIPT_FILENAME' => '/var/www/html/retronews/webroot/index.php',
'REMOTE_PORT' => '43772',
'REDIRECT_URL' => '/webroot/auth/realms/lumni/login-actions/registration',
'REDIRECT_QUERY_STRING' => 'client_id=retronews&tab_id=_z-D2pDIYWQ',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'client_id=retronews&tab_id=_z-D2pDIYWQ',
'REQUEST_URI' => '/auth/realms/lumni/login-actions/registration?client_id=retronews&tab_id=_z-D2pDIYWQ',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1726880065.6501,
'REQUEST_TIME' => (int) 1726880065,
'HTTP_X_HTTP_METHOD_OVERRIDE' => null,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
'HTTP_X_REQUESTED_WITH' => null,
'HTTP_IF_NONE_MATCH' => null,
'HTTP_IF_MODIFIED_SINCE' => null
]
[protected] _detectors => [
'get' => [
[maximum depth reached]
],
'post' => [
[maximum depth reached]
],
'put' => [
[maximum depth reached]
],
'patch' => [
[maximum depth reached]
],
'delete' => [
[maximum depth reached]
],
'head' => [
[maximum depth reached]
],
'options' => [
[maximum depth reached]
],
'ssl' => [
[maximum depth reached]
],
'ajax' => [
[maximum depth reached]
],
'flash' => [
[maximum depth reached]
],
'requested' => [
[maximum depth reached]
],
'json' => [
[maximum depth reached]
],
'xml' => [
[maximum depth reached]
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] _input => ''
[protected] _session => object(Cake\Network\Session) {}
}
$etags = []
$modifiedSince = null
$responseTag = null compact - [internal], line ??
Cake\Network\Response::checkNotModified() - CORE/src/Network/Response.php, line 1281
Cake\Controller\Component\RequestHandlerComponent::beforeRender() - CORE/src/Controller/Component/RequestHandlerComponent.php, line 342
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 422
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 391
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 78
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 602
Cake\Error\ExceptionRenderer::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 319
Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 194
Cake\Error\Middleware\ErrorHandlerMiddleware::handleException() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 99
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 83
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 90
[main] - ROOT/webroot/index.php, line 37 Warning (512) : Unable to emit headers. Headers sent in file=/var/www/html/retronews/vendor/cakephp/cakephp/src/Error/Debugger.php line=754 [CORE/src/Http/ResponseEmitter.php , line 48 ]Code Context $message = "Unable to emit headers. Headers sent in file= $file line= $line " ;
if ( Configure :: read ( 'debug' )) {
trigger_error ( $message , E_USER_WARNING );
$response = object(Zend\Diactoros\Response) {
[protected] headers => [
'Content-Type' => [
[maximum depth reached]
]
]
[protected] headerNames => [
'content-type' => 'Content-Type'
]
[private] phrases => [
(int) 100 => 'Continue',
(int) 101 => 'Switching Protocols',
(int) 102 => 'Processing',
(int) 103 => 'Early Hints',
(int) 200 => 'OK',
(int) 201 => 'Created',
(int) 202 => 'Accepted',
(int) 203 => 'Non-Authoritative Information',
(int) 204 => 'No Content',
(int) 205 => 'Reset Content',
(int) 206 => 'Partial Content',
(int) 207 => 'Multi-Status',
(int) 208 => 'Already Reported',
(int) 226 => 'IM Used',
(int) 300 => 'Multiple Choices',
(int) 301 => 'Moved Permanently',
(int) 302 => 'Found',
(int) 303 => 'See Other',
(int) 304 => 'Not Modified',
(int) 305 => 'Use Proxy',
(int) 306 => 'Switch Proxy',
(int) 307 => 'Temporary Redirect',
(int) 308 => 'Permanent Redirect',
(int) 400 => 'Bad Request',
(int) 401 => 'Unauthorized',
(int) 402 => 'Payment Required',
(int) 403 => 'Forbidden',
(int) 404 => 'Not Found',
(int) 405 => 'Method Not Allowed',
(int) 406 => 'Not Acceptable',
(int) 407 => 'Proxy Authentication Required',
(int) 408 => 'Request Timeout',
(int) 409 => 'Conflict',
(int) 410 => 'Gone',
(int) 411 => 'Length Required',
(int) 412 => 'Precondition Failed',
(int) 413 => 'Payload Too Large',
(int) 414 => 'URI Too Long',
(int) 415 => 'Unsupported Media Type',
(int) 416 => 'Range Not Satisfiable',
(int) 417 => 'Expectation Failed',
(int) 418 => 'I'm a teapot',
(int) 421 => 'Misdirected Request',
(int) 422 => 'Unprocessable Entity',
(int) 423 => 'Locked',
(int) 424 => 'Failed Dependency',
(int) 425 => 'Unordered Collection',
(int) 426 => 'Upgrade Required',
(int) 428 => 'Precondition Required',
(int) 429 => 'Too Many Requests',
(int) 431 => 'Request Header Fields Too Large',
(int) 444 => 'Connection Closed Without Response',
(int) 451 => 'Unavailable For Legal Reasons',
(int) 499 => 'Client Closed Request',
(int) 500 => 'Internal Server Error',
(int) 501 => 'Not Implemented',
(int) 502 => 'Bad Gateway',
(int) 503 => 'Service Unavailable',
(int) 504 => 'Gateway Timeout',
(int) 505 => 'HTTP Version Not Supported',
(int) 506 => 'Variant Also Negotiates',
(int) 507 => 'Insufficient Storage',
(int) 508 => 'Loop Detected',
(int) 510 => 'Not Extended',
(int) 511 => 'Network Authentication Required',
(int) 599 => 'Network Connect Timeout Error'
]
[private] reasonPhrase => ''
[private] statusCode => (int) 404
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\Stream) {}
}
$maxBufferLength = (int) 8192
$file = '/var/www/html/retronews/vendor/cakephp/cakephp/src/Error/Debugger.php'
$line = (int) 754
$message = 'Unable to emit headers. Headers sent in file=/var/www/html/retronews/vendor/cakephp/cakephp/src/Error/Debugger.php line=754' Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 48
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 116
[main] - ROOT/webroot/index.php, line 37 Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/html/retronews/vendor/cakephp/cakephp/src/Error/Debugger.php:754) [CORE/src/Http/ResponseEmitter.php , line 145 ]Code Context $response -> getProtocolVersion (),
$response -> getStatusCode (),
( $reasonPhrase ? ' ' . $reasonPhrase : '' )
$response = object(Zend\Diactoros\Response) {
[protected] headers => [
'Content-Type' => [
[maximum depth reached]
]
]
[protected] headerNames => [
'content-type' => 'Content-Type'
]
[private] phrases => [
(int) 100 => 'Continue',
(int) 101 => 'Switching Protocols',
(int) 102 => 'Processing',
(int) 103 => 'Early Hints',
(int) 200 => 'OK',
(int) 201 => 'Created',
(int) 202 => 'Accepted',
(int) 203 => 'Non-Authoritative Information',
(int) 204 => 'No Content',
(int) 205 => 'Reset Content',
(int) 206 => 'Partial Content',
(int) 207 => 'Multi-Status',
(int) 208 => 'Already Reported',
(int) 226 => 'IM Used',
(int) 300 => 'Multiple Choices',
(int) 301 => 'Moved Permanently',
(int) 302 => 'Found',
(int) 303 => 'See Other',
(int) 304 => 'Not Modified',
(int) 305 => 'Use Proxy',
(int) 306 => 'Switch Proxy',
(int) 307 => 'Temporary Redirect',
(int) 308 => 'Permanent Redirect',
(int) 400 => 'Bad Request',
(int) 401 => 'Unauthorized',
(int) 402 => 'Payment Required',
(int) 403 => 'Forbidden',
(int) 404 => 'Not Found',
(int) 405 => 'Method Not Allowed',
(int) 406 => 'Not Acceptable',
(int) 407 => 'Proxy Authentication Required',
(int) 408 => 'Request Timeout',
(int) 409 => 'Conflict',
(int) 410 => 'Gone',
(int) 411 => 'Length Required',
(int) 412 => 'Precondition Failed',
(int) 413 => 'Payload Too Large',
(int) 414 => 'URI Too Long',
(int) 415 => 'Unsupported Media Type',
(int) 416 => 'Range Not Satisfiable',
(int) 417 => 'Expectation Failed',
(int) 418 => 'I'm a teapot',
(int) 421 => 'Misdirected Request',
(int) 422 => 'Unprocessable Entity',
(int) 423 => 'Locked',
(int) 424 => 'Failed Dependency',
(int) 425 => 'Unordered Collection',
(int) 426 => 'Upgrade Required',
(int) 428 => 'Precondition Required',
(int) 429 => 'Too Many Requests',
(int) 431 => 'Request Header Fields Too Large',
(int) 444 => 'Connection Closed Without Response',
(int) 451 => 'Unavailable For Legal Reasons',
(int) 499 => 'Client Closed Request',
(int) 500 => 'Internal Server Error',
(int) 501 => 'Not Implemented',
(int) 502 => 'Bad Gateway',
(int) 503 => 'Service Unavailable',
(int) 504 => 'Gateway Timeout',
(int) 505 => 'HTTP Version Not Supported',
(int) 506 => 'Variant Also Negotiates',
(int) 507 => 'Insufficient Storage',
(int) 508 => 'Loop Detected',
(int) 510 => 'Not Extended',
(int) 511 => 'Network Authentication Required',
(int) 599 => 'Network Connect Timeout Error'
]
[private] reasonPhrase => 'Not Found'
[private] statusCode => (int) 404
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\Stream) {}
}
$reasonPhrase = 'Not Found' header - [internal], line ??
Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 145
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 54
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 116
[main] - ROOT/webroot/index.php, line 37 Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/html/retronews/vendor/cakephp/cakephp/src/Error/Debugger.php:754) [CORE/src/Http/ResponseEmitter.php , line 169 ]Code Context $first = true ;
foreach ( $values as $value ) {
header ( sprintf (
$response = object(Zend\Diactoros\Response) {
[protected] headers => [
'Content-Type' => [
[maximum depth reached]
]
]
[protected] headerNames => [
'content-type' => 'Content-Type'
]
[private] phrases => [
(int) 100 => 'Continue',
(int) 101 => 'Switching Protocols',
(int) 102 => 'Processing',
(int) 103 => 'Early Hints',
(int) 200 => 'OK',
(int) 201 => 'Created',
(int) 202 => 'Accepted',
(int) 203 => 'Non-Authoritative Information',
(int) 204 => 'No Content',
(int) 205 => 'Reset Content',
(int) 206 => 'Partial Content',
(int) 207 => 'Multi-Status',
(int) 208 => 'Already Reported',
(int) 226 => 'IM Used',
(int) 300 => 'Multiple Choices',
(int) 301 => 'Moved Permanently',
(int) 302 => 'Found',
(int) 303 => 'See Other',
(int) 304 => 'Not Modified',
(int) 305 => 'Use Proxy',
(int) 306 => 'Switch Proxy',
(int) 307 => 'Temporary Redirect',
(int) 308 => 'Permanent Redirect',
(int) 400 => 'Bad Request',
(int) 401 => 'Unauthorized',
(int) 402 => 'Payment Required',
(int) 403 => 'Forbidden',
(int) 404 => 'Not Found',
(int) 405 => 'Method Not Allowed',
(int) 406 => 'Not Acceptable',
(int) 407 => 'Proxy Authentication Required',
(int) 408 => 'Request Timeout',
(int) 409 => 'Conflict',
(int) 410 => 'Gone',
(int) 411 => 'Length Required',
(int) 412 => 'Precondition Failed',
(int) 413 => 'Payload Too Large',
(int) 414 => 'URI Too Long',
(int) 415 => 'Unsupported Media Type',
(int) 416 => 'Range Not Satisfiable',
(int) 417 => 'Expectation Failed',
(int) 418 => 'I'm a teapot',
(int) 421 => 'Misdirected Request',
(int) 422 => 'Unprocessable Entity',
(int) 423 => 'Locked',
(int) 424 => 'Failed Dependency',
(int) 425 => 'Unordered Collection',
(int) 426 => 'Upgrade Required',
(int) 428 => 'Precondition Required',
(int) 429 => 'Too Many Requests',
(int) 431 => 'Request Header Fields Too Large',
(int) 444 => 'Connection Closed Without Response',
(int) 451 => 'Unavailable For Legal Reasons',
(int) 499 => 'Client Closed Request',
(int) 500 => 'Internal Server Error',
(int) 501 => 'Not Implemented',
(int) 502 => 'Bad Gateway',
(int) 503 => 'Service Unavailable',
(int) 504 => 'Gateway Timeout',
(int) 505 => 'HTTP Version Not Supported',
(int) 506 => 'Variant Also Negotiates',
(int) 507 => 'Insufficient Storage',
(int) 508 => 'Loop Detected',
(int) 510 => 'Not Extended',
(int) 511 => 'Network Authentication Required',
(int) 599 => 'Network Connect Timeout Error'
]
[private] reasonPhrase => 'Not Found'
[private] statusCode => (int) 404
[private] protocol => '1.1'
[private] stream => object(Zend\Diactoros\Stream) {}
}
$values = [
(int) 0 => 'text/html; charset=UTF-8'
]
$name = 'Content-Type'
$first = true
$value = 'text/html; charset=UTF-8' header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 169
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 55
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 116
[main] - ROOT/webroot/index.php, line 37
Error: Missing Controller
Error:
AuthController could not be found.
/var/www/html/retronews/vendor/cakephp/cakephp/src/Http/ControllerFactory.php
toggle arguments
}
$className = App :: className ( $pluginPath . $controller , $namespace , 'Controller' );
if (! $className ) {
return $this -> missingController ( $request );
}
$reflection = new ReflectionClass ( $className );
if ( $reflection -> isAbstract () || $reflection -> isInterface ()) {
return $this -> missingController ( $request );
/var/www/html/retronews/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php
toggle arguments
// event handler if there is one.
if (isset( $beforeEvent -> data [ 'controller' ])) {
$controller = $beforeEvent -> data [ 'controller' ];
} else {
$controller = $this -> factory -> create ( $request , $response );
}
$response = $this -> _invoke ( $controller );
if (isset( $request -> params [ 'return' ])) {
/var/www/html/retronews/vendor/cakephp/cakephp/src/Http/BaseApplication.php
toggle arguments
$cakeRequest = RequestTransformer :: toCake ( $request );
$cakeResponse = ResponseTransformer :: toCake ( $response );
// Dispatch the request/response to CakePHP
$cakeResponse = $this -> getDispatcher ()-> dispatch ( $cakeRequest , $cakeResponse );
// Convert the response back into a PSR7 object.
return ResponseTransformer :: toPsr ( $cakeResponse );
}
/var/www/html/retronews/vendor/cakephp/cakephp/src/Http/Runner.php
toggle arguments
$next = $this -> middleware -> get ( $this -> index );
if ( $next ) {
$this -> index ++;
return $next ( $request , $response , $this );
}
// End of the queue
return $response ;
/var/www/html/retronews/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php
toggle arguments
$response -> getHeaders ()
);
}
return $next ( $request , $response );
}
}
/var/www/html/retronews/vendor/cakephp/cakephp/src/Http/Runner.php
toggle arguments
$next = $this -> middleware -> get ( $this -> index );
if ( $next ) {
$this -> index ++;
return $next ( $request , $response , $this );
}
// End of the queue
return $response ;
/var/www/html/retronews/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php
toggle arguments
public function __invoke ( $request , $response , $next )
{
$url = $request -> getUri ()-> getPath ();
if ( strpos ( $url , '..' ) !== false || strpos ( $url , '.' ) === false ) {
return $next ( $request , $response );
}
$assetFile = $this -> _getAssetFile ( $url );
if ( $assetFile === null || ! file_exists ( $assetFile )) {
/var/www/html/retronews/vendor/cakephp/cakephp/src/Http/Runner.php
toggle arguments
$next = $this -> middleware -> get ( $this -> index );
if ( $next ) {
$this -> index ++;
return $next ( $request , $response , $this );
}
// End of the queue
return $response ;
/var/www/html/retronews/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php
toggle arguments
*/
public function __invoke ( $request , $response , $next )
{
try {
return $next ( $request , $response );
} catch (\ Exception $e ) {
return $this -> handleException ( $e , $request , $response );
}
}
/var/www/html/retronews/vendor/cakephp/cakephp/src/Http/Runner.php
toggle arguments
$next = $this -> middleware -> get ( $this -> index );
if ( $next ) {
$this -> index ++;
return $next ( $request , $response , $this );
}
// End of the queue
return $response ;
/var/www/html/retronews/vendor/cakephp/cakephp/src/Http/Runner.php
toggle arguments
{
$this -> middleware = $middleware ;
$this -> index = 0 ;
return $this -> __invoke ( $request , $response );
}
/**
* @ param \ Psr \ Http \ Message \ ServerRequestInterface $request The server request
/var/www/html/retronews/vendor/cakephp/cakephp/src/Http/Server.php
toggle arguments
throw new RuntimeException ( 'The application `middleware` method did not return a middleware queue.' );
}
$this -> dispatchEvent ( 'Server.buildMiddleware' , [ 'middleware' => $middleware ]);
$middleware -> add ( $this -> app );
$response = $this -> runner -> run ( $middleware , $request , $response );
if (!( $response instanceof ResponseInterface )) {
throw new RuntimeException ( sprintf (
'Application did not create a response. Got "%s" instead.' ,
/var/www/html/retronews/webroot/index.php
toggle arguments
$server = new Server (new Application ( dirname ( __DIR__ ) . '/config' ));
// Run the request/response through the application
// and emit the response.
$server -> emit ( $server -> run ());
Error:
Create the class AuthController below in file: src/Controller/AuthController.php
<?php namespace App \ Controller ; use App \ Controller \ AppController ; class AuthController extends AppController { }
If you want to customize this error message, create
src/Template/Error/missing_controller.ctp
toggle vendor stack frames
〉 Cake\Http\ControllerFactory->missingController
CORE/src/Http/ControllerFactory.php, line 72
〉 Cake\Http\ControllerFactory->create
CORE/src/Http/ActionDispatcher.php, line 92
〉 Cake\Http\ActionDispatcher->dispatch
CORE/src/Http/BaseApplication.php, line 83
〉 Cake\Http\BaseApplication->__invoke
CORE/src/Http/Runner.php, line 65
〉 Cake\Http\Runner->__invoke
CORE/src/Routing/Middleware/RoutingMiddleware.php, line 62
〉 Cake\Routing\Middleware\RoutingMiddleware->__invoke
CORE/src/Http/Runner.php, line 65
〉 Cake\Http\Runner->__invoke
CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
〉 Cake\Routing\Middleware\AssetMiddleware->__invoke
CORE/src/Http/Runner.php, line 65
〉 Cake\Http\Runner->__invoke
CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 81
〉 Cake\Error\Middleware\ErrorHandlerMiddleware->__invoke
CORE/src/Http/Runner.php, line 65
〉 Cake\Http\Runner->__invoke
CORE/src/Http/Runner.php, line 51
〉 Cake\Http\Runner->run
CORE/src/Http/Server.php, line 90
〉 Cake\Http\Server->run
ROOT/webroot/index.php, line 37