Notice (8) : compact() [<a href='https://secure.php.net/function.compact'>function.compact</a>]: Undefined variable: etagMatches [CORE/src/Http/Response.php , line 1887 ]Code Context }
$checks = compact ( 'etagMatches' , 'timeMatches' );
if (empty( $checks )) {
$request = object(Cake\Http\ServerRequest) {
params => [
'plugin' => null,
'controller' => 'Users',
'action' => 'resources',
'_ext' => null,
'pass' => [
[maximum depth reached]
],
'_matchedRoute' => '/:controller/:action/*',
'isAjax' => false
]
data => []
query => []
cookies => []
url => 'users/resources/stylesheets/eText/infoboxes.css'
base => ''
webroot => '/'
here => '/users/resources/stylesheets/eText/infoboxes.css'
trustProxy => false
[protected] _environment => [
'USER' => 'hpwaheguru',
'HOME' => '/var/www/vhosts/hpwaheguru.co.uk',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/users/resources/stylesheets/eText/infoboxes.css',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/users/resources/stylesheets/eText/infoboxes.css',
'REMOTE_PORT' => '55590',
'SCRIPT_FILENAME' => '/var/www/vhosts/hpwaheguru.co.uk/httpdocs/webroot/index.php',
'SERVER_ADMIN' => 'root@localhost',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/hpwaheguru.co.uk/httpdocs',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/var/www/vhosts/hpwaheguru.co.uk/httpdocs',
'REMOTE_ADDR' => '18.222.119.148',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '92.205.105.79',
'SERVER_NAME' => 'hpwaheguru.co.uk',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'close',
'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location',
'HTTP_X_REAL_IP' => '18.222.119.148',
'HTTP_HOST' => 'hpwaheguru.co.uk',
'proxy-nokeepalive' => '1',
'PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0',
'PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0',
'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins',
'UNIQUE_ID' => 'ZjgflQgNsLh6YTeq0-738QAAABM',
'REDIRECT_STATUS' => '200',
'REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0',
'REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0',
'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins',
'REDIRECT_UNIQUE_ID' => 'ZjgflQgNsLh6YTeq0-738QAAABM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0',
'REDIRECT_REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0',
'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZjgflQgNsLh6YTeq0-738QAAABM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1714954133.6457,
'REQUEST_TIME' => (int) 1714954133,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'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 1887
Cake\Controller\Component\RequestHandlerComponent::beforeRender() - CORE/src/Controller/Component/RequestHandlerComponent.php, line 333
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 416
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 393
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 110
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 138
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 1887 ]Code Context }
$checks = compact ( 'etagMatches' , 'timeMatches' );
if (empty( $checks )) {
$request = object(Cake\Http\ServerRequest) {
params => [
'plugin' => null,
'controller' => 'Users',
'action' => 'resources',
'_ext' => null,
'pass' => [
[maximum depth reached]
],
'_matchedRoute' => '/:controller/:action/*',
'isAjax' => false
]
data => []
query => []
cookies => []
url => 'users/resources/stylesheets/eText/infoboxes.css'
base => ''
webroot => '/'
here => '/users/resources/stylesheets/eText/infoboxes.css'
trustProxy => false
[protected] _environment => [
'USER' => 'hpwaheguru',
'HOME' => '/var/www/vhosts/hpwaheguru.co.uk',
'SCRIPT_NAME' => '/webroot/index.php',
'REQUEST_URI' => '/users/resources/stylesheets/eText/infoboxes.css',
'QUERY_STRING' => '',
'REQUEST_METHOD' => 'GET',
'SERVER_PROTOCOL' => 'HTTP/1.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'REDIRECT_URL' => '/webroot/users/resources/stylesheets/eText/infoboxes.css',
'REMOTE_PORT' => '55590',
'SCRIPT_FILENAME' => '/var/www/vhosts/hpwaheguru.co.uk/httpdocs/webroot/index.php',
'SERVER_ADMIN' => 'root@localhost',
'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/hpwaheguru.co.uk/httpdocs',
'CONTEXT_PREFIX' => '',
'REQUEST_SCHEME' => 'http',
'DOCUMENT_ROOT' => '/var/www/vhosts/hpwaheguru.co.uk/httpdocs',
'REMOTE_ADDR' => '18.222.119.148',
'SERVER_PORT' => '80',
'SERVER_ADDR' => '92.205.105.79',
'SERVER_NAME' => 'hpwaheguru.co.uk',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_SIGNATURE' => '',
'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_CONNECTION' => 'close',
'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location',
'HTTP_X_REAL_IP' => '18.222.119.148',
'HTTP_HOST' => 'hpwaheguru.co.uk',
'proxy-nokeepalive' => '1',
'PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0',
'PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0',
'PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins',
'UNIQUE_ID' => 'ZjgflQgNsLh6YTeq0-738QAAABM',
'REDIRECT_STATUS' => '200',
'REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0',
'REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0',
'REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins',
'REDIRECT_UNIQUE_ID' => 'ZjgflQgNsLh6YTeq0-738QAAABM',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY' => '0',
'REDIRECT_REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY' => '0',
'REDIRECT_REDIRECT_PERL5LIB' => '/usr/share/awstats/lib:/usr/share/awstats/plugins',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZjgflQgNsLh6YTeq0-738QAAABM',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1714954133.6457,
'REQUEST_TIME' => (int) 1714954133,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'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 1887
Cake\Controller\Component\RequestHandlerComponent::beforeRender() - CORE/src/Controller/Component/RequestHandlerComponent.php, line 333
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 416
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 393
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 110
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 138
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: Missing Method in UsersController
The action resources is not defined in UsersController
/var/www/vhosts/hpwaheguru.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php
toggle arguments
if ( $result instanceof Response ) {
return $result ;
}
$response = $controller -> invokeAction ();
if ( $response !== null && !( $response instanceof Response )) {
throw new LogicException ( 'Controller actions can only return Cake\Http\Response or null.' );
}
/var/www/vhosts/hpwaheguru.co.uk/httpdocs/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php
toggle arguments
} else {
$controller = $this -> factory -> create ( $request , $response );
}
$response = $this -> _invoke ( $controller );
if (isset( $request -> params [ 'return' ])) {
return $response ;
}
/var/www/vhosts/hpwaheguru.co.uk/httpdocs/vendor/cakephp/cakephp/src/Routing/Dispatcher.php
toggle arguments
*/
public function dispatch ( ServerRequest $request , Response $response )
{
$actionDispatcher = new ActionDispatcher ( null , $this -> getEventManager (), $this -> _filters );
$response = $actionDispatcher -> dispatch ( $request , $response );
if (isset( $request -> params [ 'return' ])) {
return $response -> body ();
}
/var/www/vhosts/hpwaheguru.co.uk/httpdocs/webroot/index.php
toggle arguments
$dispatcher = DispatcherFactory :: create ();
$dispatcher -> dispatch (
Request :: createFromGlobals (),
new Response ()
);
Error:
Create UsersController::resources() in file: src/Controller/UsersController.php.
<?php namespace App \ Controller ; use App \ Controller \ AppController ; class UsersController extends AppController { public function resources () { } }
If you want to customize this error message, create
src/Template/Error/missing_action.ctp