Notice (8) : compact() [function.compact ]: Undefined variable: etagMatches [CORE/src/Network/Response.php , line 1259 ]Code Context $timeMatches = strtotime ( $this -> modified ()) === strtotime ( $modifiedSince );
}
$checks = compact ( 'etagMatches' , 'timeMatches' );
$request = object(Cake\Network\Request) {
params => [
'plugin' => null,
'controller' => 'Trade',
'action' => 'index',
'_ext' => null,
'pass' => [[maximum depth reached]],
'_matchedRoute' => '/:controller',
'isAjax' => false
]
data => []
query => []
cookies => []
url => 'trade'
base => ''
webroot => '/'
here => '/trade'
trustProxy => false
[protected] _environment => [
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'HTTP_HOST' => 'www.jyuku-sma.com',
'HTTP_X_REAL_IP' => '18.119.161.216',
'HTTP_LISTEN_IPADDR' => '49.212.243.104',
'HTTP_VIA' => '1.0 ss216.guard.sakura.ne.jp:80 (EG Secure Solutions/siteguard_http_01/630-0/ss216.guard.sakura.ne.',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_REFERER' => 'https://jyuku-sma.com/trade',
'PATH' => '/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'www.jyuku-sma.com',
'SERVER_ADDR' => '100.64.0.46',
'SERVER_PORT' => '443',
'REMOTE_HOST' => 'ec2-18-119-161-216.us-east-2.compute.amazonaws.com',
'REMOTE_ADDR' => '18.119.161.216',
'DOCUMENT_ROOT' => '/home/jyuku-sma/www/old.www.jyuku-sma.com',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/jyuku-sma/www/old.www.jyuku-sma.com',
'SERVER_ADMIN' => '[no address given]',
'SCRIPT_FILENAME' => '/home/jyuku-sma/www/old.www.jyuku-sma.com/webroot/index.php',
'REMOTE_PORT' => '0',
'REDIRECT_URL' => '/webroot/trade',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/trade',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1732172278.3532,
'REQUEST_TIME' => (int) 1732172278,
'argv' => [[maximum depth reached]],
'argc' => (int) 0,
'CWD' => '/usr/local/apache/cgi-bin',
'ORIG_SCRIPT_NAME' => '/cgi-bin/cpwrapper3',
'HTTP_X_FORWARDED_PORT' => '80',
'ORIG_PATH_TRANSLATED' => '/usr/local/cpanel/api.php',
'ACCOUNT' => 'jyuku-sma',
'ORIG_SCRIPT_FILENAME' => '/usr/local/apache/cgi-bin/cpwrapper3',
'PWD' => '/usr/local/cpanel',
'CONTENT_LENGTH' => '504',
'HOME' => '/home/jyuku-sma',
'CONTENT_TYPE' => 'application/x-www-form-urlencoded',
'PHPRC' => '/home/jyuku-sma/www',
'HTTP_COOKIE' => 'SAKURA_RS_ACCOUNT=jyuku-sma',
'RENTALSERVER_DOMAIN' => 'jyuku-sma.sakura.ne.jp',
'ORIG_PATH_INFO' => '/api',
'RC_PID' => '50740',
'HTTP_X_HTTP_METHOD_OVERRIDE' => null,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'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 1259
Cake\Controller\Component\RequestHandlerComponent::beforeRender() - CORE/src/Controller/Component/RequestHandlerComponent.php, line 325
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 421
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 386
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 327
Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 194
Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 144
Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 180
Cake\Error\BaseErrorHandler::wrapAndHandleException() - CORE/src/Error/BaseErrorHandler.php, line 164
[main] - [internal], line ?? Notice (8) : compact() [function.compact ]: Undefined variable: timeMatches [CORE/src/Network/Response.php , line 1259 ]Code Context $timeMatches = strtotime ( $this -> modified ()) === strtotime ( $modifiedSince );
}
$checks = compact ( 'etagMatches' , 'timeMatches' );
$request = object(Cake\Network\Request) {
params => [
'plugin' => null,
'controller' => 'Trade',
'action' => 'index',
'_ext' => null,
'pass' => [[maximum depth reached]],
'_matchedRoute' => '/:controller',
'isAjax' => false
]
data => []
query => []
cookies => []
url => 'trade'
base => ''
webroot => '/'
here => '/trade'
trustProxy => false
[protected] _environment => [
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'HTTPS' => 'on',
'HTTP_HOST' => 'www.jyuku-sma.com',
'HTTP_X_REAL_IP' => '18.119.161.216',
'HTTP_LISTEN_IPADDR' => '49.212.243.104',
'HTTP_VIA' => '1.0 ss216.guard.sakura.ne.jp:80 (EG Secure Solutions/siteguard_http_01/630-0/ss216.guard.sakura.ne.',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'HTTP_REFERER' => 'https://jyuku-sma.com/trade',
'PATH' => '/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'www.jyuku-sma.com',
'SERVER_ADDR' => '100.64.0.46',
'SERVER_PORT' => '443',
'REMOTE_HOST' => 'ec2-18-119-161-216.us-east-2.compute.amazonaws.com',
'REMOTE_ADDR' => '18.119.161.216',
'DOCUMENT_ROOT' => '/home/jyuku-sma/www/old.www.jyuku-sma.com',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home/jyuku-sma/www/old.www.jyuku-sma.com',
'SERVER_ADMIN' => '[no address given]',
'SCRIPT_FILENAME' => '/home/jyuku-sma/www/old.www.jyuku-sma.com/webroot/index.php',
'REMOTE_PORT' => '0',
'REDIRECT_URL' => '/webroot/trade',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'REQUEST_URI' => '/trade',
'SCRIPT_NAME' => '/webroot/index.php',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1732172278.3532,
'REQUEST_TIME' => (int) 1732172278,
'argv' => [[maximum depth reached]],
'argc' => (int) 0,
'CWD' => '/usr/local/apache/cgi-bin',
'ORIG_SCRIPT_NAME' => '/cgi-bin/cpwrapper3',
'HTTP_X_FORWARDED_PORT' => '80',
'ORIG_PATH_TRANSLATED' => '/usr/local/cpanel/api.php',
'ACCOUNT' => 'jyuku-sma',
'ORIG_SCRIPT_FILENAME' => '/usr/local/apache/cgi-bin/cpwrapper3',
'PWD' => '/usr/local/cpanel',
'CONTENT_LENGTH' => '504',
'HOME' => '/home/jyuku-sma',
'CONTENT_TYPE' => 'application/x-www-form-urlencoded',
'PHPRC' => '/home/jyuku-sma/www',
'HTTP_COOKIE' => 'SAKURA_RS_ACCOUNT=jyuku-sma',
'RENTALSERVER_DOMAIN' => 'jyuku-sma.sakura.ne.jp',
'ORIG_PATH_INFO' => '/api',
'RC_PID' => '50740',
'HTTP_X_HTTP_METHOD_OVERRIDE' => null,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'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 1259
Cake\Controller\Component\RequestHandlerComponent::beforeRender() - CORE/src/Controller/Component/RequestHandlerComponent.php, line 325
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 421
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 386
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 327
Cake\Error\ExceptionRenderer::render() - CORE/src/Error/ExceptionRenderer.php, line 194
Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 144
Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 180
Cake\Error\BaseErrorHandler::wrapAndHandleException() - CORE/src/Error/BaseErrorHandler.php, line 164
[main] - [internal], line ??
Error: Missing Controller
Error:
TradeController could not be found.
/home/jyuku-sma/www/old.www.jyuku-sma.com/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 );
/home/jyuku-sma/www/old.www.jyuku-sma.com/vendor/cakephp/cakephp/src/Routing/Filter/ControllerFactoryFilter.php
toggle arguments
protected function _getController ( $request , $response )
{
$factory = new ControllerFactory ();
return $factory -> create ( $request , $response );
}
}
/home/jyuku-sma/www/old.www.jyuku-sma.com/vendor/cakephp/cakephp/src/Routing/Filter/ControllerFactoryFilter.php
toggle arguments
public function beforeDispatch ( Event $event )
{
$request = $event -> data [ 'request' ];
$response = $event -> data [ 'response' ];
$event -> data [ 'controller' ] = $this -> _getController ( $request , $response );
}
/**
* Gets controller to use, either plugin or application controller .
/home/jyuku-sma/www/old.www.jyuku-sma.com/vendor/cakephp/cakephp/src/Routing/DispatcherFilter.php
toggle arguments
{
$name = $event -> name ();
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/jyuku-sma/www/old.www.jyuku-sma.com/vendor/cakephp/cakephp/src/Event/EventManager.php
toggle arguments
return $listener ( $event );
case 1 :
return $listener ( $event , $data [ 0 ]);
case 2 :
return $listener ( $event , $data [ 0 ], $data [ 1 ]);
case 3 :
return $listener ( $event , $data [ 0 ], $data [ 1 ], $data [ 2 ]);
default:
array_unshift ( $data , $event );
/home/jyuku-sma/www/old.www.jyuku-sma.com/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/jyuku-sma/www/old.www.jyuku-sma.com/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/jyuku-sma/www/old.www.jyuku-sma.com/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 -> data [ 'request' ];
if ( $beforeEvent -> result instanceof Response ) {
return $beforeEvent -> result ;
/home/jyuku-sma/www/old.www.jyuku-sma.com/vendor/cakephp/cakephp/src/Routing/Dispatcher.php
toggle arguments
*/
public function dispatch ( Request $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/jyuku-sma/www/old.www.jyuku-sma.com/webroot/index.php
toggle arguments
$dispatcher = DispatcherFactory :: create ();
$dispatcher -> dispatch (
Request :: createFromGlobals (),
new Response ()
);
Error:
Create the class TradeController below in file: src/Controller/TradeController.php
<?php namespace App \ Controller ; use App \ Controller \ AppController ; class TradeController 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/Routing/Filter/ControllerFactoryFilter.php, line 66
〉 Cake\Routing\Filter\ControllerFactoryFilter->_getController
CORE/src/Routing/Filter/ControllerFactoryFilter.php, line 52
〉 Cake\Routing\Filter\ControllerFactoryFilter->beforeDispatch
CORE/src/Routing/DispatcherFilter.php, line 144
〉 Cake\Routing\DispatcherFilter->handle
CORE/src/Event/EventManager.php, line 425
〉 Cake\Event\EventManager->_callListener
CORE/src/Event/EventManager.php, line 386
〉 Cake\Event\EventManager->dispatch
CORE/src/Event/EventDispatcherTrait.php, line 78
〉 Cake\Http\ActionDispatcher->dispatchEvent
CORE/src/Http/ActionDispatcher.php, line 83
〉 Cake\Http\ActionDispatcher->dispatch
CORE/src/Routing/Dispatcher.php, line 62
〉 Cake\Routing\Dispatcher->dispatch
ROOT/webroot/index.php, line 36