The action detail is not defined in EventsController
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\EventsController) { paginate => [ 'limit' => (int) 5, 'order' => [ 'Pages.title' => 'asc' ] ] helpers => [] 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 => 'child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [protected] base => '' [protected] webroot => '/' [protected] here => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [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' => '' } components => [] View => null passedArgs => [ (int) 0 => '6279/rock-n-roll-dance/' ] modelClass => 'Events' viewClass => null viewVars => [] RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } SiteConfig => object(App\Model\Table\SiteConfigTable) { 'registryAlias' => 'App.SiteConfig', 'table' => 'site_config', 'alias' => 'SiteConfig', 'entityClass' => 'App\Model\Entity\SiteConfig', 'associations' => [ [maximum depth reached] ], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } Pages => object(App\Model\Table\PagesTable) { 'registryAlias' => 'App.Pages', 'table' => 'pages', 'alias' => 'Pages', 'entityClass' => 'App\Model\Entity\Page', 'associations' => [[maximum depth reached]], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } NavMenus => object(App\Model\Table\NavMenusTable) { 'registryAlias' => 'App.NavMenus', 'table' => 'nav_menus', 'alias' => 'NavMenus', 'entityClass' => 'App\Model\Entity\NavMenu', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } AlertBanners => object(App\Model\Table\AlertBannersTable) { 'registryAlias' => 'App.AlertBanners', 'table' => 'alert_banners', 'alias' => 'AlertBanners', 'entityClass' => 'Cake\ORM\Entity', 'associations' => [[maximum depth reached]], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } DonationCampaigns => object(App\Model\Table\DonationCampaignsTable) { 'registryAlias' => 'App.DonationCampaigns', 'table' => 'donation_campaigns', 'alias' => 'DonationCampaigns', 'entityClass' => 'App\Model\Entity\DonationCampaign', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } Flash => object(Cake\Controller\Component\FlashComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } Paginator => object(Cake\Controller\Component\PaginatorComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } EventRegistrations => object(App\Model\Table\EventRegistrationsTable) { 'registryAlias' => 'EventRegistrations', 'table' => 'event_registrations', 'alias' => 'EventRegistrations', 'entityClass' => 'App\Model\Entity\EventRegistration', 'associations' => [[maximum depth reached]], 'behaviors' => [[maximum depth reached]], 'defaultConnection' => 'default', 'connectionName' => 'default' } [protected] name => 'Events' [protected] _responseClass => 'Cake\Http\Response' [protected] autoRender => true [protected] _components => object(Cake\Controller\ComponentRegistry) { '_Controller' => object(App\Controller\EventsController) {}, '_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] locations => [ [maximum depth reached] ] [protected] _config => [[maximum depth reached]] [protected] _instances => [ [maximum depth reached] ] [protected] _fallbacked => [[maximum depth reached]] [protected] _options => [ [maximum depth reached] ] } [protected] _modelFactories => [ 'Table' => [ (int) 0 => object(Cake\ORM\Locator\TableLocator) {}, (int) 1 => 'get' ] ] [protected] _modelType => 'Table' [protected] _viewBuilder => null [private] paCounties => [ '' => '--- Select ---', 'Allegheny County' => 'Allegheny County', 'Armstrong County' => 'Armstrong County', 'Beaver County' => 'Beaver County', 'Berks County' => 'Berks County', 'Bradford County' => 'Bradford County', 'Bucks County' => 'Bucks County', 'Butler County' => 'Butler County', 'Cambria County' => 'Cambria County', 'Centre County' => 'Centre County', 'Chester County' => 'Chester County', 'Clarion County' => 'Clarion County', 'Clearfield County' => 'Clearfield County', 'Clinton County' => 'Clinton County', 'Columbia County' => 'Columbia County', 'Crawford County' => 'Crawford County', 'Cumberland County' => 'Cumberland County', 'Dauphin County' => 'Dauphin County', 'Delaware County' => 'Delaware County', 'Elk County' => 'Elk County', 'Erie County' => 'Erie County', 'Fayette County' => 'Fayette County', 'Forest County' => 'Forest County', 'Franklin County' => 'Franklin County', 'Greene County' => 'Greene County', 'Huntingdon County' => 'Huntingdon County', 'Indiana County' => 'Indiana County', 'Jefferson County' => 'Jefferson County', 'Juniata County' => 'Juniata County', 'Lawrence County' => 'Lawrence County', 'Lebanon County' => 'Lebanon County', 'Lehigh County' => 'Lehigh County', 'Luzerne County' => 'Luzerne County', 'Lycoming County' => 'Lycoming County', 'Mercer County' => 'Mercer County', 'Mifflin County' => 'Mifflin County', 'Monroe County' => 'Monroe County', 'Montgomery County' => 'Montgomery County', 'Montour County' => 'Montour County', 'Northampton County' => 'Northampton County', 'Northumberland County' => 'Northumberland County', 'Perry County' => 'Perry County', 'Philadelphia County' => 'Philadelphia County', 'Potter County' => 'Potter County', 'Schuylkill County' => 'Schuylkill County', 'Snyder County' => 'Snyder County', 'Somerset County' => 'Somerset County', 'Sullivan County' => 'Sullivan County', 'Susquehanna County' => 'Susquehanna County', 'Tioga County' => 'Tioga County', 'Union County' => 'Union County', 'Venango County' => 'Venango County', 'Washington County' => 'Washington County', 'Wayne County' => 'Wayne County', 'Westmoreland County' => 'Westmoreland County', 'Wyoming County' => 'Wyoming County', 'York County' => 'York County' ] }
* @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 => [ 'slug' => 'child-family-community-ministries', 'action' => 'detail', 'pass' => [ (int) 0 => '6279/rock-n-roll-dance/' ], 'controller' => 'Events', 'plugin' => null, '_matchedRoute' => '/:slug/events/:action/**', 'site_id' => (int) 9, '_ext' => null, '_csrfToken' => '2f0c2c72dc4747e1b7e1186deacafec2344cc04410aa749e5a9f6d4cb99c9c7bf64cf357691d5166cbc87b42bc5a513d2e7f53a266995a4fa5e2f01f48674703' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'diakon_ads_user', 'HOME' => '/var/www/vhosts/diakon.sharpbeta.com', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'REMOTE_PORT' => '35326', 'SCRIPT_FILENAME' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'REMOTE_ADDR' => '209.249.147.60', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '206.188.0.59', 'SERVER_NAME' => 'www.diakon.org', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'http://www.diakon.org/child-family-community-ministries/events/detail/6279/rock-n-roll-dance', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_FORWARDED_FOR' => '3.81.165.210', 'HTTP_X_REAL_IP' => '209.249.147.60', 'HTTP_HOST' => 'www.diakon.org', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711727964.6852, 'REQUEST_TIME' => (int) 1711727964, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [protected] base => '' [protected] webroot => '/' [protected] here => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [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 => [ '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.diakon.org' [private] port => null [private] path => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 3600 [protected] _isCLI => false } [protected] attributes => [ 'identity' => null, 'authentication' => object(Authentication\AuthenticationService) {}, 'authenticationResult' => object(Authentication\Authenticator\Result) {} ] [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 => [ 'slug' => 'child-family-community-ministries', 'action' => 'detail', 'pass' => [ (int) 0 => '6279/rock-n-roll-dance/' ], 'controller' => 'Events', 'plugin' => null, '_matchedRoute' => '/:slug/events/:action/**', 'site_id' => (int) 9, '_ext' => null, '_csrfToken' => '2f0c2c72dc4747e1b7e1186deacafec2344cc04410aa749e5a9f6d4cb99c9c7bf64cf357691d5166cbc87b42bc5a513d2e7f53a266995a4fa5e2f01f48674703' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'diakon_ads_user', 'HOME' => '/var/www/vhosts/diakon.sharpbeta.com', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'REMOTE_PORT' => '35326', 'SCRIPT_FILENAME' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'REMOTE_ADDR' => '209.249.147.60', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '206.188.0.59', 'SERVER_NAME' => 'www.diakon.org', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'http://www.diakon.org/child-family-community-ministries/events/detail/6279/rock-n-roll-dance', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_FORWARDED_FOR' => '3.81.165.210', 'HTTP_X_REAL_IP' => '209.249.147.60', 'HTTP_HOST' => 'www.diakon.org', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711727964.6852, 'REQUEST_TIME' => (int) 1711727964, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [protected] base => '' [protected] webroot => '/' [protected] here => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [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 => [ '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.diakon.org' [private] port => null [private] path => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 3600 [protected] _isCLI => false } [protected] attributes => [ 'identity' => null, 'authentication' => object(Authentication\AuthenticationService) {}, 'authenticationResult' => object(Authentication\Authenticator\Result) {} ] [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) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
|
|
$response = $result['response']; |
|
|
|
try { |
|
$response = $next($request, $response); |
|
|
|
$authenticator = $service->getAuthenticationProvider(); |
|
if ($authenticator !== null && !($authenticator instanceof StatelessInterface)) { |
|
$requestResponse = $service->persistIdentity( |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'slug' => 'child-family-community-ministries', 'action' => 'detail', 'pass' => [ (int) 0 => '6279/rock-n-roll-dance/' ], 'controller' => 'Events', 'plugin' => null, '_matchedRoute' => '/:slug/events/:action/**', 'site_id' => (int) 9, '_ext' => null, '_csrfToken' => '2f0c2c72dc4747e1b7e1186deacafec2344cc04410aa749e5a9f6d4cb99c9c7bf64cf357691d5166cbc87b42bc5a513d2e7f53a266995a4fa5e2f01f48674703' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'diakon_ads_user', 'HOME' => '/var/www/vhosts/diakon.sharpbeta.com', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'REMOTE_PORT' => '35326', 'SCRIPT_FILENAME' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'REMOTE_ADDR' => '209.249.147.60', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '206.188.0.59', 'SERVER_NAME' => 'www.diakon.org', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'http://www.diakon.org/child-family-community-ministries/events/detail/6279/rock-n-roll-dance', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_FORWARDED_FOR' => '3.81.165.210', 'HTTP_X_REAL_IP' => '209.249.147.60', 'HTTP_HOST' => 'www.diakon.org', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711727964.6852, 'REQUEST_TIME' => (int) 1711727964, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [protected] base => '' [protected] webroot => '/' [protected] here => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [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 => [ '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.diakon.org' [private] port => null [private] path => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 3600 [protected] _isCLI => false } [protected] attributes => [ 'identity' => null, 'authentication' => object(Authentication\AuthenticationService) {}, 'authenticationResult' => object(Authentication\Authenticator\Result) {} ] [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 => [ 'slug' => 'child-family-community-ministries', 'action' => 'detail', 'pass' => [ (int) 0 => '6279/rock-n-roll-dance/' ], 'controller' => 'Events', 'plugin' => null, '_matchedRoute' => '/:slug/events/:action/**', 'site_id' => (int) 9, '_ext' => null, '_csrfToken' => '2f0c2c72dc4747e1b7e1186deacafec2344cc04410aa749e5a9f6d4cb99c9c7bf64cf357691d5166cbc87b42bc5a513d2e7f53a266995a4fa5e2f01f48674703' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'diakon_ads_user', 'HOME' => '/var/www/vhosts/diakon.sharpbeta.com', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'REMOTE_PORT' => '35326', 'SCRIPT_FILENAME' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'REMOTE_ADDR' => '209.249.147.60', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '206.188.0.59', 'SERVER_NAME' => 'www.diakon.org', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'http://www.diakon.org/child-family-community-ministries/events/detail/6279/rock-n-roll-dance', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_FORWARDED_FOR' => '3.81.165.210', 'HTTP_X_REAL_IP' => '209.249.147.60', 'HTTP_HOST' => 'www.diakon.org', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711727964.6852, 'REQUEST_TIME' => (int) 1711727964, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [protected] base => '' [protected] webroot => '/' [protected] here => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [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 => [ '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.diakon.org' [private] port => null [private] path => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 3600 [protected] _isCLI => false } [protected] attributes => [ 'identity' => null, 'authentication' => object(Authentication\AuthenticationService) {}, 'authenticationResult' => object(Authentication\Authenticator\Result) {} ] [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) 5 [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 => [ 'slug' => 'child-family-community-ministries', 'action' => 'detail', 'pass' => [ (int) 0 => '6279/rock-n-roll-dance/' ], 'controller' => 'Events', 'plugin' => null, '_matchedRoute' => '/:slug/events/:action/**', 'site_id' => (int) 9, '_ext' => null, '_csrfToken' => '2f0c2c72dc4747e1b7e1186deacafec2344cc04410aa749e5a9f6d4cb99c9c7bf64cf357691d5166cbc87b42bc5a513d2e7f53a266995a4fa5e2f01f48674703' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'diakon_ads_user', 'HOME' => '/var/www/vhosts/diakon.sharpbeta.com', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'REMOTE_PORT' => '35326', 'SCRIPT_FILENAME' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'REMOTE_ADDR' => '209.249.147.60', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '206.188.0.59', 'SERVER_NAME' => 'www.diakon.org', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'http://www.diakon.org/child-family-community-ministries/events/detail/6279/rock-n-roll-dance', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_FORWARDED_FOR' => '3.81.165.210', 'HTTP_X_REAL_IP' => '209.249.147.60', 'HTTP_HOST' => 'www.diakon.org', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711727964.6852, 'REQUEST_TIME' => (int) 1711727964, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [protected] base => '' [protected] webroot => '/' [protected] here => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [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.diakon.org' [private] port => null [private] path => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 3600 [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 => [ 'slug' => 'child-family-community-ministries', 'action' => 'detail', 'pass' => [ (int) 0 => '6279/rock-n-roll-dance/' ], 'controller' => 'Events', 'plugin' => null, '_matchedRoute' => '/:slug/events/:action/**', 'site_id' => (int) 9, '_ext' => null, '_csrfToken' => '2f0c2c72dc4747e1b7e1186deacafec2344cc04410aa749e5a9f6d4cb99c9c7bf64cf357691d5166cbc87b42bc5a513d2e7f53a266995a4fa5e2f01f48674703' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'diakon_ads_user', 'HOME' => '/var/www/vhosts/diakon.sharpbeta.com', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'REMOTE_PORT' => '35326', 'SCRIPT_FILENAME' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'REMOTE_ADDR' => '209.249.147.60', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '206.188.0.59', 'SERVER_NAME' => 'www.diakon.org', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'http://www.diakon.org/child-family-community-ministries/events/detail/6279/rock-n-roll-dance', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_FORWARDED_FOR' => '3.81.165.210', 'HTTP_X_REAL_IP' => '209.249.147.60', 'HTTP_HOST' => 'www.diakon.org', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711727964.6852, 'REQUEST_TIME' => (int) 1711727964, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [protected] base => '' [protected] webroot => '/' [protected] here => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [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.diakon.org' [private] port => null [private] path => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 3600 [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 => [ 'slug' => 'child-family-community-ministries', 'action' => 'detail', 'pass' => [ (int) 0 => '6279/rock-n-roll-dance/' ], 'controller' => 'Events', 'plugin' => null, '_matchedRoute' => '/:slug/events/:action/**', 'site_id' => (int) 9, '_ext' => null, '_csrfToken' => '2f0c2c72dc4747e1b7e1186deacafec2344cc04410aa749e5a9f6d4cb99c9c7bf64cf357691d5166cbc87b42bc5a513d2e7f53a266995a4fa5e2f01f48674703' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'diakon_ads_user', 'HOME' => '/var/www/vhosts/diakon.sharpbeta.com', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'REMOTE_PORT' => '35326', 'SCRIPT_FILENAME' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'REMOTE_ADDR' => '209.249.147.60', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '206.188.0.59', 'SERVER_NAME' => 'www.diakon.org', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'http://www.diakon.org/child-family-community-ministries/events/detail/6279/rock-n-roll-dance', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_FORWARDED_FOR' => '3.81.165.210', 'HTTP_X_REAL_IP' => '209.249.147.60', 'HTTP_HOST' => 'www.diakon.org', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711727964.6852, 'REQUEST_TIME' => (int) 1711727964, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [protected] base => '' [protected] webroot => '/' [protected] here => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [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.diakon.org' [private] port => null [private] path => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 3600 [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 => [ 'slug' => 'child-family-community-ministries', 'action' => 'detail', 'pass' => [ (int) 0 => '6279/rock-n-roll-dance/' ], 'controller' => 'Events', 'plugin' => null, '_matchedRoute' => '/:slug/events/:action/**', 'site_id' => (int) 9, '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'diakon_ads_user', 'HOME' => '/var/www/vhosts/diakon.sharpbeta.com', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'REMOTE_PORT' => '35326', 'SCRIPT_FILENAME' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'REMOTE_ADDR' => '209.249.147.60', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '206.188.0.59', 'SERVER_NAME' => 'www.diakon.org', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'http://www.diakon.org/child-family-community-ministries/events/detail/6279/rock-n-roll-dance', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_FORWARDED_FOR' => '3.81.165.210', 'HTTP_X_REAL_IP' => '209.249.147.60', 'HTTP_HOST' => 'www.diakon.org', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711727964.6852, 'REQUEST_TIME' => (int) 1711727964, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [protected] base => '' [protected] webroot => '/' [protected] here => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [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.diakon.org' [private] port => null [private] path => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 3600 [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 => [ 'slug' => 'child-family-community-ministries', 'action' => 'detail', 'pass' => [ (int) 0 => '6279/rock-n-roll-dance/' ], 'controller' => 'Events', 'plugin' => null, '_matchedRoute' => '/:slug/events/:action/**', 'site_id' => (int) 9, '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'diakon_ads_user', 'HOME' => '/var/www/vhosts/diakon.sharpbeta.com', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'REMOTE_PORT' => '35326', 'SCRIPT_FILENAME' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'REMOTE_ADDR' => '209.249.147.60', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '206.188.0.59', 'SERVER_NAME' => 'www.diakon.org', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'http://www.diakon.org/child-family-community-ministries/events/detail/6279/rock-n-roll-dance', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_FORWARDED_FOR' => '3.81.165.210', 'HTTP_X_REAL_IP' => '209.249.147.60', 'HTTP_HOST' => 'www.diakon.org', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711727964.6852, 'REQUEST_TIME' => (int) 1711727964, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [protected] base => '' [protected] webroot => '/' [protected] here => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [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.diakon.org' [private] port => null [private] path => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 3600 [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 => [ 'slug' => 'child-family-community-ministries', 'action' => 'detail', 'pass' => [ (int) 0 => '6279/rock-n-roll-dance/' ], 'controller' => 'Events', 'plugin' => null, '_matchedRoute' => '/:slug/events/:action/**', 'site_id' => (int) 9, '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'USER' => 'diakon_ads_user', 'HOME' => '/var/www/vhosts/diakon.sharpbeta.com', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'REMOTE_PORT' => '35326', 'SCRIPT_FILENAME' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'REMOTE_ADDR' => '209.249.147.60', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '206.188.0.59', 'SERVER_NAME' => 'www.diakon.org', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'http://www.diakon.org/child-family-community-ministries/events/detail/6279/rock-n-roll-dance', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_FORWARDED_FOR' => '3.81.165.210', 'HTTP_X_REAL_IP' => '209.249.147.60', 'HTTP_HOST' => 'www.diakon.org', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711727964.6852, 'REQUEST_TIME' => (int) 1711727964, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [protected] base => '' [protected] webroot => '/' [protected] here => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [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.diakon.org' [private] port => null [private] path => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 3600 [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) 5 [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 => [ 'USER' => 'diakon_ads_user', 'HOME' => '/var/www/vhosts/diakon.sharpbeta.com', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'REMOTE_PORT' => '35326', 'SCRIPT_FILENAME' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'REMOTE_ADDR' => '209.249.147.60', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '206.188.0.59', 'SERVER_NAME' => 'www.diakon.org', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'http://www.diakon.org/child-family-community-ministries/events/detail/6279/rock-n-roll-dance', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_FORWARDED_FOR' => '3.81.165.210', 'HTTP_X_REAL_IP' => '209.249.147.60', 'HTTP_HOST' => 'www.diakon.org', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711727964.6852, 'REQUEST_TIME' => (int) 1711727964, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [protected] base => '' [protected] webroot => '/' [protected] here => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [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.diakon.org' [private] port => null [private] path => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 3600 [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 => [ 'USER' => 'diakon_ads_user', 'HOME' => '/var/www/vhosts/diakon.sharpbeta.com', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'REMOTE_PORT' => '35326', 'SCRIPT_FILENAME' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'REMOTE_ADDR' => '209.249.147.60', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '206.188.0.59', 'SERVER_NAME' => 'www.diakon.org', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'http://www.diakon.org/child-family-community-ministries/events/detail/6279/rock-n-roll-dance', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_FORWARDED_FOR' => '3.81.165.210', 'HTTP_X_REAL_IP' => '209.249.147.60', 'HTTP_HOST' => 'www.diakon.org', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711727964.6852, 'REQUEST_TIME' => (int) 1711727964, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [protected] base => '' [protected] webroot => '/' [protected] here => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [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.diakon.org' [private] port => null [private] path => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 3600 [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) 5 [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 => [ 'USER' => 'diakon_ads_user', 'HOME' => '/var/www/vhosts/diakon.sharpbeta.com', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'REMOTE_PORT' => '35326', 'SCRIPT_FILENAME' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'REMOTE_ADDR' => '209.249.147.60', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '206.188.0.59', 'SERVER_NAME' => 'www.diakon.org', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'http://www.diakon.org/child-family-community-ministries/events/detail/6279/rock-n-roll-dance', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_FORWARDED_FOR' => '3.81.165.210', 'HTTP_X_REAL_IP' => '209.249.147.60', 'HTTP_HOST' => 'www.diakon.org', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711727964.6852, 'REQUEST_TIME' => (int) 1711727964, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [protected] base => '' [protected] webroot => '/' [protected] here => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [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.diakon.org' [private] port => null [private] path => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 3600 [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 => [ 'USER' => 'diakon_ads_user', 'HOME' => '/var/www/vhosts/diakon.sharpbeta.com', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'REMOTE_PORT' => '35326', 'SCRIPT_FILENAME' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'REMOTE_ADDR' => '209.249.147.60', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '206.188.0.59', 'SERVER_NAME' => 'www.diakon.org', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'http://www.diakon.org/child-family-community-ministries/events/detail/6279/rock-n-roll-dance', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_FORWARDED_FOR' => '3.81.165.210', 'HTTP_X_REAL_IP' => '209.249.147.60', 'HTTP_HOST' => 'www.diakon.org', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711727964.6852, 'REQUEST_TIME' => (int) 1711727964, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [protected] base => '' [protected] webroot => '/' [protected] here => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [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.diakon.org' [private] port => null [private] path => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 3600 [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) 5 [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 => [ 'USER' => 'diakon_ads_user', 'HOME' => '/var/www/vhosts/diakon.sharpbeta.com', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'REMOTE_PORT' => '35326', 'SCRIPT_FILENAME' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'REMOTE_ADDR' => '209.249.147.60', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '206.188.0.59', 'SERVER_NAME' => 'www.diakon.org', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'http://www.diakon.org/child-family-community-ministries/events/detail/6279/rock-n-roll-dance', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_FORWARDED_FOR' => '3.81.165.210', 'HTTP_X_REAL_IP' => '209.249.147.60', 'HTTP_HOST' => 'www.diakon.org', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711727964.6852, 'REQUEST_TIME' => (int) 1711727964, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [protected] base => '' [protected] webroot => '/' [protected] here => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [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.diakon.org' [private] port => null [private] path => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 3600 [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(Authentication\Middleware\AuthenticationMiddleware) {}, (int) 4 => 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(Authentication\Middleware\AuthenticationMiddleware) {}, (int) 4 => 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 => [ 'USER' => 'diakon_ads_user', 'HOME' => '/var/www/vhosts/diakon.sharpbeta.com', 'SCRIPT_NAME' => '/index.php', 'REQUEST_URI' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'QUERY_STRING' => '', 'REQUEST_METHOD' => 'GET', 'SERVER_PROTOCOL' => 'HTTP/1.0', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'REDIRECT_URL' => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/', 'REMOTE_PORT' => '35326', 'SCRIPT_FILENAME' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot/index.php', 'SERVER_ADMIN' => 'root@localhost', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'CONTEXT_PREFIX' => '', 'REQUEST_SCHEME' => 'https', 'DOCUMENT_ROOT' => '/var/www/vhosts/diakon.sharpbeta.com/diakon.org/webroot', 'REMOTE_ADDR' => '209.249.147.60', 'SERVER_PORT' => '443', 'SERVER_ADDR' => '206.188.0.59', 'SERVER_NAME' => 'www.diakon.org', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_SIGNATURE' => '', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin', 'HTTP_REFERER' => 'http://www.diakon.org/child-family-community-ministries/events/detail/6279/rock-n-roll-dance', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_ACCEPT' => '*/*', 'HTTP_X_FORWARDED_PROTO' => 'https', 'HTTP_CONNECTION' => 'close', 'HTTP_X_ACCEL_INTERNAL' => '/internal-nginx-static-location', 'HTTP_X_FORWARDED_FOR' => '3.81.165.210', 'HTTP_X_REAL_IP' => '209.249.147.60', 'HTTP_HOST' => 'www.diakon.org', 'proxy-nokeepalive' => '1', 'HTTPS' => 'on', 'UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_UNIQUE_ID' => 'ZgblXNhfZVwaTnhTCsnVawAAA4g', 'FCGI_ROLE' => 'RESPONDER', 'PHP_SELF' => '/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711727964.6852, 'REQUEST_TIME' => (int) 1711727964, 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [protected] base => '' [protected] webroot => '/' [protected] here => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [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.diakon.org' [private] port => null [private] path => '/child-family-community-ministries/events/detail/6279/rock-n-roll-dance/' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => (int) 3600 [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' => '' }
//echo "path - " . dirname(__DIR__) . '/config'; |
|
//die(); |
|
$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 EventsController::detail() in file: src/Controller/EventsController.php.
<?php
namespace App\Controller;
use App\Controller\AppController;
class EventsController extends AppController
{
public function detail()
{
}
}
If you want to customize this error message, create src/Template/Error/missing_action.ctp