|
|
|
$data = $this->Cities->getFullCity(['Cities.slug' => $alias, 'Cities.visibility' => 'public']); |
|
$cities = array(); |
|
|
|
for ($i = 0; $i < count($data['city_states']); $i++) { |
|
$cities[] = $data['city_states'][$i]['state_id']; |
|
} |
|
|
|
$counsellor = array(110); |
Arguments
|
|
|
$data = $this->Cities->getFullCity(['Cities.slug' => $alias, 'Cities.visibility' => 'public']); |
|
$cities = array(); |
|
|
|
for ($i = 0; $i < count($data['city_states']); $i++) { |
|
$cities[] = $data['city_states'][$i]['state_id']; |
|
} |
|
|
|
$counsellor = array(110); |
|
* @throws \UnexpectedValueException If return value of action is not `null` or `ResponseInterface` instance. |
|
*/ |
|
public function invokeAction(Closure $action, array $args): void |
|
{ |
|
$result = $action(...$args); |
|
if ($result !== null && !$result instanceof ResponseInterface) { |
|
throw new UnexpectedValueException(sprintf( |
|
'Controller actions can only return ResponseInterface instance or null. ' |
|
. 'Got %s instead.', |
|
$args = $this->getActionArgs( |
|
$action, |
|
array_values((array)$controller->getRequest()->getParam('pass')) |
|
); |
|
$controller->invokeAction($action, $args); |
|
|
|
$result = $controller->shutdownProcess(); |
|
if ($result instanceof ResponseInterface) { |
|
return $result; |
Arguments
[
(int) 0 => 'crawford-laurie',
]
|
|
|
return $runner->run($middlewareQueue, $controller->getRequest(), $this); |
|
} |
|
|
|
return $this->handle($controller->getRequest()); |
|
} |
|
|
|
/** |
|
* Invoke the action. |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'slug' => 'crawford-laurie',
'pass' => [
(int) 0 => 'crawford-laurie',
],
'controller' => 'Cities',
'action' => 'preview',
'plugin' => null,
'_matchedRoute' => '/counsellor/:slug.html',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'www.walmsley.ca',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/walmsley/public_html',
'REMOTE_ADDR' => '3.237.64.198',
'REMOTE_PORT' => '38042',
'SERVER_ADDR' => '209.54.112.191',
'SERVER_NAME' => 'www.walmsley.ca',
'SERVER_ADMIN' => 'webmaster@walmsley.ca',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/counsellor/crawford-laurie.html',
'REDIRECT_URL' => '/webroot/counsellor/crawford-laurie.html',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'X_SPDY' => 'HTTP2',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/walmsley/public_html/webroot/index.php',
'QUERY_STRING' => '',
'SCRIPT_URI' => 'https://www.walmsley.ca/counsellor/crawford-laurie.html',
'SCRIPT_URL' => '/counsellor/crawford-laurie.html',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711613500.3231,
'REQUEST_TIME' => (int) 1711613500,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
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',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'csv' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'csv',
],
]
protected _detectorCache => [
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #158
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'www.walmsley.ca'
private port => null
private path => '/counsellor/crawford-laurie.html'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 86400
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'csrfToken' => 'HInHyGYid9mx5r5G+DkxLZbK7552rrRKdvev/5qO5HY5JP3goS6rLnE26sgXVi+BP3fQlawz/Qqaec+hunSQnYpkiPR5FFxn8PvcphWY0HgSwsvOre2AFV1Gz9DDFppKFVKOqi40H7hbE+SsnACbPw==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
} |
|
|
|
$controller = $this->controllerFactory->create($request); |
|
|
|
return $this->controllerFactory->invoke($controller); |
|
} |
|
} |
|
|
Arguments
object(App\Controller\CitiesController) id:0 {
paginate => [
'limit' => (int) 25,
]
searchFields => [
'index' => [
'Cities' => [
'' => [maximum depth reached],
],
],
]
apiKey => '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'
key => 'SHn7bkJfGFYa1MeZ14O8HOp61g7864U4'
receptionGroupId => (int) 13
affiliateGroupId => (int) 10
corporateGroupId => (int) 11
email => 'behnishmann85@gmail.com'
emailName => 'banny'
enableDependent => false
RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) id:1 {
'components' => [
]
'implementedEvents' => [
'Controller.startup' => 'startup',
'Controller.beforeRender' => 'beforeRender',
]
'_config' => [
'checkHttpCache' => true,
'viewClassMap' => [
'' => [maximum depth reached],
],
]
}
Flash => object(Cake\Controller\Component\FlashComponent) id:2 {
'components' => [
]
'implementedEvents' => [
]
'_config' => [
'key' => 'flash',
'element' => 'default',
'plugin' => null,
'params' => [
'' => [maximum depth reached],
],
'clear' => false,
'duplicate' => true,
]
}
UserAuth => object(App\Controller\Component\UserAuthComponent) id:3 {
'components' => [
]
'implementedEvents' => [
'Controller.initialize' => 'beforeFilter',
'Controller.beforeRender' => 'beforeRender',
]
'_config' => [
]
}
FormProtection => object(Cake\Controller\Component\FormProtectionComponent) id:4 {
'components' => [
]
'implementedEvents' => [
'Controller.startup' => 'startup',
]
'_config' => [
'validate' => true,
'unlockedFields' => [
'' => [maximum depth reached],
],
'unlockedActions' => [
'' => [maximum depth reached],
],
'validationFailureCallback' => object(Closure) id:5 {
},
]
}
Search => object(App\Controller\Component\SearchComponent) id:6 {
'components' => [
(int) 0 => 'UserAuth',
]
'implementedEvents' => [
'Controller.initialize' => 'beforeFilter',
'Controller.startup' => 'startup',
'Controller.beforeRender' => 'beforeRender',
]
'_config' => [
]
}
Auth => object(Cake\Controller\Component\AuthComponent) id:7 {
'components' => [
(int) 0 => 'RequestHandler',
(int) 1 => 'Flash',
]
'implementedEvents' => [
'Controller.initialize' => 'authCheck',
'Controller.startup' => 'startup',
]
'_config' => [
'authenticate' => [
'' => [maximum depth reached],
],
'authorize' => [
'' => [maximum depth reached],
],
'flash' => [
'' => [maximum depth reached],
],
'loginAction' => [
'' => [maximum depth reached],
],
'loginRedirect' => '/dashboard',
'logoutRedirect' => '/login',
'authError' => 'You are not authorized to access that location.',
'unauthorizedRedirect' => [
'' => [maximum depth reached],
],
'storage' => 'Session',
'checkAuthIn' => 'Controller.startup',
]
}
Newsletterposters => object(App\Model\Table\NewsletterpostersTable) id:8 {
'registryAlias' => 'Newsletterposters'
'table' => 'newsletterposters'
'alias' => 'Newsletterposters'
'entityClass' => 'App\Model\Entity\Newsletterposter'
'associations' => [
]
'behaviors' => [
(int) 0 => 'AuditLog',
(int) 1 => 'Timestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Blogs => object(App\Model\Table\BlogsTable) id:9 {
'registryAlias' => 'Blogs'
'table' => 'blogs'
'alias' => 'Blogs'
'entityClass' => 'App\Model\Entity\Blog'
'associations' => [
(int) 0 => 'Users',
(int) 1 => 'BlogCategories',
(int) 2 => 'BlogBlogTags',
(int) 3 => 'BlogMetas',
(int) 4 => 'FeatureImageBlog',
(int) 5 => 'FeatureVideo',
(int) 6 => 'BlogSeos',
]
'behaviors' => [
(int) 0 => 'AuditLog',
(int) 1 => 'Timestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
States => object(App\Model\Table\StatesTable) id:10 {
'registryAlias' => 'States'
'table' => 'states'
'alias' => 'States'
'entityClass' => 'App\Model\Entity\State'
'associations' => [
(int) 0 => 'Countries',
(int) 1 => 'CityStates',
]
'behaviors' => [
(int) 0 => 'AuditLog',
(int) 1 => 'Timestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
Cities => object(App\Model\Table\CitiesTable) id:11 {
'registryAlias' => 'Cities'
'table' => 'cities'
'alias' => 'Cities'
'entityClass' => 'App\Model\Entity\City'
'associations' => [
(int) 0 => 'Users',
(int) 1 => 'CityStates',
(int) 2 => 'Specials',
]
'behaviors' => [
(int) 0 => 'AuditLog',
(int) 1 => 'Timestamp',
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
protected name => 'Cities'
protected request => object(Cake\Http\ServerRequest) id:12 {
trustProxy => false
protected params => [
'' => [maximum depth reached],
]
protected data => [
'' => [maximum depth reached],
]
protected query => [
'' => [maximum depth reached],
]
protected cookies => [
'' => [maximum depth reached],
]
protected _environment => [
'' => [maximum depth reached],
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
'' => [maximum depth reached],
]
protected _detectors => [
'' => [maximum depth reached],
]
protected _detectorCache => [
'' => [maximum depth reached],
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:13 {
}
protected uri => object(Laminas\Diactoros\Uri) id:14 {
}
protected session => object(Cake\Http\Session) id:15 {
}
protected flash => object(Cake\Http\FlashMessage) id:16 {
}
protected attributes => [
'' => [maximum depth reached],
]
protected emulatedAttributes => [
'' => [maximum depth reached],
]
protected uploadedFiles => [
'' => [maximum depth reached],
]
protected protocol => null
protected requestTarget => null
}
protected response => object(Cake\Http\Response) id:17 {
'status' => (int) 200
'contentType' => 'text/html'
'headers' => [
'Content-Type' => [
'' => [maximum depth reached],
],
]
'file' => null
'fileRange' => [
]
'cookies' => object(Cake\Http\Cookie\CookieCollection) id:18 {
}
'cacheDirectives' => [
]
'body' => ''
}
protected autoRender => true
protected _components => object(Cake\Controller\ComponentRegistry) id:19 {
'_Controller' => object(App\Controller\CitiesController) id: 0 {}
'_loaded' => [
(int) 0 => 'RequestHandler',
(int) 1 => 'Flash',
(int) 2 => 'UserAuth',
(int) 3 => 'FormProtection',
(int) 4 => 'Search',
(int) 5 => 'Auth',
]
'_eventManager' => object(Cake\Event\EventManager) id:20 {
}
'_eventClass' => 'Cake\Event\Event'
}
protected plugin => null
protected middlewares => [
]
protected _eventManager => object(Cake\Event\EventManager) id: 20 {}
protected _eventClass => 'Cake\Event\Event'
protected defaultTable => 'Cities'
protected _tableLocator => object(Cake\ORM\Locator\TableLocator) id:21 {
protected locations => [
'' => [maximum depth reached],
]
protected _config => [
'' => [maximum depth reached],
]
protected instances => [
'' => [maximum depth reached],
]
protected _fallbacked => [
'' => [maximum depth reached],
]
protected fallbackClassName => 'Cake\ORM\Table'
protected allowFallbackClass => false
protected options => [
'' => [maximum depth reached],
]
}
protected modelClass => 'Cities'
protected _modelFactories => [
'Table' => [
(int) 0 => object(Cake\ORM\Locator\TableLocator) id: 21 {},
(int) 1 => 'get',
],
]
protected _modelType => 'Table'
protected _viewBuilder => object(Cake\View\ViewBuilder) id:22 {
protected _templatePath => null
protected _template => null
protected _plugin => null
protected _theme => null
protected _layout => 'default'
protected _autoLayout => true
protected _layoutPath => null
protected _name => null
protected _className => null
protected _options => [
'' => [maximum depth reached],
]
protected _helpers => [
'' => [maximum depth reached],
]
protected _vars => [
'' => [maximum depth reached],
]
}
}
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
|
} |
|
|
|
$response = new Response([ |
|
'body' => 'Middleware queue was exhausted without returning a response ' |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'slug' => 'crawford-laurie',
'pass' => [
(int) 0 => 'crawford-laurie',
],
'controller' => 'Cities',
'action' => 'preview',
'plugin' => null,
'_matchedRoute' => '/counsellor/:slug.html',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'www.walmsley.ca',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/walmsley/public_html',
'REMOTE_ADDR' => '3.237.64.198',
'REMOTE_PORT' => '38042',
'SERVER_ADDR' => '209.54.112.191',
'SERVER_NAME' => 'www.walmsley.ca',
'SERVER_ADMIN' => 'webmaster@walmsley.ca',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/counsellor/crawford-laurie.html',
'REDIRECT_URL' => '/webroot/counsellor/crawford-laurie.html',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'X_SPDY' => 'HTTP2',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/walmsley/public_html/webroot/index.php',
'QUERY_STRING' => '',
'SCRIPT_URI' => 'https://www.walmsley.ca/counsellor/crawford-laurie.html',
'SCRIPT_URL' => '/counsellor/crawford-laurie.html',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711613500.3231,
'REQUEST_TIME' => (int) 1711613500,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
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',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'csv' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'csv',
],
]
protected _detectorCache => [
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #158
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'www.walmsley.ca'
private port => null
private path => '/counsellor/crawford-laurie.html'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 86400
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'csrfToken' => 'HInHyGYid9mx5r5G+DkxLZbK7552rrRKdvev/5qO5HY5JP3goS6rLnE26sgXVi+BP3fQlawz/Qqaec+hunSQnYpkiPR5FFxn8PvcphWY0HgSwsvOre2AFV1Gz9DDFppKFVKOqi40H7hbE+SsnACbPw==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($method === 'GET' && $cookieData === null) { |
|
$token = $this->createToken(); |
|
$request = $request->withAttribute('csrfToken', $this->saltToken($token)); |
|
/** @var mixed $response */ |
|
$response = $handler->handle($request); |
|
|
|
return $this->_addTokenCookie($token, $request, $response); |
|
} |
|
|
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'slug' => 'crawford-laurie',
'pass' => [
(int) 0 => 'crawford-laurie',
],
'controller' => 'Cities',
'action' => 'preview',
'plugin' => null,
'_matchedRoute' => '/counsellor/:slug.html',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'www.walmsley.ca',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/walmsley/public_html',
'REMOTE_ADDR' => '3.237.64.198',
'REMOTE_PORT' => '38042',
'SERVER_ADDR' => '209.54.112.191',
'SERVER_NAME' => 'www.walmsley.ca',
'SERVER_ADMIN' => 'webmaster@walmsley.ca',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/counsellor/crawford-laurie.html',
'REDIRECT_URL' => '/webroot/counsellor/crawford-laurie.html',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'X_SPDY' => 'HTTP2',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/walmsley/public_html/webroot/index.php',
'QUERY_STRING' => '',
'SCRIPT_URI' => 'https://www.walmsley.ca/counsellor/crawford-laurie.html',
'SCRIPT_URL' => '/counsellor/crawford-laurie.html',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711613500.3231,
'REQUEST_TIME' => (int) 1711613500,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
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',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'csv' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'csv',
],
]
protected _detectorCache => [
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #158
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'www.walmsley.ca'
private port => null
private path => '/counsellor/crawford-laurie.html'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 86400
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'csrfToken' => 'HInHyGYid9mx5r5G+DkxLZbK7552rrRKdvev/5qO5HY5JP3goS6rLnE26sgXVi+BP3fQlawz/Qqaec+hunSQnYpkiPR5FFxn8PvcphWY0HgSwsvOre2AFV1Gz9DDFppKFVKOqi40H7hbE+SsnACbPw==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'slug' => 'crawford-laurie',
'pass' => [
(int) 0 => 'crawford-laurie',
],
'controller' => 'Cities',
'action' => 'preview',
'plugin' => null,
'_matchedRoute' => '/counsellor/:slug.html',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'www.walmsley.ca',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/walmsley/public_html',
'REMOTE_ADDR' => '3.237.64.198',
'REMOTE_PORT' => '38042',
'SERVER_ADDR' => '209.54.112.191',
'SERVER_NAME' => 'www.walmsley.ca',
'SERVER_ADMIN' => 'webmaster@walmsley.ca',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/counsellor/crawford-laurie.html',
'REDIRECT_URL' => '/webroot/counsellor/crawford-laurie.html',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'X_SPDY' => 'HTTP2',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/walmsley/public_html/webroot/index.php',
'QUERY_STRING' => '',
'SCRIPT_URI' => 'https://www.walmsley.ca/counsellor/crawford-laurie.html',
'SCRIPT_URL' => '/counsellor/crawford-laurie.html',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711613500.3231,
'REQUEST_TIME' => (int) 1711613500,
'ORIGINAL_REQUEST_METHOD' => 'GET',
'HTTP_X_REQUESTED_WITH' => null,
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
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',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'csv' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'csv',
],
]
protected _detectorCache => [
'ajax' => false,
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #158
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'www.walmsley.ca'
private port => null
private path => '/counsellor/crawford-laurie.html'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 86400
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
'csrfToken' => 'HInHyGYid9mx5r5G+DkxLZbK7552rrRKdvev/5qO5HY5JP3goS6rLnE26sgXVi+BP3fQlawz/Qqaec+hunSQnYpkiPR5FFxn8PvcphWY0HgSwsvOre2AFV1Gz9DDFppKFVKOqi40H7hbE+SsnACbPw==',
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 5
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/walmsley/public_html/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
*/ |
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
if (!in_array($request->getMethod(), $this->methods, true)) { |
|
return $handler->handle($request); |
|
} |
|
[$type] = explode(';', $request->getHeaderLine('Content-Type')); |
|
$type = strtolower($type); |
|
if (!isset($this->parsers[$type])) { |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'slug' => 'crawford-laurie',
'pass' => [
(int) 0 => 'crawford-laurie',
],
'controller' => 'Cities',
'action' => 'preview',
'plugin' => null,
'_matchedRoute' => '/counsellor/:slug.html',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'www.walmsley.ca',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/walmsley/public_html',
'REMOTE_ADDR' => '3.237.64.198',
'REMOTE_PORT' => '38042',
'SERVER_ADDR' => '209.54.112.191',
'SERVER_NAME' => 'www.walmsley.ca',
'SERVER_ADMIN' => 'webmaster@walmsley.ca',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/counsellor/crawford-laurie.html',
'REDIRECT_URL' => '/webroot/counsellor/crawford-laurie.html',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'X_SPDY' => 'HTTP2',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/walmsley/public_html/webroot/index.php',
'QUERY_STRING' => '',
'SCRIPT_URI' => 'https://www.walmsley.ca/counsellor/crawford-laurie.html',
'SCRIPT_URL' => '/counsellor/crawford-laurie.html',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711613500.3231,
'REQUEST_TIME' => (int) 1711613500,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
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',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'csv' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'csv',
],
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #158
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'www.walmsley.ca'
private port => null
private path => '/counsellor/crawford-laurie.html'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 86400
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'slug' => 'crawford-laurie',
'pass' => [
(int) 0 => 'crawford-laurie',
],
'controller' => 'Cities',
'action' => 'preview',
'plugin' => null,
'_matchedRoute' => '/counsellor/:slug.html',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'www.walmsley.ca',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/walmsley/public_html',
'REMOTE_ADDR' => '3.237.64.198',
'REMOTE_PORT' => '38042',
'SERVER_ADDR' => '209.54.112.191',
'SERVER_NAME' => 'www.walmsley.ca',
'SERVER_ADMIN' => 'webmaster@walmsley.ca',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/counsellor/crawford-laurie.html',
'REDIRECT_URL' => '/webroot/counsellor/crawford-laurie.html',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'X_SPDY' => 'HTTP2',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/walmsley/public_html/webroot/index.php',
'QUERY_STRING' => '',
'SCRIPT_URI' => 'https://www.walmsley.ca/counsellor/crawford-laurie.html',
'SCRIPT_URL' => '/counsellor/crawford-laurie.html',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711613500.3231,
'REQUEST_TIME' => (int) 1711613500,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
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',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'csv' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'csv',
],
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #158
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'www.walmsley.ca'
private port => null
private path => '/counsellor/crawford-laurie.html'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 86400
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 5
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/walmsley/public_html/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
); |
|
} |
|
$matching = Router::getRouteCollection()->getMiddleware($middleware); |
|
if (!$matching) { |
|
return $handler->handle($request); |
|
} |
|
|
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'slug' => 'crawford-laurie',
'pass' => [
(int) 0 => 'crawford-laurie',
],
'controller' => 'Cities',
'action' => 'preview',
'plugin' => null,
'_matchedRoute' => '/counsellor/:slug.html',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'www.walmsley.ca',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/walmsley/public_html',
'REMOTE_ADDR' => '3.237.64.198',
'REMOTE_PORT' => '38042',
'SERVER_ADDR' => '209.54.112.191',
'SERVER_NAME' => 'www.walmsley.ca',
'SERVER_ADMIN' => 'webmaster@walmsley.ca',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/counsellor/crawford-laurie.html',
'REDIRECT_URL' => '/webroot/counsellor/crawford-laurie.html',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'X_SPDY' => 'HTTP2',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/walmsley/public_html/webroot/index.php',
'QUERY_STRING' => '',
'SCRIPT_URI' => 'https://www.walmsley.ca/counsellor/crawford-laurie.html',
'SCRIPT_URL' => '/counsellor/crawford-laurie.html',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711613500.3231,
'REQUEST_TIME' => (int) 1711613500,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
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',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'csv' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'csv',
],
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #158
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'www.walmsley.ca'
private port => null
private path => '/counsellor/crawford-laurie.html'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 86400
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'slug' => 'crawford-laurie',
'pass' => [
(int) 0 => 'crawford-laurie',
],
'controller' => 'Cities',
'action' => 'preview',
'plugin' => null,
'_matchedRoute' => '/counsellor/:slug.html',
'_ext' => null,
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'www.walmsley.ca',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/walmsley/public_html',
'REMOTE_ADDR' => '3.237.64.198',
'REMOTE_PORT' => '38042',
'SERVER_ADDR' => '209.54.112.191',
'SERVER_NAME' => 'www.walmsley.ca',
'SERVER_ADMIN' => 'webmaster@walmsley.ca',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/counsellor/crawford-laurie.html',
'REDIRECT_URL' => '/webroot/counsellor/crawford-laurie.html',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'X_SPDY' => 'HTTP2',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/walmsley/public_html/webroot/index.php',
'QUERY_STRING' => '',
'SCRIPT_URI' => 'https://www.walmsley.ca/counsellor/crawford-laurie.html',
'SCRIPT_URL' => '/counsellor/crawford-laurie.html',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711613500.3231,
'REQUEST_TIME' => (int) 1711613500,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
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',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'csv' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'csv',
],
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #158
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'www.walmsley.ca'
private port => null
private path => '/counsellor/crawford-laurie.html'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 86400
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 5
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/walmsley/public_html/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
} |
|
|
|
$assetFile = $this->_getAssetFile($url); |
|
if ($assetFile === null || !is_file($assetFile)) { |
|
return $handler->handle($request); |
|
} |
|
|
|
$file = new SplFileInfo($assetFile); |
|
$modifiedTime = $file->getMTime(); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'www.walmsley.ca',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/walmsley/public_html',
'REMOTE_ADDR' => '3.237.64.198',
'REMOTE_PORT' => '38042',
'SERVER_ADDR' => '209.54.112.191',
'SERVER_NAME' => 'www.walmsley.ca',
'SERVER_ADMIN' => 'webmaster@walmsley.ca',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/counsellor/crawford-laurie.html',
'REDIRECT_URL' => '/webroot/counsellor/crawford-laurie.html',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'X_SPDY' => 'HTTP2',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/walmsley/public_html/webroot/index.php',
'QUERY_STRING' => '',
'SCRIPT_URI' => 'https://www.walmsley.ca/counsellor/crawford-laurie.html',
'SCRIPT_URL' => '/counsellor/crawford-laurie.html',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711613500.3231,
'REQUEST_TIME' => (int) 1711613500,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
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',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'csv' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'csv',
],
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #158
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'www.walmsley.ca'
private port => null
private path => '/counsellor/crawford-laurie.html'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 86400
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'www.walmsley.ca',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/walmsley/public_html',
'REMOTE_ADDR' => '3.237.64.198',
'REMOTE_PORT' => '38042',
'SERVER_ADDR' => '209.54.112.191',
'SERVER_NAME' => 'www.walmsley.ca',
'SERVER_ADMIN' => 'webmaster@walmsley.ca',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/counsellor/crawford-laurie.html',
'REDIRECT_URL' => '/webroot/counsellor/crawford-laurie.html',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'X_SPDY' => 'HTTP2',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/walmsley/public_html/webroot/index.php',
'QUERY_STRING' => '',
'SCRIPT_URI' => 'https://www.walmsley.ca/counsellor/crawford-laurie.html',
'SCRIPT_URL' => '/counsellor/crawford-laurie.html',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711613500.3231,
'REQUEST_TIME' => (int) 1711613500,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
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',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'csv' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'csv',
],
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #158
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'www.walmsley.ca'
private port => null
private path => '/counsellor/crawford-laurie.html'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 86400
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 5
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/walmsley/public_html/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
*/ |
|
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface |
|
{ |
|
try { |
|
return $handler->handle($request); |
|
} catch (RedirectException $exception) { |
|
return $this->handleRedirect($exception); |
|
} catch (Throwable $exception) { |
|
return $this->handleException($exception, $request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'www.walmsley.ca',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/walmsley/public_html',
'REMOTE_ADDR' => '3.237.64.198',
'REMOTE_PORT' => '38042',
'SERVER_ADDR' => '209.54.112.191',
'SERVER_NAME' => 'www.walmsley.ca',
'SERVER_ADMIN' => 'webmaster@walmsley.ca',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/counsellor/crawford-laurie.html',
'REDIRECT_URL' => '/webroot/counsellor/crawford-laurie.html',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'X_SPDY' => 'HTTP2',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/walmsley/public_html/webroot/index.php',
'QUERY_STRING' => '',
'SCRIPT_URI' => 'https://www.walmsley.ca/counsellor/crawford-laurie.html',
'SCRIPT_URL' => '/counsellor/crawford-laurie.html',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711613500.3231,
'REQUEST_TIME' => (int) 1711613500,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
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',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'csv' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'csv',
],
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #158
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'www.walmsley.ca'
private port => null
private path => '/counsellor/crawford-laurie.html'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 86400
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
if ($this->queue->valid()) { |
|
$middleware = $this->queue->current(); |
|
$this->queue->next(); |
|
|
|
return $middleware->process($request, $this); |
|
} |
|
|
|
if ($this->fallbackHandler) { |
|
return $this->fallbackHandler->handle($request); |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'www.walmsley.ca',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/walmsley/public_html',
'REMOTE_ADDR' => '3.237.64.198',
'REMOTE_PORT' => '38042',
'SERVER_ADDR' => '209.54.112.191',
'SERVER_NAME' => 'www.walmsley.ca',
'SERVER_ADMIN' => 'webmaster@walmsley.ca',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/counsellor/crawford-laurie.html',
'REDIRECT_URL' => '/webroot/counsellor/crawford-laurie.html',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'X_SPDY' => 'HTTP2',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/walmsley/public_html/webroot/index.php',
'QUERY_STRING' => '',
'SCRIPT_URI' => 'https://www.walmsley.ca/counsellor/crawford-laurie.html',
'SCRIPT_URL' => '/counsellor/crawford-laurie.html',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711613500.3231,
'REQUEST_TIME' => (int) 1711613500,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
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',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'csv' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'csv',
],
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #158
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'www.walmsley.ca'
private port => null
private path => '/counsellor/crawford-laurie.html'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 86400
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(Cake\Http\Runner) id:0 {
protected queue => object(Cake\Http\MiddlewareQueue) id:1 {
protected position => (int) 5
protected queue => [
'' => [maximum depth reached],
]
}
protected fallbackHandler => object(App\Application) id:2 {
protected configDir => '/home/walmsley/public_html/config/'
protected plugins => object(Cake\Core\PluginCollection) id:3 {
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:4 {
}
protected container => object(Cake\Core\Container) id:5 {
}
protected _eventManager => object(Cake\Event\EventManager) id:6 {
}
protected _eventClass => 'Cake\Event\Event'
}
}
|
$this->queue = $queue; |
|
$this->queue->rewind(); |
|
$this->fallbackHandler = $fallbackHandler; |
|
|
|
return $this->handle($request); |
|
} |
|
|
|
/** |
|
* Handle incoming server request and return a response. |
Arguments
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'www.walmsley.ca',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/walmsley/public_html',
'REMOTE_ADDR' => '3.237.64.198',
'REMOTE_PORT' => '38042',
'SERVER_ADDR' => '209.54.112.191',
'SERVER_NAME' => 'www.walmsley.ca',
'SERVER_ADMIN' => 'webmaster@walmsley.ca',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/counsellor/crawford-laurie.html',
'REDIRECT_URL' => '/webroot/counsellor/crawford-laurie.html',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'X_SPDY' => 'HTTP2',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/walmsley/public_html/webroot/index.php',
'QUERY_STRING' => '',
'SCRIPT_URI' => 'https://www.walmsley.ca/counsellor/crawford-laurie.html',
'SCRIPT_URL' => '/counsellor/crawford-laurie.html',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711613500.3231,
'REQUEST_TIME' => (int) 1711613500,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
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',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'csv' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'csv',
],
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #158
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'www.walmsley.ca'
private port => null
private path => '/counsellor/crawford-laurie.html'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 86400
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
|
} |
|
|
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
|
|
$response = $this->runner->run($middleware, $request, $this->app); |
|
|
|
if ($request instanceof ServerRequest) { |
|
$request->getSession()->close(); |
|
} |
Arguments
object(Cake\Http\MiddlewareQueue) id:0 {
protected position => (int) 5
protected queue => [
(int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) id:1 {
},
(int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) id:2 {
},
(int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) id:3 {
},
(int) 3 => object(Cake\Http\Middleware\BodyParserMiddleware) id:4 {
},
(int) 4 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) id:5 {
},
]
}
object(Cake\Http\ServerRequest) id:0 {
trustProxy => false
protected params => [
'plugin' => null,
'controller' => null,
'action' => null,
'_ext' => null,
'pass' => [
],
]
protected data => [
]
protected query => [
]
protected cookies => [
]
protected _environment => [
'PATH' => '/usr/local/bin:/bin:/usr/bin',
'HTTP_ACCEPT' => '*/*',
'HTTP_HOST' => 'www.walmsley.ca',
'HTTP_USER_AGENT' => 'claudebot',
'HTTP_X_HTTPS' => '1',
'DOCUMENT_ROOT' => '/home/walmsley/public_html',
'REMOTE_ADDR' => '3.237.64.198',
'REMOTE_PORT' => '38042',
'SERVER_ADDR' => '209.54.112.191',
'SERVER_NAME' => 'www.walmsley.ca',
'SERVER_ADMIN' => 'webmaster@walmsley.ca',
'SERVER_PORT' => '443',
'REQUEST_SCHEME' => 'https',
'REQUEST_URI' => '/counsellor/crawford-laurie.html',
'REDIRECT_URL' => '/webroot/counsellor/crawford-laurie.html',
'REDIRECT_REQUEST_METHOD' => 'GET',
'HTTPS' => 'on',
'REDIRECT_STATUS' => '200',
'X_SPDY' => 'HTTP2',
'SSL_PROTOCOL' => 'TLSv1.3',
'SSL_CIPHER' => 'TLS_AES_256_GCM_SHA384',
'SSL_CIPHER_USEKEYSIZE' => '256',
'SSL_CIPHER_ALGKEYSIZE' => '256',
'SCRIPT_FILENAME' => '/home/walmsley/public_html/webroot/index.php',
'QUERY_STRING' => '',
'SCRIPT_URI' => 'https://www.walmsley.ca/counsellor/crawford-laurie.html',
'SCRIPT_URL' => '/counsellor/crawford-laurie.html',
'SCRIPT_NAME' => '/webroot/index.php',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SOFTWARE' => 'LiteSpeed',
'REQUEST_METHOD' => 'GET',
'X-LSCACHE' => 'on',
'PHP_SELF' => '/webroot/index.php',
'REQUEST_TIME_FLOAT' => (float) 1711613500.3231,
'REQUEST_TIME' => (int) 1711613500,
'ORIGINAL_REQUEST_METHOD' => 'GET',
]
protected base => ''
protected webroot => '/'
protected trustedProxies => [
]
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',
],
'json' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'json',
],
'xml' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'xml',
],
'mobile' => object(Closure) id:1 {
},
'tablet' => object(Closure) id:2 {
},
'csv' => [
'accept' => [
'' => [maximum depth reached],
],
'param' => '_ext',
'value' => 'csv',
],
]
protected _detectorCache => [
]
protected stream => object(Laminas\Diactoros\PhpInputStream) id:3 {
protected resource => (resource) Resource id #158
protected stream => 'php://input'
private cache => ''
private reachedEof => false
}
protected uri => object(Laminas\Diactoros\Uri) id:4 {
base => ''
webroot => '/'
protected allowedSchemes => [
'' => [maximum depth reached],
]
private scheme => 'https'
private userInfo => ''
private host => 'www.walmsley.ca'
private port => null
private path => '/counsellor/crawford-laurie.html'
private query => ''
private fragment => ''
private uriString => null
}
protected session => object(Cake\Http\Session) id:5 {
protected _engine => null
protected _started => null
protected _lifetime => (int) 86400
protected _isCLI => false
}
protected flash => object(Cake\Http\FlashMessage) id:6 {
protected _defaultConfig => [
'' => [maximum depth reached],
]
protected session => object(Cake\Http\Session) id: 5 {}
protected _config => [
'' => [maximum depth reached],
]
protected _configInitialized => true
}
protected attributes => [
]
protected emulatedAttributes => [
(int) 0 => 'session',
(int) 1 => 'flash',
(int) 2 => 'webroot',
(int) 3 => 'base',
(int) 4 => 'params',
(int) 5 => 'here',
]
protected uploadedFiles => [
]
protected protocol => null
protected requestTarget => null
}
object(App\Application) id:0 {
protected configDir => '/home/walmsley/public_html/config/'
protected plugins => object(Cake\Core\PluginCollection) id:1 {
protected plugins => [
'' => [maximum depth reached],
]
protected names => [
'' => [maximum depth reached],
]
protected positions => [
'' => [maximum depth reached],
]
protected loopDepth => (int) -1
}
protected controllerFactory => object(Cake\Controller\ControllerFactory) id:2 {
protected container => object(Cake\Core\Container) id:3 {
}
protected controller => object(App\Controller\CitiesController) id:4 {
}
}
protected container => object(Cake\Core\Container) id: 3 {}
protected _eventManager => object(Cake\Event\EventManager) id:5 {
'_listeners' => [
'Controller.initialize' => '2 listener(s)',
'AuditStash.beforeLog' => '1 listener(s)',
]
'_isGlobal' => true
'_trackEvents' => false
'_generalManager' => '(object) EventManager'
'_dispatchedEvents' => null
}
protected _eventClass => 'Cake\Event\Event'
}
|
// Bind your application to the server. |
|
$server = new Server(new Application(dirname(__DIR__) . '/config')); |
|
|
|
// Run the request/response through the application and emit the response. |
|
$server->emit($server->run()); |
|
|
Error in:
ROOT/src/Controller/CitiesController.php, line 181
If you want to customize this error message, create
templates/Error/error500.php