Notice (8) : compact() [<a href='https://secure.php.net/function.compact'>function.compact</a>]: Undefined variable: etagMatches [CORE/src/Http/Response.php , line 1864 ]Code Context $timeMatches = strtotime ( $this -> modified ()) === strtotime ( $modifiedSince );
}
$checks = compact ( 'etagMatches' , 'timeMatches' ); $request = object(Cake\Http\ServerRequest) {
params => [
'plugin' => null,
'controller' => 'Sitemap.xml',
'action' => 'index',
'_ext' => null,
'pass' => [[maximum depth reached]],
'_matchedRoute' => '/:controller',
'isAjax' => false
]
data => []
query => []
cookies => []
url => 'sitemap.xml'
base => ''
webroot => '/'
here => '/sitemap.xml'
trustProxy => false
[protected] _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_CLIENT_REAL_IP' => '216.73.216.84',
'HTTP_X_FORWARDED_FOR' => '216.73.216.84',
'HTTP_HOST' => 'branch.momo-3.com',
'SCRIPT_FILENAME' => '/home/subcli/branch/webroot/index.php',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'branch.momo-3.com',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.170.149',
'REMOTE_PORT' => '48644',
'REMOTE_ADDR' => '52.197.47.33',
'SERVER_SOFTWARE' => 'nginx/1.20.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REQUEST_SCHEME' => 'http',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => '/home/subcli/branch/webroot',
'DOCUMENT_URI' => '/index.php',
'REQUEST_URI' => '/sitemap.xml',
'SCRIPT_NAME' => '/index.php',
'CONTENT_LENGTH' => '',
'CONTENT_TYPE' => '',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1764999768.1802,
'REQUEST_TIME' => (int) 1764999768,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
'HTTP_X_REQUESTED_WITH' => null,
'HTTP_IF_NONE_MATCH' => null,
'HTTP_IF_MODIFIED_SINCE' => null
]
[protected] _input => 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] stream => object(Zend\Diactoros\PhpInputStream) {}
[protected] uri => object(Zend\Diactoros\Uri) {}
[protected] session => object(Cake\Network\Session) {}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
}
$etags = []
$modifiedSince = null
$responseTag = null compact - [internal], line ??
Cake\Http\Response::checkNotModified() - CORE/src/Http/Response.php, line 1864
Cake\Controller\Component\RequestHandlerComponent::beforeRender() - CORE/src/Controller/Component/RequestHandlerComponent.php, line 332
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 414
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 610
Cake\Error\ExceptionRenderer::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 325
Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 200
Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 137
Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 187
Cake\Error\BaseErrorHandler::wrapAndHandleException() - CORE/src/Error/BaseErrorHandler.php, line 171
[main] - [internal], line ?? Notice (8) : compact() [<a href='https://secure.php.net/function.compact'>function.compact</a>]: Undefined variable: timeMatches [CORE/src/Http/Response.php , line 1864 ]Code Context $timeMatches = strtotime ( $this -> modified ()) === strtotime ( $modifiedSince );
}
$checks = compact ( 'etagMatches' , 'timeMatches' ); $request = object(Cake\Http\ServerRequest) {
params => [
'plugin' => null,
'controller' => 'Sitemap.xml',
'action' => 'index',
'_ext' => null,
'pass' => [[maximum depth reached]],
'_matchedRoute' => '/:controller',
'isAjax' => false
]
data => []
query => []
cookies => []
url => 'sitemap.xml'
base => ''
webroot => '/'
here => '/sitemap.xml'
trustProxy => false
[protected] _environment => [
'USER' => 'apache',
'HOME' => '/usr/share/httpd',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_X_CLIENT_REAL_IP' => '216.73.216.84',
'HTTP_X_FORWARDED_FOR' => '216.73.216.84',
'HTTP_HOST' => 'branch.momo-3.com',
'SCRIPT_FILENAME' => '/home/subcli/branch/webroot/index.php',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'branch.momo-3.com',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '10.0.170.149',
'REMOTE_PORT' => '48644',
'REMOTE_ADDR' => '52.197.47.33',
'SERVER_SOFTWARE' => 'nginx/1.20.1',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REQUEST_SCHEME' => 'http',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => '/home/subcli/branch/webroot',
'DOCUMENT_URI' => '/index.php',
'REQUEST_URI' => '/sitemap.xml',
'SCRIPT_NAME' => '/index.php',
'CONTENT_LENGTH' => '',
'CONTENT_TYPE' => '',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1764999768.1802,
'REQUEST_TIME' => (int) 1764999768,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTPS' => false,
'HTTP_X_REQUESTED_WITH' => null,
'HTTP_IF_NONE_MATCH' => null,
'HTTP_IF_MODIFIED_SINCE' => null,
'HTTP_REFERER' => null
]
[protected] _input => 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] stream => object(Zend\Diactoros\PhpInputStream) {}
[protected] uri => object(Zend\Diactoros\Uri) {}
[protected] session => object(Cake\Network\Session) {}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
}
$etags = []
$modifiedSince = null
$responseTag = null compact - [internal], line ??
Cake\Http\Response::checkNotModified() - CORE/src/Http/Response.php, line 1864
Cake\Controller\Component\RequestHandlerComponent::beforeRender() - CORE/src/Controller/Component/RequestHandlerComponent.php, line 332
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 414
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 610
Cake\Error\ExceptionRenderer::_outputMessage() - CORE/src/Error/ExceptionRenderer.php, line 325
Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 200
Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 137
Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 187
Cake\Error\BaseErrorHandler::wrapAndHandleException() - CORE/src/Error/BaseErrorHandler.php, line 171
[main] - [internal], line ??
Error: Controller class Sitemap.xml could not be found.
/home/subcli/branch/vendor/cakephp/cakephp/src/Http/ControllerFactory.php
toggle arguments
strpos ( $controller , '/' ) !== false ||
strpos ( $controller , '.' ) !== false ||
$firstChar === strtolower ( $firstChar )
) {
$this -> missingController ( $request );
}
$className = App :: className ( $pluginPath . $controller , $namespace , 'Controller' );
if (! $className ) {
/home/subcli/branch/vendor/cakephp/cakephp/src/Routing/Filter/ControllerFactoryFilter.php
toggle arguments
protected function _getController ( $request , $response )
{
$factory = new ControllerFactory ();
return $factory -> create ( $request , $response );
}
}
/home/subcli/branch/vendor/cakephp/cakephp/src/Routing/Filter/ControllerFactoryFilter.php
toggle arguments
public function beforeDispatch ( Event $event )
{
$request = $event -> getData ( 'request' );
$response = $event -> getData ( 'response' );
$event -> setData ( 'controller' , $this -> _getController ( $request , $response ));
}
/**
* Gets controller to use, either plugin or application controller .
/home/subcli/branch/vendor/cakephp/cakephp/src/Routing/DispatcherFilter.php
toggle arguments
{
$name = $event -> getName ();
list(, $method ) = explode ( '.' , $name );
if (empty( $this -> _config [ 'for' ]) && empty( $this -> _config [ 'when' ])) {
return $this ->{ $method }( $event );
}
if ( $this -> matches ( $event )) {
return $this ->{ $method }( $event );
}
/home/subcli/branch/vendor/cakephp/cakephp/src/Event/EventManager.php
toggle arguments
protected function _callListener (callable $listener , Event $event )
{
$data = $event -> getData ();
return $listener ( $event , ... array_values ( $data ));
}
/**
* Returns a list of all listeners for an eventKey in the order they should be called
/home/subcli/branch/vendor/cakephp/cakephp/src/Event/EventManager.php
toggle arguments
foreach ( $listeners as $listener ) {
if ( $event -> isStopped ()) {
break;
}
$result = $this -> _callListener ( $listener [ 'callable' ], $event );
if ( $result === false ) {
$event -> stopPropagation ();
}
if ( $result !== null ) {
/home/subcli/branch/vendor/cakephp/cakephp/src/Event/EventDispatcherTrait.php
toggle arguments
$subject = $this ;
}
$event = new $this -> _eventClass ( $name , $subject , $data );
$this -> eventManager ()-> dispatch ( $event );
return $event ;
}
}
/home/subcli/branch/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php
toggle arguments
{
if ( Router :: getRequest ( true ) !== $request ) {
Router :: pushRequest ( $request );
}
$beforeEvent = $this -> dispatchEvent ( 'Dispatcher.beforeDispatch' , compact ( 'request' , 'response' ));
$request = $beforeEvent -> getData ( 'request' );
if ( $beforeEvent -> getResult () instanceof Response ) {
return $beforeEvent -> getResult ();
/home/subcli/branch/vendor/cakephp/cakephp/src/Routing/Dispatcher.php
toggle arguments
*/
public function dispatch ( ServerRequest $request , Response $response )
{
$actionDispatcher = new ActionDispatcher ( null , $this -> eventManager (), $this -> _filters );
$response = $actionDispatcher -> dispatch ( $request , $response );
if (isset( $request -> params [ 'return' ])) {
return $response -> body ();
}
/home/subcli/branch/webroot/index.php
toggle arguments
$dispatcher = DispatcherFactory :: create ();
$dispatcher -> dispatch (
Request :: createFromGlobals (),
new Response ()
);
If you want to customize this error message, create
src/Template/Error/error500.ctp
toggle vendor stack frames
〉 Cake\Http\ControllerFactory->missingController
CORE/src/Http/ControllerFactory.php, line 65
〉 Cake\Http\ControllerFactory->create
CORE/src/Routing/Filter/ControllerFactoryFilter.php, line 63
〉 Cake\Routing\Filter\ControllerFactoryFilter->_getController
CORE/src/Routing/Filter/ControllerFactoryFilter.php, line 49
〉 Cake\Routing\Filter\ControllerFactoryFilter->beforeDispatch
CORE/src/Routing/DispatcherFilter.php, line 144
〉 Cake\Routing\DispatcherFilter->handle
CORE/src/Event/EventManager.php, line 414
〉 Cake\Event\EventManager->_callListener
CORE/src/Event/EventManager.php, line 391
〉 Cake\Event\EventManager->dispatch
CORE/src/Event/EventDispatcherTrait.php, line 78
〉 Cake\Http\ActionDispatcher->dispatchEvent
CORE/src/Http/ActionDispatcher.php, line 78
〉 Cake\Http\ActionDispatcher->dispatch
CORE/src/Routing/Dispatcher.php, line 60
〉 Cake\Routing\Dispatcher->dispatch
ROOT/webroot/index.php, line 36