Notice (8): Trying to get property of non-object [APP/Model/Table/PrefsTable.php, line 61]Code Context->first();return $row->name;$k = '' $row = nullApp\Model\Table\PrefsTable::getTitle() - APP/Model/Table/PrefsTable.php, line 61 App\Controller\SearchesController::getParam() - APP/Controller/SearchesController.php, line 205 App\Controller\SearchesController::index() - APP/Controller/SearchesController.php, line 33 Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 440 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 119 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 93 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 78 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 59 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 92 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 80 [main] - /usr/share/nginx/html/dickensquarterly.org/webroot/index.php, line 39
Notice (8): Trying to get property of non-object [APP/Model/Table/CitiesTable.php, line 144]Code Context->first();return $row->name;$k = '' $row = nullApp\Model\Table\CitiesTable::getTitle() - APP/Model/Table/CitiesTable.php, line 144 App\Controller\SearchesController::getParam() - APP/Controller/SearchesController.php, line 206 App\Controller\SearchesController::index() - APP/Controller/SearchesController.php, line 33 Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 440 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 119 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 93 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 78 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 59 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 92 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 80 [main] - /usr/share/nginx/html/dickensquarterly.org/webroot/index.php, line 39
Warning (512): Unable to emit headers. Headers sent in file=/usr/share/nginx/html/dickensquarterly.org/project/vendor/cakephp/cakephp/src/Error/Debugger.php line=822 [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(Cake\Http\Response) { 'status' => (int) 500, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ [maximum depth reached] ] ], 'file' => null, 'fileRange' => [], 'cookies' => [], 'cacheDirectives' => [], 'body' => '' } $maxBufferLength = (int) 8192 $file = '/usr/share/nginx/html/dickensquarterly.org/project/vendor/cakephp/cakephp/src/Error/Debugger.php' $line = (int) 822 $message = 'Unable to emit headers. Headers sent in file=/usr/share/nginx/html/dickensquarterly.org/project/vendor/cakephp/cakephp/src/Error/Debugger.php line=822'Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 48 Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 105 [main] - /usr/share/nginx/html/dickensquarterly.org/webroot/index.php, line 39
Warning (2): Cannot modify header information - headers already sent by (output started at /usr/share/nginx/html/dickensquarterly.org/project/vendor/cakephp/cakephp/src/Error/Debugger.php:822) [CORE/src/Http/ResponseEmitter.php, line 148]Code Context$response->getProtocolVersion(),$response->getStatusCode(),($reasonPhrase ? ' ' . $reasonPhrase : '')$response = object(Cake\Http\Response) { 'status' => (int) 500, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ [maximum depth reached] ] ], 'file' => null, 'fileRange' => [], 'cookies' => [], 'cacheDirectives' => [], 'body' => '' } $reasonPhrase = 'Internal Server Error'header - [internal], line ?? Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 148 Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 54 Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 105 [main] - /usr/share/nginx/html/dickensquarterly.org/webroot/index.php, line 39
Warning (2): Cannot modify header information - headers already sent by (output started at /usr/share/nginx/html/dickensquarterly.org/project/vendor/cakephp/cakephp/src/Error/Debugger.php:822) [CORE/src/Http/ResponseEmitter.php, line 181]Code Context$name,$value), $first);$response = object(Cake\Http\Response) { 'status' => (int) 500, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ [maximum depth reached] ] ], 'file' => null, 'fileRange' => [], 'cookies' => [], 'cacheDirectives' => [], 'body' => '' } $cookies = [] $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 181 Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 55 Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 105 [main] - /usr/share/nginx/html/dickensquarterly.org/webroot/index.php, line 39
$connection = $this->_driver->connection(); |
|
|
|
try { |
|
$connection->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, $this->_bufferResults); |
|
$result = $this->_statement->execute($params); |
|
} finally { |
|
$connection->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, true); |
|
} |
|
|
null
public function run(Query $query) |
|
{ |
|
$statement = $this->prepare($query); |
|
$query->valueBinder()->attachTo($statement); |
|
$statement->execute(); |
|
|
|
return $statement; |
|
} |
|
|
No arguments
* @return \Cake\Database\StatementInterface |
|
*/ |
|
public function execute() |
|
{ |
|
$statement = $this->_connection->run($this); |
|
$driver = $this->_connection->driver(); |
|
$typeMap = $this->getSelectTypeMap(); |
|
|
|
if ($typeMap->toArray() && $this->_typeCastAttached === false) { |
object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT rooms.articles_id AS `rooms__articles_id` FROM rooms rooms WHERE (rooms.status = 2 AND rooms.status = 2 AND rooms.rent != 0 AND rooms.articles_id IN (SELECT id FROM articles WHERE city_id IN ()))',
'params' => [],
'defaultTypes' => [
'rooms__id' => 'biginteger',
'rooms.id' => 'biginteger',
'id' => 'biginteger',
'rooms__status' => 'integer',
'rooms.status' => 'integer',
'status' => 'integer',
'rooms__source_id' => 'biginteger',
'rooms.source_id' => 'biginteger',
'source_id' => 'biginteger',
'rooms__class' => 'integer',
'rooms.class' => 'integer',
'class' => 'integer',
'rooms__flag' => 'integer',
'rooms.flag' => 'integer',
'flag' => 'integer',
'rooms__articles_id' => 'biginteger',
'rooms.articles_id' => 'biginteger',
'articles_id' => 'biginteger',
'rooms__title' => 'string',
'rooms.title' => 'string',
'title' => 'string',
'rooms__inquiry_number' => 'string',
'rooms.inquiry_number' => 'string',
'inquiry_number' => 'string',
'rooms__explanation' => 'text',
'rooms.explanation' => 'text',
'explanation' => 'text',
'rooms__shops_id' => 'biginteger',
'rooms.shops_id' => 'biginteger',
'shops_id' => 'biginteger',
'rooms__staffs_id' => 'biginteger',
'rooms.staffs_id' => 'biginteger',
'staffs_id' => 'biginteger',
'rooms__floor' => 'integer',
'rooms.floor' => 'integer',
'floor' => 'integer',
'rooms__room_number' => 'integer',
'rooms.room_number' => 'integer',
'room_number' => 'integer',
'rooms__room_layout' => 'integer',
'rooms.room_layout' => 'integer',
'room_layout' => 'integer',
'rooms__layout_options' => 'json',
'rooms.layout_options' => 'json',
'layout_options' => 'json',
'rooms__area' => 'decimal',
'rooms.area' => 'decimal',
'area' => 'decimal',
'rooms__direction' => 'integer',
'rooms.direction' => 'integer',
'direction' => 'integer',
'rooms__rent' => 'integer',
'rooms.rent' => 'integer',
'rent' => 'integer',
'rooms__maintenance' => 'integer',
'rooms.maintenance' => 'integer',
'maintenance' => 'integer',
'rooms__common' => 'integer',
'rooms.common' => 'integer',
'common' => 'integer',
'rooms__security_deposit' => 'integer',
'rooms.security_deposit' => 'integer',
'security_deposit' => 'integer',
'rooms__security_deposit_price' => 'integer',
'rooms.security_deposit_price' => 'integer',
'security_deposit_price' => 'integer',
'rooms__security_deposit_text' => 'string',
'rooms.security_deposit_text' => 'string',
'security_deposit_text' => 'string',
'rooms__reward' => 'integer',
'rooms.reward' => 'integer',
'reward' => 'integer',
'rooms__reward_price' => 'integer',
'rooms.reward_price' => 'integer',
'reward_price' => 'integer',
'rooms__reward_text' => 'string',
'rooms.reward_text' => 'string',
'reward_text' => 'string',
'rooms__renewal' => 'integer',
'rooms.renewal' => 'integer',
'renewal' => 'integer',
'rooms__renewal_price' => 'integer',
'rooms.renewal_price' => 'integer',
'renewal_price' => 'integer',
'rooms__renewal_text' => 'string',
'rooms.renewal_text' => 'string',
'renewal_text' => 'string',
'rooms__deposit' => 'integer',
'rooms.deposit' => 'integer',
'deposit' => 'integer',
'rooms__deposit_price' => 'integer',
'rooms.deposit_price' => 'integer',
'deposit_price' => 'integer',
'rooms__deposit_text' => 'string',
'rooms.deposit_text' => 'string',
'deposit_text' => 'string',
'rooms__freerent' => 'integer',
'rooms.freerent' => 'integer',
'freerent' => 'integer',
'rooms__freerent_price' => 'integer',
'rooms.freerent_price' => 'integer',
'freerent_price' => 'integer',
'rooms__freerent_text' => 'string',
'rooms.freerent_text' => 'string',
'freerent_text' => 'string',
'rooms__brokerage' => 'integer',
'rooms.brokerage' => 'integer',
'brokerage' => 'integer',
'rooms__brokerage_price' => 'integer',
'rooms.brokerage_price' => 'integer',
'brokerage_price' => 'integer',
'rooms__brokerage_text' => 'string',
'rooms.brokerage_text' => 'string',
'brokerage_text' => 'string',
'rooms__cost_etc' => 'json',
'rooms.cost_etc' => 'json',
'cost_etc' => 'json',
'rooms__insurance' => 'integer',
'rooms.insurance' => 'integer',
'insurance' => 'integer',
'rooms__insurance_text' => 'string',
'rooms.insurance_text' => 'string',
'insurance_text' => 'string',
'rooms__insurance_company' => 'integer',
'rooms.insurance_company' => 'integer',
'insurance_company' => 'integer',
'rooms__insurance_company_text' => 'string',
'rooms.insurance_company_text' => 'string',
'insurance_company_text' => 'string',
'rooms__loan_type' => 'integer',
'rooms.loan_type' => 'integer',
'loan_type' => 'integer',
'rooms__loan_type_text' => 'string',
'rooms.loan_type_text' => 'string',
'loan_type_text' => 'string',
'rooms__entry' => 'integer',
'rooms.entry' => 'integer',
'entry' => 'integer',
'rooms__entry_year' => 'integer',
'rooms.entry_year' => 'integer',
'entry_year' => 'integer',
'rooms__entry_month' => 'integer',
'rooms.entry_month' => 'integer',
'entry_month' => 'integer',
'rooms__entry_term' => 'integer',
'rooms.entry_term' => 'integer',
'entry_term' => 'integer',
'rooms__panorama' => 'json',
'rooms.panorama' => 'json',
'panorama' => 'json',
'rooms__seo_keywords' => 'text',
'rooms.seo_keywords' => 'text',
'seo_keywords' => 'text',
'rooms__seo_description' => 'text',
'rooms.seo_description' => 'text',
'seo_description' => 'text',
'rooms__mcompanies_id' => 'biginteger',
'rooms.mcompanies_id' => 'biginteger',
'mcompanies_id' => 'biginteger',
'rooms__remarks' => 'text',
'rooms.remarks' => 'text',
'remarks' => 'text',
'rooms__memo' => 'text',
'rooms.memo' => 'text',
'memo' => 'text',
'rooms__admins_id' => 'biginteger',
'rooms.admins_id' => 'biginteger',
'admins_id' => 'biginteger',
'rooms__created' => 'datetime',
'rooms.created' => 'datetime',
'created' => 'datetime',
'rooms__modified' => 'datetime',
'rooms.modified' => 'datetime',
'modified' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\RoomsTable) {
'registryAlias' => 'rooms',
'table' => 'rooms',
'alias' => 'rooms',
'entityClass' => 'App\Model\Entity\Room',
'associations' => [
[maximum depth reached]
],
'behaviors' => [
[maximum depth reached]
],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
}
|
|
return new $decorator($this->_results); |
|
} |
|
|
|
$statement = $this->getEagerLoader()->loadExternal($this, $this->execute()); |
|
|
|
return new ResultSet($this, $statement); |
|
} |
|
|
No arguments
if ($this->_cache) { |
|
$results = $this->_cache->fetch($this); |
|
} |
|
if (!isset($results)) { |
|
$results = $this->_decorateResults($this->_execute()); |
|
if ($this->_cache) { |
|
$this->_cache->store($this, $results); |
|
} |
|
} |
No arguments
'You cannot call all() on a non-select query. Use execute() instead.' |
|
); |
|
} |
|
|
|
return $this->_all(); |
|
} |
|
|
|
/** |
|
* Trigger the beforeFind event on the query's repository object. |
No arguments
* @return array |
|
*/ |
|
public function toArray() |
|
{ |
|
return $this->all()->toArray(); |
|
} |
|
|
|
/** |
|
* Register a new MapReduce routine to be executed on top of the database results |
No arguments
|
|
/** @var RoomsTable */ |
|
$roomsTable = TableRegistry::get("rooms"); |
|
$find_rooms = $roomsTable->getList($where)->select(['articles_id']); |
|
$wantArticleIds = array_column($find_rooms->toArray(), 'articles_id', 'articles_id'); |
|
|
|
if(isset($where[PREF["image"]]) && $where[PREF["image"]]){ |
|
$imgsTable = TableRegistry::get("imgs"); |
|
$find_imgs = $imgsTable->getList(1)->select(['trait_id']); |
No arguments
// リスト取得 |
|
try { |
|
// キャッシュがある場合、ない場合 |
|
if (($rows = Cache::read($cache->rows, "1day")) === false) { |
|
$rows = $this->paginate($this->Articles->getList($param->search)); |
|
Cache::write($cache->rows, $rows, "1day"); |
|
} else { |
|
$cache->enable = true; |
|
} |
[ 'NLK' => (int) 0, 'FWD' => (int) 0, 'CTY' => [ '' => (int) 1 ], 'TWN' => [], 'RTS' => [], 'STN' => [], 'AFE' => [], 'RFA' => [], 'RTL' => (int) 0, 'RTB' => (int) 0, 'RTT' => (int) 0, 'ILC' => [], 'MDR' => [], 'AAL' => (int) 0, 'AAB' => (int) 0, 'AAT' => (int) 0, 'WLK' => (int) 0, 'BLD' => (int) 0, 'FLR' => (int) 0, 'LTT' => (int) 0, 'SHP' => (int) 0, 'LLT' => (int) 0, 'LLB' => (int) 0, 'VCY' => (int) 1 ]
} |
|
/* @var callable $callable */ |
|
$callable = [$this, $request->getParam('action')]; |
|
|
|
return $callable(...array_values($request->getParam('pass'))); |
|
} |
|
|
|
/** |
|
* Merge components, helpers vars from |
'CTY'
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.'); |
|
} |
|
|
No arguments
} else { |
|
$controller = $this->factory->create($request, $response); |
|
} |
|
|
|
$response = $this->_invoke($controller); |
|
if (isset($request->params['return'])) { |
|
return $response; |
|
} |
|
|
object(App\Controller\SearchesController) {
api => object(stdClass) {
default => object(stdClass) {}
google => object(stdClass) {}
}
name => 'Searches'
helpers => []
request => object(Cake\Http\ServerRequest) {
params => [
[maximum depth reached]
]
data => [[maximum depth reached]]
query => [[maximum depth reached]]
cookies => [
[maximum depth reached]
]
url => 'search/CTY'
base => ''
webroot => '/'
here => '/search/CTY'
trustProxy => false
[protected] _environment => [
[maximum depth reached]
]
[protected] _input => null
[protected] _detectors => [
[maximum depth reached]
]
[protected] _detectorCache => [
[maximum depth reached]
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {}
[protected] uri => object(Zend\Diactoros\Uri) {}
[protected] session => object(Cake\Network\Session) {}
[protected] attributes => [[maximum depth reached]]
[protected] emulatedAttributes => [
[maximum depth reached]
]
[protected] uploadedFiles => [[maximum depth reached]]
[protected] protocol => null
[protected] requestTarget => null
}
response => object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
[maximum depth reached]
],
'file' => null,
'fileRange' => [[maximum depth reached]],
'cookies' => [[maximum depth reached]],
'cacheDirectives' => [[maximum depth reached]],
'body' => ''
}
paginate => [
'order' => [
'created' => 'asc'
],
'page' => (int) 1,
'limit' => (int) 10,
'maxLimit' => (int) 200
]
autoRender => true
components => []
View => null
plugin => null
passedArgs => [
(int) 0 => 'CTY'
]
modelClass => 'Searches'
viewClass => null
viewVars => [
'condition' => [
'NLK' => [[maximum depth reached]],
'FWD' => [[maximum depth reached]],
'CTY' => [
[maximum depth reached]
],
'TWN' => [[maximum depth reached]],
'RTS' => [[maximum depth reached]],
'STN' => [[maximum depth reached]],
'AFE' => [[maximum depth reached]],
'RFA' => [[maximum depth reached]],
'RTL' => [[maximum depth reached]],
'RTB' => [[maximum depth reached]],
'RTT' => [[maximum depth reached]],
'ILC' => [[maximum depth reached]],
'MDR' => [[maximum depth reached]],
'AAL' => [[maximum depth reached]],
'AAB' => [[maximum depth reached]],
'AAT' => [[maximum depth reached]],
'WLK' => [[maximum depth reached]],
'BLD' => [[maximum depth reached]],
'FLR' => [[maximum depth reached]],
'LTT' => [[maximum depth reached]],
'SHP' => [[maximum depth reached]],
'LLT' => [[maximum depth reached]],
'LLB' => [[maximum depth reached]]
],
'search' => [
'b_type' => [
[maximum depth reached]
],
'routes' => [
[maximum depth reached]
],
'stations' => [
[maximum depth reached]
],
'rent' => [
[maximum depth reached]
],
'initial' => [
[maximum depth reached]
],
'madoris' => [
[maximum depth reached]
],
'living' => [
[maximum depth reached]
],
'area' => [
[maximum depth reached]
],
'build' => [
[maximum depth reached]
],
'walk' => [
[maximum depth reached]
],
'floor' => [
[maximum depth reached]
],
'facilities' => [
[maximum depth reached]
],
'latest' => [
[maximum depth reached]
],
'constr' => [
[maximum depth reached]
],
'vacancy' => [
[maximum depth reached]
],
'sort' => [
[maximum depth reached]
],
'f-parking' => [
[maximum depth reached]
],
'kodawari' => [[maximum depth reached]]
],
'history_c' => (int) 0,
'favorite_c' => (int) 0,
'side' => [
'駅徒歩5分以内' => [
[maximum depth reached]
]
]
]
RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) {
'components' => [[maximum depth reached]],
'implementedEvents' => [
[maximum depth reached]
],
'_config' => [
[maximum depth reached]
]
}
Flash => object(Cake\Controller\Component\FlashComponent) {
'components' => [[maximum depth reached]],
'implementedEvents' => [[maximum depth reached]],
'_config' => [
[maximum depth reached]
]
}
Articles => object(App\Model\Table\ArticlesTable) {
'registryAlias' => 'Articles',
'table' => 'articles',
'alias' => 'articles',
'entityClass' => 'App\Model\Entity\Article',
'associations' => [
[maximum depth reached]
],
'behaviors' => [
[maximum depth reached]
],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
Rooms => object(App\Model\Table\RoomsTable) {
'registryAlias' => 'Rooms',
'table' => 'rooms',
'alias' => 'rooms',
'entityClass' => 'App\Model\Entity\Room',
'associations' => [
[maximum depth reached]
],
'behaviors' => [
[maximum depth reached]
],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
history => []
history_c => (int) 0
Searches => object(App\Model\Table\SearchesTable) {
'registryAlias' => 'Searches',
'table' => 'searches',
'alias' => 'Searches',
'entityClass' => '\Cake\ORM\Entity',
'associations' => [[maximum depth reached]],
'behaviors' => [
[maximum depth reached]
],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
Prefs => object(App\Model\Table\PrefsTable) {
'registryAlias' => 'prefs',
'table' => 'prefs',
'alias' => 'prefs',
'entityClass' => '\Cake\ORM\Entity',
'associations' => [
[maximum depth reached]
],
'behaviors' => [
[maximum depth reached]
],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
Cities => object(App\Model\Table\CitiesTable) {
'registryAlias' => 'cities',
'table' => 'cities',
'alias' => 'cities',
'entityClass' => '\Cake\ORM\Entity',
'associations' => [
[maximum depth reached]
],
'behaviors' => [
[maximum depth reached]
],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
Towns => object(App\Model\Table\TownsTable) {
'registryAlias' => 'towns',
'table' => 'towns',
'alias' => 'towns',
'entityClass' => 'App\Model\Entity\Town',
'associations' => [
[maximum depth reached]
],
'behaviors' => [
[maximum depth reached]
],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
Stations => object(App\Model\Table\StationsTable) {
'registryAlias' => 'stations',
'table' => 'stations',
'alias' => 'stations',
'entityClass' => 'App\Model\Entity\Station',
'associations' => [
[maximum depth reached]
],
'behaviors' => [
[maximum depth reached]
],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
[protected] common => object(App\Controller\Component\CommonVariableComponent) {
'components' => [[maximum depth reached]],
'implementedEvents' => [[maximum depth reached]],
'_config' => [
[maximum depth reached]
]
}
[protected] _responseClass => 'Cake\Http\Response'
[protected] _components => object(Cake\Controller\ComponentRegistry) {
'_Controller' => object(App\Controller\SearchesController) {},
'_loaded' => [
[maximum depth reached]
],
'_eventManager' => object(Cake\Event\EventManager) {},
'_eventClass' => '\Cake\Event\Event'
}
[protected] _validViewOptions => [
(int) 0 => 'passedArgs'
]
[protected] _eventManager => object(Cake\Event\EventManager) {
'_listeners' => [
[maximum depth reached]
],
'_isGlobal' => false,
'_eventList' => null,
'_trackEvents' => false,
'_generalManager' => '(object) EventManager'
}
[protected] _eventClass => '\Cake\Event\Event'
[protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) {
[protected] _config => [[maximum depth reached]]
[protected] _instances => [
[maximum depth reached]
]
[protected] _fallbacked => [
[maximum depth reached]
]
[protected] _options => [
[maximum depth reached]
]
}
[protected] _modelFactories => [
'Table' => [
(int) 0 => object(Cake\ORM\Locator\TableLocator) {},
(int) 1 => 'get'
]
]
[protected] _modelType => 'Table'
[protected] _viewBuilder => null
[private] redirect => '/searches/districts/'
[private] link => false
}
* @return \Psr\Http\Message\ResponseInterface |
|
*/ |
|
public function __invoke(ServerRequestInterface $request, ResponseInterface $response, $next) |
|
{ |
|
return $this->getDispatcher()->dispatch($request, $response); |
|
} |
|
|
|
/** |
|
* Get the ActionDispatcher. |
object(Cake\Http\ServerRequest) {
params => [
'pass' => [
(int) 0 => 'CTY'
],
'controller' => 'Searches',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/search/*',
'isAjax' => false
]
data => []
query => []
cookies => [
'CAKEPHP' => 'ls3plrp6c6aa5bhui7c1bm0l7r'
]
url => 'search/CTY'
base => ''
webroot => '/'
here => '/search/CTY'
trustProxy => false
[protected] _environment => [
'USER' => 'www-data',
'HOME' => '/var/www',
'HTTP_HOST' => 'dickensquarterly.org',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'CAKEPHP=ls3plrp6c6aa5bhui7c1bm0l7r',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'dickensquarterly.org',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '133.18.154.249',
'REMOTE_USER' => '',
'REMOTE_PORT' => '14030',
'REMOTE_ADDR' => '216.73.217.148',
'SERVER_SOFTWARE' => 'nginx/1.24.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'REQUEST_SCHEME' => 'https',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => '/usr/share/nginx/html/dickensquarterly.org/webroot',
'DOCUMENT_URI' => '/index.php',
'REQUEST_URI' => '/search/CTY',
'SCRIPT_NAME' => '/index.php',
'CONTENT_LENGTH' => '',
'CONTENT_TYPE' => '',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'SCRIPT_FILENAME' => '/usr/share/nginx/html/dickensquarterly.org/webroot/index.php',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1796303900.7568,
'REQUEST_TIME' => (int) 1796303900,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
'HTTP_REFERER' => null
]
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'dickensquarterly.org'
[private] port => null
[private] path => '/search/CTY'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Network\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => '1440'
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => [],
'cacheDirectives' => [],
'body' => ''
}
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) {
params => [
'pass' => [
(int) 0 => 'CTY'
],
'controller' => 'Searches',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/search/*',
'isAjax' => false
]
data => []
query => []
cookies => [
'CAKEPHP' => 'ls3plrp6c6aa5bhui7c1bm0l7r'
]
url => 'search/CTY'
base => ''
webroot => '/'
here => '/search/CTY'
trustProxy => false
[protected] _environment => [
'USER' => 'www-data',
'HOME' => '/var/www',
'HTTP_HOST' => 'dickensquarterly.org',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'CAKEPHP=ls3plrp6c6aa5bhui7c1bm0l7r',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'dickensquarterly.org',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '133.18.154.249',
'REMOTE_USER' => '',
'REMOTE_PORT' => '14030',
'REMOTE_ADDR' => '216.73.217.148',
'SERVER_SOFTWARE' => 'nginx/1.24.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'REQUEST_SCHEME' => 'https',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => '/usr/share/nginx/html/dickensquarterly.org/webroot',
'DOCUMENT_URI' => '/index.php',
'REQUEST_URI' => '/search/CTY',
'SCRIPT_NAME' => '/index.php',
'CONTENT_LENGTH' => '',
'CONTENT_TYPE' => '',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'SCRIPT_FILENAME' => '/usr/share/nginx/html/dickensquarterly.org/webroot/index.php',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1796303900.7568,
'REQUEST_TIME' => (int) 1796303900,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
'HTTP_REFERER' => null
]
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'dickensquarterly.org'
[private] port => null
[private] path => '/search/CTY'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Network\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => '1440'
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => [],
'cacheDirectives' => [],
'body' => ''
}
object(Cake\Http\Runner) {
[protected] index => (int) 4
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}
$response->getHeaders() |
|
); |
|
} |
|
|
|
return $next($request, $response); |
|
} |
|
} |
|
|
object(Cake\Http\ServerRequest) {
params => [
'pass' => [
(int) 0 => 'CTY'
],
'controller' => 'Searches',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/search/*',
'isAjax' => false
]
data => []
query => []
cookies => [
'CAKEPHP' => 'ls3plrp6c6aa5bhui7c1bm0l7r'
]
url => 'search/CTY'
base => ''
webroot => '/'
here => '/search/CTY'
trustProxy => false
[protected] _environment => [
'USER' => 'www-data',
'HOME' => '/var/www',
'HTTP_HOST' => 'dickensquarterly.org',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'CAKEPHP=ls3plrp6c6aa5bhui7c1bm0l7r',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'dickensquarterly.org',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '133.18.154.249',
'REMOTE_USER' => '',
'REMOTE_PORT' => '14030',
'REMOTE_ADDR' => '216.73.217.148',
'SERVER_SOFTWARE' => 'nginx/1.24.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'REQUEST_SCHEME' => 'https',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => '/usr/share/nginx/html/dickensquarterly.org/webroot',
'DOCUMENT_URI' => '/index.php',
'REQUEST_URI' => '/search/CTY',
'SCRIPT_NAME' => '/index.php',
'CONTENT_LENGTH' => '',
'CONTENT_TYPE' => '',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'SCRIPT_FILENAME' => '/usr/share/nginx/html/dickensquarterly.org/webroot/index.php',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1796303900.7568,
'REQUEST_TIME' => (int) 1796303900,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
'HTTP_REFERER' => null
]
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'dickensquarterly.org'
[private] port => null
[private] path => '/search/CTY'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Network\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => '1440'
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => [],
'cacheDirectives' => [],
'body' => ''
}
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) {
params => [
'pass' => [
(int) 0 => 'CTY'
],
'controller' => 'Searches',
'action' => 'index',
'plugin' => null,
'_matchedRoute' => '/search/*',
'isAjax' => false
]
data => []
query => []
cookies => [
'CAKEPHP' => 'ls3plrp6c6aa5bhui7c1bm0l7r'
]
url => 'search/CTY'
base => ''
webroot => '/'
here => '/search/CTY'
trustProxy => false
[protected] _environment => [
'USER' => 'www-data',
'HOME' => '/var/www',
'HTTP_HOST' => 'dickensquarterly.org',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'CAKEPHP=ls3plrp6c6aa5bhui7c1bm0l7r',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'dickensquarterly.org',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '133.18.154.249',
'REMOTE_USER' => '',
'REMOTE_PORT' => '14030',
'REMOTE_ADDR' => '216.73.217.148',
'SERVER_SOFTWARE' => 'nginx/1.24.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'REQUEST_SCHEME' => 'https',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => '/usr/share/nginx/html/dickensquarterly.org/webroot',
'DOCUMENT_URI' => '/index.php',
'REQUEST_URI' => '/search/CTY',
'SCRIPT_NAME' => '/index.php',
'CONTENT_LENGTH' => '',
'CONTENT_TYPE' => '',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'SCRIPT_FILENAME' => '/usr/share/nginx/html/dickensquarterly.org/webroot/index.php',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1796303900.7568,
'REQUEST_TIME' => (int) 1796303900,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
'HTTP_REFERER' => null
]
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => [
'ajax' => false,
'get' => true,
'head' => false,
'options' => false
]
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'dickensquarterly.org'
[private] port => null
[private] path => '/search/CTY'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Network\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => '1440'
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => [],
'cacheDirectives' => [],
'body' => ''
}
object(Cake\Http\Runner) {
[protected] index => (int) 4
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}
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)) { |
object(Cake\Http\ServerRequest) {
params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
data => []
query => []
cookies => [
'CAKEPHP' => 'ls3plrp6c6aa5bhui7c1bm0l7r'
]
url => 'search/CTY'
base => ''
webroot => '/'
here => '/search/CTY'
trustProxy => false
[protected] _environment => [
'USER' => 'www-data',
'HOME' => '/var/www',
'HTTP_HOST' => 'dickensquarterly.org',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'CAKEPHP=ls3plrp6c6aa5bhui7c1bm0l7r',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'dickensquarterly.org',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '133.18.154.249',
'REMOTE_USER' => '',
'REMOTE_PORT' => '14030',
'REMOTE_ADDR' => '216.73.217.148',
'SERVER_SOFTWARE' => 'nginx/1.24.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'REQUEST_SCHEME' => 'https',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => '/usr/share/nginx/html/dickensquarterly.org/webroot',
'DOCUMENT_URI' => '/index.php',
'REQUEST_URI' => '/search/CTY',
'SCRIPT_NAME' => '/index.php',
'CONTENT_LENGTH' => '',
'CONTENT_TYPE' => '',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'SCRIPT_FILENAME' => '/usr/share/nginx/html/dickensquarterly.org/webroot/index.php',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1796303900.7568,
'REQUEST_TIME' => (int) 1796303900,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'dickensquarterly.org'
[private] port => null
[private] path => '/search/CTY'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Network\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => '1440'
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => [],
'cacheDirectives' => [],
'body' => ''
}
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) {
params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
data => []
query => []
cookies => [
'CAKEPHP' => 'ls3plrp6c6aa5bhui7c1bm0l7r'
]
url => 'search/CTY'
base => ''
webroot => '/'
here => '/search/CTY'
trustProxy => false
[protected] _environment => [
'USER' => 'www-data',
'HOME' => '/var/www',
'HTTP_HOST' => 'dickensquarterly.org',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'CAKEPHP=ls3plrp6c6aa5bhui7c1bm0l7r',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'dickensquarterly.org',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '133.18.154.249',
'REMOTE_USER' => '',
'REMOTE_PORT' => '14030',
'REMOTE_ADDR' => '216.73.217.148',
'SERVER_SOFTWARE' => 'nginx/1.24.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'REQUEST_SCHEME' => 'https',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => '/usr/share/nginx/html/dickensquarterly.org/webroot',
'DOCUMENT_URI' => '/index.php',
'REQUEST_URI' => '/search/CTY',
'SCRIPT_NAME' => '/index.php',
'CONTENT_LENGTH' => '',
'CONTENT_TYPE' => '',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'SCRIPT_FILENAME' => '/usr/share/nginx/html/dickensquarterly.org/webroot/index.php',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1796303900.7568,
'REQUEST_TIME' => (int) 1796303900,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'dickensquarterly.org'
[private] port => null
[private] path => '/search/CTY'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Network\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => '1440'
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => [],
'cacheDirectives' => [],
'body' => ''
}
object(Cake\Http\Runner) {
[protected] index => (int) 4
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}
*/ |
|
public function __invoke($request, $response, $next) |
|
{ |
|
try { |
|
return $next($request, $response); |
|
} catch (\Exception $e) { |
|
return $this->handleException($e, $request, $response); |
|
} |
|
} |
object(Cake\Http\ServerRequest) {
params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
data => []
query => []
cookies => [
'CAKEPHP' => 'ls3plrp6c6aa5bhui7c1bm0l7r'
]
url => 'search/CTY'
base => ''
webroot => '/'
here => '/search/CTY'
trustProxy => false
[protected] _environment => [
'USER' => 'www-data',
'HOME' => '/var/www',
'HTTP_HOST' => 'dickensquarterly.org',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'CAKEPHP=ls3plrp6c6aa5bhui7c1bm0l7r',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'dickensquarterly.org',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '133.18.154.249',
'REMOTE_USER' => '',
'REMOTE_PORT' => '14030',
'REMOTE_ADDR' => '216.73.217.148',
'SERVER_SOFTWARE' => 'nginx/1.24.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'REQUEST_SCHEME' => 'https',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => '/usr/share/nginx/html/dickensquarterly.org/webroot',
'DOCUMENT_URI' => '/index.php',
'REQUEST_URI' => '/search/CTY',
'SCRIPT_NAME' => '/index.php',
'CONTENT_LENGTH' => '',
'CONTENT_TYPE' => '',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'SCRIPT_FILENAME' => '/usr/share/nginx/html/dickensquarterly.org/webroot/index.php',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1796303900.7568,
'REQUEST_TIME' => (int) 1796303900,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'dickensquarterly.org'
[private] port => null
[private] path => '/search/CTY'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Network\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => '1440'
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => [],
'cacheDirectives' => [],
'body' => ''
}
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) {
params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
data => []
query => []
cookies => [
'CAKEPHP' => 'ls3plrp6c6aa5bhui7c1bm0l7r'
]
url => 'search/CTY'
base => ''
webroot => '/'
here => '/search/CTY'
trustProxy => false
[protected] _environment => [
'USER' => 'www-data',
'HOME' => '/var/www',
'HTTP_HOST' => 'dickensquarterly.org',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'CAKEPHP=ls3plrp6c6aa5bhui7c1bm0l7r',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'dickensquarterly.org',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '133.18.154.249',
'REMOTE_USER' => '',
'REMOTE_PORT' => '14030',
'REMOTE_ADDR' => '216.73.217.148',
'SERVER_SOFTWARE' => 'nginx/1.24.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'REQUEST_SCHEME' => 'https',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => '/usr/share/nginx/html/dickensquarterly.org/webroot',
'DOCUMENT_URI' => '/index.php',
'REQUEST_URI' => '/search/CTY',
'SCRIPT_NAME' => '/index.php',
'CONTENT_LENGTH' => '',
'CONTENT_TYPE' => '',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'SCRIPT_FILENAME' => '/usr/share/nginx/html/dickensquarterly.org/webroot/index.php',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1796303900.7568,
'REQUEST_TIME' => (int) 1796303900,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'dickensquarterly.org'
[private] port => null
[private] path => '/search/CTY'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Network\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => '1440'
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => [],
'cacheDirectives' => [],
'body' => ''
}
object(Cake\Http\Runner) {
[protected] index => (int) 4
[protected] middleware => object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
[maximum depth reached]
]
[protected] callables => [
[maximum depth reached]
]
}
}
{ |
|
$this->middleware = $middleware; |
|
$this->index = 0; |
|
|
|
return $this->__invoke($request, $response); |
|
} |
|
|
|
/** |
|
* @param \Psr\Http\Message\ServerRequestInterface $request The server request |
object(Cake\Http\ServerRequest) {
params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
data => []
query => []
cookies => [
'CAKEPHP' => 'ls3plrp6c6aa5bhui7c1bm0l7r'
]
url => 'search/CTY'
base => ''
webroot => '/'
here => '/search/CTY'
trustProxy => false
[protected] _environment => [
'USER' => 'www-data',
'HOME' => '/var/www',
'HTTP_HOST' => 'dickensquarterly.org',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'CAKEPHP=ls3plrp6c6aa5bhui7c1bm0l7r',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'dickensquarterly.org',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '133.18.154.249',
'REMOTE_USER' => '',
'REMOTE_PORT' => '14030',
'REMOTE_ADDR' => '216.73.217.148',
'SERVER_SOFTWARE' => 'nginx/1.24.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'REQUEST_SCHEME' => 'https',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => '/usr/share/nginx/html/dickensquarterly.org/webroot',
'DOCUMENT_URI' => '/index.php',
'REQUEST_URI' => '/search/CTY',
'SCRIPT_NAME' => '/index.php',
'CONTENT_LENGTH' => '',
'CONTENT_TYPE' => '',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'SCRIPT_FILENAME' => '/usr/share/nginx/html/dickensquarterly.org/webroot/index.php',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1796303900.7568,
'REQUEST_TIME' => (int) 1796303900,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'dickensquarterly.org'
[private] port => null
[private] path => '/search/CTY'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Network\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => '1440'
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => [],
'cacheDirectives' => [],
'body' => ''
}
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.', |
object(Cake\Http\MiddlewareQueue) {
[protected] queue => [
(int) 0 => 'Cake\Error\Middleware\ErrorHandlerMiddleware',
(int) 1 => 'Cake\Routing\Middleware\AssetMiddleware',
(int) 2 => 'Cake\Routing\Middleware\RoutingMiddleware',
(int) 3 => object(App\Application) {}
]
[protected] callables => [
(int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {},
(int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {},
(int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {},
(int) 3 => object(App\Application) {}
]
}
object(Cake\Http\ServerRequest) {
params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => []
]
data => []
query => []
cookies => [
'CAKEPHP' => 'ls3plrp6c6aa5bhui7c1bm0l7r'
]
url => 'search/CTY'
base => ''
webroot => '/'
here => '/search/CTY'
trustProxy => false
[protected] _environment => [
'USER' => 'www-data',
'HOME' => '/var/www',
'HTTP_HOST' => 'dickensquarterly.org',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'HTTP_COOKIE' => 'CAKEPHP=ls3plrp6c6aa5bhui7c1bm0l7r',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_ACCEPT' => '*/*',
'REDIRECT_STATUS' => '200',
'SERVER_NAME' => 'dickensquarterly.org',
'SERVER_PORT' => '443',
'SERVER_ADDR' => '133.18.154.249',
'REMOTE_USER' => '',
'REMOTE_PORT' => '14030',
'REMOTE_ADDR' => '216.73.217.148',
'SERVER_SOFTWARE' => 'nginx/1.24.0',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTPS' => 'on',
'REQUEST_SCHEME' => 'https',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'DOCUMENT_ROOT' => '/usr/share/nginx/html/dickensquarterly.org/webroot',
'DOCUMENT_URI' => '/index.php',
'REQUEST_URI' => '/search/CTY',
'SCRIPT_NAME' => '/index.php',
'CONTENT_LENGTH' => '',
'CONTENT_TYPE' => '',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => '',
'SCRIPT_FILENAME' => '/usr/share/nginx/html/dickensquarterly.org/webroot/index.php',
'FCGI_ROLE' => 'RESPONDER',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => (float) 1796303900.7568,
'REQUEST_TIME' => (int) 1796303900,
'ORIGINAL_REQUEST_METHOD' => 'GET'
]
[protected] _input => null
[protected] _detectors => [
'get' => [
'env' => 'REQUEST_METHOD',
'value' => 'GET'
],
'post' => [
'env' => 'REQUEST_METHOD',
'value' => 'POST'
],
'put' => [
'env' => 'REQUEST_METHOD',
'value' => 'PUT'
],
'patch' => [
'env' => 'REQUEST_METHOD',
'value' => 'PATCH'
],
'delete' => [
'env' => 'REQUEST_METHOD',
'value' => 'DELETE'
],
'head' => [
'env' => 'REQUEST_METHOD',
'value' => 'HEAD'
],
'options' => [
'env' => 'REQUEST_METHOD',
'value' => 'OPTIONS'
],
'ssl' => [
'env' => 'HTTPS',
'options' => [
[maximum depth reached]
]
],
'ajax' => [
'env' => 'HTTP_X_REQUESTED_WITH',
'value' => 'XMLHttpRequest'
],
'flash' => [
'env' => 'HTTP_USER_AGENT',
'pattern' => '/^(Shockwave|Adobe) Flash/'
],
'requested' => [
'param' => 'requested',
'value' => (int) 1
],
'json' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'json'
],
'xml' => [
'accept' => [
[maximum depth reached]
],
'param' => '_ext',
'value' => 'xml'
],
'mobile' => object(Closure) {},
'tablet' => object(Closure) {}
]
[protected] _detectorCache => []
[protected] stream => object(Zend\Diactoros\PhpInputStream) {
[protected] resource => resource
[protected] stream => 'php://input'
[private] cache => ''
[private] reachedEof => false
}
[protected] uri => object(Zend\Diactoros\Uri) {
base => ''
webroot => '/'
[protected] allowedSchemes => [
[maximum depth reached]
]
[private] scheme => 'https'
[private] userInfo => ''
[private] host => 'dickensquarterly.org'
[private] port => null
[private] path => '/search/CTY'
[private] query => ''
[private] fragment => ''
[private] uriString => null
}
[protected] session => object(Cake\Network\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => '1440'
[protected] _isCLI => false
}
[protected] attributes => []
[protected] emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'webroot',
(int) 2 => 'base',
(int) 3 => 'params'
]
[protected] uploadedFiles => []
[protected] protocol => null
[protected] requestTarget => null
}
object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8'
]
],
'file' => null,
'fileRange' => [],
'cookies' => [],
'cacheDirectives' => [],
'body' => ''
}
$server = new Server(new Application($cakephpRoot . '/config')); |
|
|
|
// Run the request/response through the application |
|
// and emit the response. |
|
$server->emit($server->run()); |
|
|
No arguments
Some of the Table objects in your application were created by instantiating "Cake\ORM\Table" instead of any other specific subclass.
This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:
Please try correcting the issue for the following table aliases:
If you want to customize this error message, create src/Template/Error/error500.ctp