The action about is not defined in CmssController
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 ($request->getParam('return')) { |
|
return $response; |
|
} |
|
|
object(App\Controller\CmssController) { helpers => [ 'AssetCompress.AssetCompress' => null ] request => object(Cake\Http\ServerRequest) { 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] url => 'about/' [protected] base => '' [protected] webroot => '/' [protected] here => '/about/' [protected] trustedProxies => [[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\Http\Session) {} [protected] attributes => [[maximum depth reached]] [protected] emulatedAttributes => [ [maximum depth reached] ] [protected] uploadedFiles => [[maximum depth reached]] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ [maximum depth reached] ] } response => object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ [maximum depth reached] ], 'file' => null, 'fileRange' => [[maximum depth reached]], 'cookies' => object(Cake\Http\Cookie\CookieCollection) {}, 'cacheDirectives' => [[maximum depth reached]], 'body' => '' } paginate => [] components => [] View => null passedArgs => [ (int) 0 => '' ] modelClass => 'Cmss' viewClass => null viewVars => [ 'settings' => [ 'paypal_email' => 'accounts@ndassist.com', 'paypal_url' => 'https://www.paypal.com/cgi-bin/webscr', 'paypal_price' => '20.00', 'paypal_tax' => '2.60', 'paypal_item_name' => 'Purchase NDAssist Access', 'paypal_currency_code' => 'CAD', 'contact_form_email' => 'info@ndassist.com', 'sender_email_address' => 'website@nhpassist.com', 'student' => 'student9903', 'holistic' => 'cannp99302', 'paypal_promo_code_price' => '20.00', 'comp_feature_price' => '20.00', 'paypal_comp_feature_name' => 'Display/Hide Companies and their Products', 'paypal_purchase_name' => 'Purchase NDAssist Herbal Rx application', 'item_1' => 'ND- Assist Website Access', 'item_2' => 'Herbal Rx Application (Download)' ], 'random_records' => [ (int) 0 => object(Cake\ORM\Entity) {} ], 'id_list' => [ 'REC109add9e526106' => 'REC109add9e526106', 'RECMG11399' => 'RECMG11399', 'REC109add9e524631' => 'REC109add9e524631', 'REC109add9e526662' => 'REC109add9e526662', 'REC109add9e525583' => 'REC109add9e525583', 'RECMG8229' => 'RECMG8229', 'RECND2318' => 'RECND2318', 'REC109add9e526187' => 'REC109add9e526187', 'REC109add9e526180' => 'REC109add9e526180', 'REC109add9e525872' => 'REC109add9e525872', 'REC109add9e527396' => 'REC109add9e527396', 'REC109add9e525088' => 'REC109add9e525088', 'REC109add9e523547' => 'REC109add9e523547', 'REC109add9e526154' => 'REC109add9e526154', 'REC109add9e523169' => 'REC109add9e523169', 'RECND6600' => 'RECND6600', 'RECMG10141' => 'RECMG10141', 'REC109add9e526794' => 'REC109add9e526794', 'REC109add9e526891' => 'REC109add9e526891', 'RECMG7385' => 'RECMG7385', 'REC109add9e525816' => 'REC109add9e525816', 'RECND990' => 'RECND990', 'REC109add9e526177' => 'REC109add9e526177', 'RECMG8361' => 'RECMG8361', 'REC109add9e524650' => 'REC109add9e524650', 'RECMG8227' => 'RECMG8227', 'RECMG11205' => 'RECMG11205', 'REC109add9e523092' => 'REC109add9e523092', 'RECMG10707' => 'RECMG10707', 'REC12ND00233' => 'REC12ND00233', 'RECND3341' => 'RECND3341', 'REC109add9e525255' => 'REC109add9e525255', 'RECMG9599' => 'RECMG9599', 'RECMG11296' => 'RECMG11296', 'RECMG9304' => 'RECMG9304', 'REC109add9e522499' => 'REC109add9e522499', 'REC109add9e525067' => 'REC109add9e525067', 'REC109add9e526134' => 'REC109add9e526134', 'RECND1449' => 'RECND1449', 'RECND2239' => 'RECND2239', 'REC109add9e526107' => 'REC109add9e526107', 'RECND6650' => 'RECND6650', 'REC109add9e525348' => 'REC109add9e525348', 'RECMG10395' => 'RECMG10395', 'RECND3295' => 'RECND3295', 'REC109add9e525060' => 'REC109add9e525060', 'REC109add9e526111' => 'REC109add9e526111', 'RECMG11098' => 'RECMG11098', 'REC109add9e526249' => 'REC109add9e526249' ], 'keyword' => [ (int) 0 => 'galium', (int) 1 => 'colostrum', (int) 2 => 'cough_suppressant', (int) 3 => 'bronchodilator', (int) 4 => 'thalassemia', (int) 5 => 'urinary_bladder_67', (int) 6 => 'mucosal_integrity', (int) 7 => 'migraines', (int) 8 => 'fish_oil', (int) 9 => 'triple_warmer_17', (int) 10 => 'Hydrangea_arborescens', (int) 11 => 'vegetarian_vegan', (int) 12 => 'milk_thistle', (int) 13 => 'cystic_acne', (int) 14 => 'Wise_Woman_Herbals', (int) 15 => 'joint_pain', (int) 16 => 'Fucus_vesiculosus', (int) 17 => 'Integrative_Therapeutics', (int) 18 => '_Canada', (int) 19 => 'antipyretic', (int) 20 => 'wintergreen', (int) 21 => 'ubiquinone', (int) 22 => 'hepatitis', (int) 23 => 'L_Citrulline', (int) 24 => 'black_seed', (int) 25 => 'stomach_36', (int) 26 => 'stress', (int) 27 => 'Genuine_Health', (int) 28 => 'Ricinus_communis', (int) 29 => 'thyme', (int) 30 => 'fibroids', (int) 31 => 'urinary_incontinence', (int) 32 => 'conception_vessel_22', (int) 33 => 'chelidonium', (int) 34 => 'biliary_colic', (int) 35 => 'acne_rosacea', (int) 36 => 'Xylitol', (int) 37 => 'nootropic', (int) 38 => 'Rocky_Mountain_Analytical', (int) 39 => 'conjugated_linoleum_acid', (int) 40 => 'German_chamomile', (int) 41 => 'cardiac_dysrhythmia', (int) 42 => 'eczema', (int) 43 => 'Naturtech', (int) 44 => 'trimethylglycine', (int) 45 => 'stomach_ulcer', (int) 46 => 'prickly_ash', (int) 47 => 'stomach_28', (int) 48 => 'beneficial_microflora', (int) 49 => 'incontinence', (int) 50 => 'New_Jersey_tea' ] ] 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] ] } Cookie => object(Cake\Controller\Component\CookieComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } Country_code => 'US' LinkTest => object(Cake\ORM\Table) { 'registryAlias' => 'LinkTest', 'table' => 'link_test', 'alias' => 'LinkTest', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } Link => object(Cake\ORM\Table) { 'registryAlias' => 'Link', 'table' => 'link', 'alias' => 'Link', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } Record => object(Cake\ORM\Table) { 'registryAlias' => 'Record', 'table' => 'record', 'alias' => 'Record', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } Setting => object(Cake\ORM\Table) { 'registryAlias' => 'Setting', 'table' => 'setting', 'alias' => 'Setting', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } Puser => object(Cake\ORM\Table) { 'registryAlias' => 'Puser', 'table' => 'puser', 'alias' => 'Puser', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } Keyword => object(Cake\ORM\Table) { 'registryAlias' => 'Keyword', 'table' => 'keyword', 'alias' => 'Keyword', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } keyword => [ (int) 0 => 'galium', (int) 1 => 'colostrum', (int) 2 => 'cough_suppressant', (int) 3 => 'bronchodilator', (int) 4 => 'thalassemia', (int) 5 => 'urinary_bladder_67', (int) 6 => 'mucosal_integrity', (int) 7 => 'migraines', (int) 8 => 'fish_oil', (int) 9 => 'triple_warmer_17', (int) 10 => 'Hydrangea_arborescens', (int) 11 => 'vegetarian_vegan', (int) 12 => 'milk_thistle', (int) 13 => 'cystic_acne', (int) 14 => 'Wise_Woman_Herbals', (int) 15 => 'joint_pain', (int) 16 => 'Fucus_vesiculosus', (int) 17 => 'Integrative_Therapeutics', (int) 18 => '_Canada', (int) 19 => 'antipyretic', (int) 20 => 'wintergreen', (int) 21 => 'ubiquinone', (int) 22 => 'hepatitis', (int) 23 => 'L_Citrulline', (int) 24 => 'black_seed', (int) 25 => 'stomach_36', (int) 26 => 'stress', (int) 27 => 'Genuine_Health', (int) 28 => 'Ricinus_communis', (int) 29 => 'thyme', (int) 30 => 'fibroids', (int) 31 => 'urinary_incontinence', (int) 32 => 'conception_vessel_22', (int) 33 => 'chelidonium', (int) 34 => 'biliary_colic', (int) 35 => 'acne_rosacea', (int) 36 => 'Xylitol', (int) 37 => 'nootropic', (int) 38 => 'Rocky_Mountain_Analytical', (int) 39 => 'conjugated_linoleum_acid', (int) 40 => 'German_chamomile', (int) 41 => 'cardiac_dysrhythmia', (int) 42 => 'eczema', (int) 43 => 'Naturtech', (int) 44 => 'trimethylglycine', (int) 45 => 'stomach_ulcer', (int) 46 => 'prickly_ash', (int) 47 => 'stomach_28', (int) 48 => 'beneficial_microflora', (int) 49 => 'incontinence', (int) 50 => 'New_Jersey_tea' ] settings => [ 'paypal_email' => 'accounts@ndassist.com', 'paypal_url' => 'https://www.paypal.com/cgi-bin/webscr', 'paypal_price' => '20.00', 'paypal_tax' => '2.60', 'paypal_item_name' => 'Purchase NDAssist Access', 'paypal_currency_code' => 'CAD', 'contact_form_email' => 'info@ndassist.com', 'sender_email_address' => 'website@nhpassist.com', 'student' => 'student9903', 'holistic' => 'cannp99302', 'paypal_promo_code_price' => '20.00', 'comp_feature_price' => '20.00', 'paypal_comp_feature_name' => 'Display/Hide Companies and their Products', 'paypal_purchase_name' => 'Purchase NDAssist Herbal Rx application', 'item_1' => 'ND- Assist Website Access', 'item_2' => 'Herbal Rx Application (Download)' ] [protected] name => 'Cmss' [protected] _responseClass => 'Cake\Http\Response' [protected] autoRender => true [protected] _components => object(Cake\Controller\ComponentRegistry) { '_Controller' => object(App\Controller\CmssController) {}, '_loaded' => [ [maximum depth reached] ], '_eventManager' => object(Cake\Event\EventManager) {}, '_eventClass' => 'Cake\Event\Event' } [protected] _validViewOptions => [ (int) 0 => 'passedArgs' ] [protected] plugin => null [protected] _eventManager => object(Cake\Event\EventManager) { '_listeners' => [ [maximum depth reached] ], '_isGlobal' => false, '_trackEvents' => false, '_generalManager' => '(object) EventManager', '_dispatchedEvents' => null } [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 }
* @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) { trustProxy => false [protected] params => [ 'pass' => [ (int) 0 => '' ], 'controller' => 'Cmss', 'action' => 'about', 'plugin' => null, '_matchedRoute' => '/about', '_ext' => null, '_csrfToken' => 'ec3fee6b92b4f21b56a7b5ff9073aedd4590e0561afa5ffa4798c1f6912223937f3c851cb23baf4df7324922b421b7e3e409be1fbd9bf01625133049602324db' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'CONTEXT_DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'CONTEXT_PREFIX' => '', 'DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '3050554-571-3', 'HTTP2' => 'on', 'HTTPS' => 'on', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.nhpassist.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'PATH' => '/bin:/usr/bin', 'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:.', 'QUERY_STRING' => '', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '3050554-571-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '3050554-571-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/about/', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'REDIRECT_SCRIPT_URL' => '/about/', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'REDIRECT_URL' => '/webroot/about/', 'REMOTE_ADDR' => '54.145.183.34', 'REMOTE_PORT' => '57160', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/about/', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'SCRIPT_URL' => '/about/', 'SERVER_ADDR' => '172.26.3.42', 'SERVER_ADMIN' => 'webmaster@nhpassist.ndassist.com', 'SERVER_NAME' => 'www.nhpassist.com', 'SERVER_PORT' => '443', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SSL_TLS_SNI' => 'www.nhpassist.com', 'TZ' => 'UTC', 'UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711690619.1081, 'REQUEST_TIME' => (int) 1711690619, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'about/' [protected] base => '' [protected] webroot => '/' [protected] here => '/about/' [protected] trustedProxies => [] [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 => [ 'ssl' => true, 'post' => false, 'put' => false, '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 => 'www.nhpassist.com' [private] port => null [private] path => '/about/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, '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) { trustProxy => false [protected] params => [ 'pass' => [ (int) 0 => '' ], 'controller' => 'Cmss', 'action' => 'about', 'plugin' => null, '_matchedRoute' => '/about', '_ext' => null, '_csrfToken' => 'ec3fee6b92b4f21b56a7b5ff9073aedd4590e0561afa5ffa4798c1f6912223937f3c851cb23baf4df7324922b421b7e3e409be1fbd9bf01625133049602324db' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'CONTEXT_DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'CONTEXT_PREFIX' => '', 'DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '3050554-571-3', 'HTTP2' => 'on', 'HTTPS' => 'on', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.nhpassist.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'PATH' => '/bin:/usr/bin', 'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:.', 'QUERY_STRING' => '', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '3050554-571-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '3050554-571-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/about/', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'REDIRECT_SCRIPT_URL' => '/about/', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'REDIRECT_URL' => '/webroot/about/', 'REMOTE_ADDR' => '54.145.183.34', 'REMOTE_PORT' => '57160', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/about/', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'SCRIPT_URL' => '/about/', 'SERVER_ADDR' => '172.26.3.42', 'SERVER_ADMIN' => 'webmaster@nhpassist.ndassist.com', 'SERVER_NAME' => 'www.nhpassist.com', 'SERVER_PORT' => '443', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SSL_TLS_SNI' => 'www.nhpassist.com', 'TZ' => 'UTC', 'UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711690619.1081, 'REQUEST_TIME' => (int) 1711690619, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'about/' [protected] base => '' [protected] webroot => '/' [protected] here => '/about/' [protected] trustedProxies => [] [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 => [ 'ssl' => true, 'post' => false, 'put' => false, '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 => 'www.nhpassist.com' [private] port => null [private] path => '/about/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, '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] ] } }
$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) { trustProxy => false [protected] params => [ 'pass' => [ (int) 0 => '' ], 'controller' => 'Cmss', 'action' => 'about', 'plugin' => null, '_matchedRoute' => '/about', '_ext' => null, '_csrfToken' => 'ec3fee6b92b4f21b56a7b5ff9073aedd4590e0561afa5ffa4798c1f6912223937f3c851cb23baf4df7324922b421b7e3e409be1fbd9bf01625133049602324db' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'CONTEXT_DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'CONTEXT_PREFIX' => '', 'DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '3050554-571-3', 'HTTP2' => 'on', 'HTTPS' => 'on', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.nhpassist.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'PATH' => '/bin:/usr/bin', 'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:.', 'QUERY_STRING' => '', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '3050554-571-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '3050554-571-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/about/', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'REDIRECT_SCRIPT_URL' => '/about/', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'REDIRECT_URL' => '/webroot/about/', 'REMOTE_ADDR' => '54.145.183.34', 'REMOTE_PORT' => '57160', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/about/', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'SCRIPT_URL' => '/about/', 'SERVER_ADDR' => '172.26.3.42', 'SERVER_ADMIN' => 'webmaster@nhpassist.ndassist.com', 'SERVER_NAME' => 'www.nhpassist.com', 'SERVER_PORT' => '443', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SSL_TLS_SNI' => 'www.nhpassist.com', 'TZ' => 'UTC', 'UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711690619.1081, 'REQUEST_TIME' => (int) 1711690619, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'about/' [protected] base => '' [protected] webroot => '/' [protected] here => '/about/' [protected] trustedProxies => [] [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 => [ 'ssl' => true, 'post' => false, 'put' => false, '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 => 'www.nhpassist.com' [private] port => null [private] path => '/about/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 2 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
$token = $this->_createToken(); |
|
$request = $this->_addTokenToRequest($token, $request); |
|
$response = $this->_addTokenCookie($token, $request, $response); |
|
|
|
return $next($request, $response); |
|
} |
|
$request = $this->_validateAndUnsetTokenField($request); |
|
|
|
return $next($request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'pass' => [ (int) 0 => '' ], 'controller' => 'Cmss', 'action' => 'about', 'plugin' => null, '_matchedRoute' => '/about', '_ext' => null, '_csrfToken' => 'ec3fee6b92b4f21b56a7b5ff9073aedd4590e0561afa5ffa4798c1f6912223937f3c851cb23baf4df7324922b421b7e3e409be1fbd9bf01625133049602324db' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'CONTEXT_DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'CONTEXT_PREFIX' => '', 'DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '3050554-571-3', 'HTTP2' => 'on', 'HTTPS' => 'on', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.nhpassist.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'PATH' => '/bin:/usr/bin', 'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:.', 'QUERY_STRING' => '', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '3050554-571-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '3050554-571-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/about/', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'REDIRECT_SCRIPT_URL' => '/about/', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'REDIRECT_URL' => '/webroot/about/', 'REMOTE_ADDR' => '54.145.183.34', 'REMOTE_PORT' => '57160', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/about/', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'SCRIPT_URL' => '/about/', 'SERVER_ADDR' => '172.26.3.42', 'SERVER_ADMIN' => 'webmaster@nhpassist.ndassist.com', 'SERVER_NAME' => 'www.nhpassist.com', 'SERVER_PORT' => '443', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SSL_TLS_SNI' => 'www.nhpassist.com', 'TZ' => 'UTC', 'UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711690619.1081, 'REQUEST_TIME' => (int) 1711690619, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'about/' [protected] base => '' [protected] webroot => '/' [protected] here => '/about/' [protected] trustedProxies => [] [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 => [ 'ssl' => true, 'post' => false, 'put' => false, '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 => 'www.nhpassist.com' [private] port => null [private] path => '/about/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, '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) { trustProxy => false [protected] params => [ 'pass' => [ (int) 0 => '' ], 'controller' => 'Cmss', 'action' => 'about', 'plugin' => null, '_matchedRoute' => '/about', '_ext' => null, '_csrfToken' => 'ec3fee6b92b4f21b56a7b5ff9073aedd4590e0561afa5ffa4798c1f6912223937f3c851cb23baf4df7324922b421b7e3e409be1fbd9bf01625133049602324db' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'CONTEXT_DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'CONTEXT_PREFIX' => '', 'DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '3050554-571-3', 'HTTP2' => 'on', 'HTTPS' => 'on', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.nhpassist.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'PATH' => '/bin:/usr/bin', 'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:.', 'QUERY_STRING' => '', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '3050554-571-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '3050554-571-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/about/', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'REDIRECT_SCRIPT_URL' => '/about/', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'REDIRECT_URL' => '/webroot/about/', 'REMOTE_ADDR' => '54.145.183.34', 'REMOTE_PORT' => '57160', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/about/', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'SCRIPT_URL' => '/about/', 'SERVER_ADDR' => '172.26.3.42', 'SERVER_ADMIN' => 'webmaster@nhpassist.ndassist.com', 'SERVER_NAME' => 'www.nhpassist.com', 'SERVER_PORT' => '443', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SSL_TLS_SNI' => 'www.nhpassist.com', 'TZ' => 'UTC', 'UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711690619.1081, 'REQUEST_TIME' => (int) 1711690619, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'about/' [protected] base => '' [protected] webroot => '/' [protected] here => '/about/' [protected] trustedProxies => [] [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 => [ 'ssl' => true, 'post' => false, 'put' => false, '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 => 'www.nhpassist.com' [private] port => null [private] path => '/about/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 2 [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) { trustProxy => false [protected] params => [ 'pass' => [ (int) 0 => '' ], 'controller' => 'Cmss', 'action' => 'about', 'plugin' => null, '_matchedRoute' => '/about', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'CONTEXT_DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'CONTEXT_PREFIX' => '', 'DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '3050554-571-3', 'HTTP2' => 'on', 'HTTPS' => 'on', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.nhpassist.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'PATH' => '/bin:/usr/bin', 'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:.', 'QUERY_STRING' => '', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '3050554-571-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '3050554-571-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/about/', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'REDIRECT_SCRIPT_URL' => '/about/', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'REDIRECT_URL' => '/webroot/about/', 'REMOTE_ADDR' => '54.145.183.34', 'REMOTE_PORT' => '57160', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/about/', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'SCRIPT_URL' => '/about/', 'SERVER_ADDR' => '172.26.3.42', 'SERVER_ADMIN' => 'webmaster@nhpassist.ndassist.com', 'SERVER_NAME' => 'www.nhpassist.com', 'SERVER_PORT' => '443', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SSL_TLS_SNI' => 'www.nhpassist.com', 'TZ' => 'UTC', 'UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711690619.1081, 'REQUEST_TIME' => (int) 1711690619, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'about/' [protected] base => '' [protected] webroot => '/' [protected] here => '/about/' [protected] trustedProxies => [] [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 => 'www.nhpassist.com' [private] port => null [private] path => '/about/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$matching[] = $next; |
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
|
|
|
return $runner->run($middleware, $request, $response); |
|
} |
|
} |
|
|
object(Cake\Http\MiddlewareQueue) { [protected] queue => [ (int) 0 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) {}, (int) 1 => object(Cake\Http\Runner) {} ] [protected] callables => [ (int) 0 => object(Cake\Http\Middleware\CsrfProtectionMiddleware) {}, (int) 1 => object(Cake\Http\Runner) {} ] } object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'pass' => [ (int) 0 => '' ], 'controller' => 'Cmss', 'action' => 'about', 'plugin' => null, '_matchedRoute' => '/about', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'CONTEXT_DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'CONTEXT_PREFIX' => '', 'DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '3050554-571-3', 'HTTP2' => 'on', 'HTTPS' => 'on', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.nhpassist.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'PATH' => '/bin:/usr/bin', 'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:.', 'QUERY_STRING' => '', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '3050554-571-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '3050554-571-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/about/', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'REDIRECT_SCRIPT_URL' => '/about/', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'REDIRECT_URL' => '/webroot/about/', 'REMOTE_ADDR' => '54.145.183.34', 'REMOTE_PORT' => '57160', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/about/', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'SCRIPT_URL' => '/about/', 'SERVER_ADDR' => '172.26.3.42', 'SERVER_ADMIN' => 'webmaster@nhpassist.ndassist.com', 'SERVER_NAME' => 'www.nhpassist.com', 'SERVER_PORT' => '443', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SSL_TLS_SNI' => 'www.nhpassist.com', 'TZ' => 'UTC', 'UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711690619.1081, 'REQUEST_TIME' => (int) 1711690619, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'about/' [protected] base => '' [protected] webroot => '/' [protected] here => '/about/' [protected] trustedProxies => [] [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 => 'www.nhpassist.com' [private] port => null [private] path => '/about/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, '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) { trustProxy => false [protected] params => [ 'pass' => [ (int) 0 => '' ], 'controller' => 'Cmss', 'action' => 'about', 'plugin' => null, '_matchedRoute' => '/about', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'CONTEXT_DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'CONTEXT_PREFIX' => '', 'DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '3050554-571-3', 'HTTP2' => 'on', 'HTTPS' => 'on', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.nhpassist.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'PATH' => '/bin:/usr/bin', 'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:.', 'QUERY_STRING' => '', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '3050554-571-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '3050554-571-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/about/', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'REDIRECT_SCRIPT_URL' => '/about/', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'REDIRECT_URL' => '/webroot/about/', 'REMOTE_ADDR' => '54.145.183.34', 'REMOTE_PORT' => '57160', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/about/', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'SCRIPT_URL' => '/about/', 'SERVER_ADDR' => '172.26.3.42', 'SERVER_ADMIN' => 'webmaster@nhpassist.ndassist.com', 'SERVER_NAME' => 'www.nhpassist.com', 'SERVER_PORT' => '443', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SSL_TLS_SNI' => 'www.nhpassist.com', 'TZ' => 'UTC', 'UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711690619.1081, 'REQUEST_TIME' => (int) 1711690619, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'about/' [protected] base => '' [protected] webroot => '/' [protected] here => '/about/' [protected] trustedProxies => [] [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 => 'www.nhpassist.com' [private] port => null [private] path => '/about/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, '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); |
|
} |
|
|
|
if (strpos($url, '/.') !== false) { |
|
return $next($request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'CONTEXT_DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'CONTEXT_PREFIX' => '', 'DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '3050554-571-3', 'HTTP2' => 'on', 'HTTPS' => 'on', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.nhpassist.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'PATH' => '/bin:/usr/bin', 'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:.', 'QUERY_STRING' => '', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '3050554-571-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '3050554-571-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/about/', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'REDIRECT_SCRIPT_URL' => '/about/', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'REDIRECT_URL' => '/webroot/about/', 'REMOTE_ADDR' => '54.145.183.34', 'REMOTE_PORT' => '57160', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/about/', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'SCRIPT_URL' => '/about/', 'SERVER_ADDR' => '172.26.3.42', 'SERVER_ADMIN' => 'webmaster@nhpassist.ndassist.com', 'SERVER_NAME' => 'www.nhpassist.com', 'SERVER_PORT' => '443', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SSL_TLS_SNI' => 'www.nhpassist.com', 'TZ' => 'UTC', 'UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711690619.1081, 'REQUEST_TIME' => (int) 1711690619, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'about/' [protected] base => '' [protected] webroot => '/' [protected] here => '/about/' [protected] trustedProxies => [] [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 => 'www.nhpassist.com' [private] port => null [private] path => '/about/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, '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) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'CONTEXT_DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'CONTEXT_PREFIX' => '', 'DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '3050554-571-3', 'HTTP2' => 'on', 'HTTPS' => 'on', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.nhpassist.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'PATH' => '/bin:/usr/bin', 'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:.', 'QUERY_STRING' => '', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '3050554-571-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '3050554-571-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/about/', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'REDIRECT_SCRIPT_URL' => '/about/', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'REDIRECT_URL' => '/webroot/about/', 'REMOTE_ADDR' => '54.145.183.34', 'REMOTE_PORT' => '57160', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/about/', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'SCRIPT_URL' => '/about/', 'SERVER_ADDR' => '172.26.3.42', 'SERVER_ADMIN' => 'webmaster@nhpassist.ndassist.com', 'SERVER_NAME' => 'www.nhpassist.com', 'SERVER_PORT' => '443', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SSL_TLS_SNI' => 'www.nhpassist.com', 'TZ' => 'UTC', 'UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711690619.1081, 'REQUEST_TIME' => (int) 1711690619, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'about/' [protected] base => '' [protected] webroot => '/' [protected] here => '/about/' [protected] trustedProxies => [] [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 => 'www.nhpassist.com' [private] port => null [private] path => '/about/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, '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 (Throwable $exception) { |
|
return $this->handleException($exception, $request, $response); |
|
} catch (Exception $exception) { |
|
return $this->handleException($exception, $request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'CONTEXT_DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'CONTEXT_PREFIX' => '', 'DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '3050554-571-3', 'HTTP2' => 'on', 'HTTPS' => 'on', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.nhpassist.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'PATH' => '/bin:/usr/bin', 'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:.', 'QUERY_STRING' => '', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '3050554-571-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '3050554-571-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/about/', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'REDIRECT_SCRIPT_URL' => '/about/', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'REDIRECT_URL' => '/webroot/about/', 'REMOTE_ADDR' => '54.145.183.34', 'REMOTE_PORT' => '57160', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/about/', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'SCRIPT_URL' => '/about/', 'SERVER_ADDR' => '172.26.3.42', 'SERVER_ADMIN' => 'webmaster@nhpassist.ndassist.com', 'SERVER_NAME' => 'www.nhpassist.com', 'SERVER_PORT' => '443', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SSL_TLS_SNI' => 'www.nhpassist.com', 'TZ' => 'UTC', 'UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711690619.1081, 'REQUEST_TIME' => (int) 1711690619, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'about/' [protected] base => '' [protected] webroot => '/' [protected] here => '/about/' [protected] trustedProxies => [] [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 => 'www.nhpassist.com' [private] port => null [private] path => '/about/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, '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) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'CONTEXT_DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'CONTEXT_PREFIX' => '', 'DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '3050554-571-3', 'HTTP2' => 'on', 'HTTPS' => 'on', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.nhpassist.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'PATH' => '/bin:/usr/bin', 'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:.', 'QUERY_STRING' => '', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '3050554-571-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '3050554-571-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/about/', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'REDIRECT_SCRIPT_URL' => '/about/', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'REDIRECT_URL' => '/webroot/about/', 'REMOTE_ADDR' => '54.145.183.34', 'REMOTE_PORT' => '57160', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/about/', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'SCRIPT_URL' => '/about/', 'SERVER_ADDR' => '172.26.3.42', 'SERVER_ADMIN' => 'webmaster@nhpassist.ndassist.com', 'SERVER_NAME' => 'www.nhpassist.com', 'SERVER_PORT' => '443', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SSL_TLS_SNI' => 'www.nhpassist.com', 'TZ' => 'UTC', 'UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711690619.1081, 'REQUEST_TIME' => (int) 1711690619, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'about/' [protected] base => '' [protected] webroot => '/' [protected] here => '/about/' [protected] trustedProxies => [] [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 => 'www.nhpassist.com' [private] port => null [private] path => '/about/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, '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) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'CONTEXT_DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'CONTEXT_PREFIX' => '', 'DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '3050554-571-3', 'HTTP2' => 'on', 'HTTPS' => 'on', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.nhpassist.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'PATH' => '/bin:/usr/bin', 'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:.', 'QUERY_STRING' => '', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '3050554-571-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '3050554-571-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/about/', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'REDIRECT_SCRIPT_URL' => '/about/', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'REDIRECT_URL' => '/webroot/about/', 'REMOTE_ADDR' => '54.145.183.34', 'REMOTE_PORT' => '57160', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/about/', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'SCRIPT_URL' => '/about/', 'SERVER_ADDR' => '172.26.3.42', 'SERVER_ADMIN' => 'webmaster@nhpassist.ndassist.com', 'SERVER_NAME' => 'www.nhpassist.com', 'SERVER_PORT' => '443', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SSL_TLS_SNI' => 'www.nhpassist.com', 'TZ' => 'UTC', 'UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711690619.1081, 'REQUEST_TIME' => (int) 1711690619, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'about/' [protected] base => '' [protected] webroot => '/' [protected] here => '/about/' [protected] trustedProxies => [] [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 => 'www.nhpassist.com' [private] port => null [private] path => '/about/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
} |
|
$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 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 2 => object(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) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'CONTEXT_DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'CONTEXT_PREFIX' => '', 'DOCUMENT_ROOT' => '/home/ndassist/nhpassist.com', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '3050554-571-3', 'HTTP2' => 'on', 'HTTPS' => 'on', 'HTTP_ACCEPT' => '*/*', 'HTTP_HOST' => 'www.nhpassist.com', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_X_HTTPS' => '1', 'PATH' => '/bin:/usr/bin', 'PHP_INI_SCAN_DIR' => '/opt/cpanel/ea-php74/root/etc:/opt/cpanel/ea-php74/root/etc/php.d:.', 'QUERY_STRING' => '', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '3050554-571-3', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '3050554-571-3', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/about/', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'REDIRECT_SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'REDIRECT_SCRIPT_URL' => '/about/', 'REDIRECT_SSL_TLS_SNI' => 'www.nhpassist.com', 'REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'REDIRECT_URL' => '/webroot/about/', 'REMOTE_ADDR' => '54.145.183.34', 'REMOTE_PORT' => '57160', 'REQUEST_METHOD' => 'GET', 'REQUEST_SCHEME' => 'https', 'REQUEST_URI' => '/about/', 'SCRIPT_FILENAME' => '/home/ndassist/nhpassist.com/webroot/index.php', 'SCRIPT_NAME' => '/webroot/index.php', 'SCRIPT_URI' => 'https://www.nhpassist.com/about/', 'SCRIPT_URL' => '/about/', 'SERVER_ADDR' => '172.26.3.42', 'SERVER_ADMIN' => 'webmaster@nhpassist.ndassist.com', 'SERVER_NAME' => 'www.nhpassist.com', 'SERVER_PORT' => '443', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SSL_TLS_SNI' => 'www.nhpassist.com', 'TZ' => 'UTC', 'UNIQUE_ID' => 'ZgZTeyKozx716g0t9vpH8QAAlBQ', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711690619.1081, 'REQUEST_TIME' => (int) 1711690619, 'argv' => [], 'argc' => (int) 0, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'about/' [protected] base => '' [protected] webroot => '/' [protected] here => '/about/' [protected] trustedProxies => [] [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 => 'www.nhpassist.com' [private] port => null [private] path => '/about/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 1440 [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
// 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()); |
|
|
No arguments
Error: Create CmssController::about() in file: src/Controller/CmssController.php.
<?php
namespace App\Controller;
use App\Controller\AppController;
class CmssController extends AppController
{
public function about()
{
}
}
If you want to customize this error message, create src/Template/Error/missing_action.ctp