Notice (8): Undefined index: start [ROOT/plugins/EventManager/src/Controller/EventsController.php, line 189]Code Context
//fullcalendar 2-3 (need to convert start and end date from date format to unix format)
$vars['start'] = strtotime($vars['start']);
$vars = []EventManager\Controller\EventsController::eventsFeed() - ROOT/plugins/EventManager/src/Controller/EventsController.php, line 189 Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 435 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 122 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 96 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 83 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 62 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 81 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51 Cake\Http\Server::run() - CORE/src/Http/Server.php, line 92 [main] - ROOT/webroot/index.php, line 37
Notice (8): Undefined index: end [ROOT/plugins/EventManager/src/Controller/EventsController.php, line 190]Code Context//fullcalendar 2-3 (need to convert start and end date from date format to unix format)
$vars['start'] = strtotime($vars['start']);
$vars['end'] = strtotime($vars['end']);
$vars = [ 'start' => false ]EventManager\Controller\EventsController::eventsFeed() - ROOT/plugins/EventManager/src/Controller/EventsController.php, line 190 Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 435 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 122 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 96 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 83 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 62 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 81 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51 Cake\Http\Server::run() - CORE/src/Http/Server.php, line 92 [main] - ROOT/webroot/index.php, line 37
Warning (512): Unable to emit headers. Headers sent in file=/home2/victoryslu/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php line=753 [CORE/src/Http/ResponseEmitter.php, line 48]Code Context$message = "Unable to emit headers. Headers sent in file=$file line=$line";
if (Configure::read('debug')) {
trigger_error($message, E_USER_WARNING);
$response = object(Zend\Diactoros\Response) { [protected] headers => [ 'Content-Type' => [ [maximum depth reached] ] ] [protected] headerNames => [ 'content-type' => 'Content-Type' ] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => '' [private] statusCode => (int) 500 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) {} } $maxBufferLength = (int) 8192 $file = '/home2/victoryslu/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php' $line = (int) 753 $message = 'Unable to emit headers. Headers sent in file=/home2/victoryslu/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php line=753'Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 48 Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 118 [main] - ROOT/webroot/index.php, line 37
Warning (2): Cannot modify header information - headers already sent by (output started at /home2/victoryslu/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:753) [CORE/src/Http/ResponseEmitter.php, line 145]Code Context$response->getProtocolVersion(),
$response->getStatusCode(),
($reasonPhrase ? ' ' . $reasonPhrase : '')
$response = object(Zend\Diactoros\Response) { [protected] headers => [ 'Content-Type' => [ [maximum depth reached] ] ] [protected] headerNames => [ 'content-type' => 'Content-Type' ] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => 'Internal Server Error' [private] statusCode => (int) 500 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) {} } $reasonPhrase = 'Internal Server Error'header - [internal], line ?? Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 145 Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 54 Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 118 [main] - ROOT/webroot/index.php, line 37
Warning (2): Cannot modify header information - headers already sent by (output started at /home2/victoryslu/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:753) [CORE/src/Http/ResponseEmitter.php, line 173]Code Context$name,
$value
), $first);
$response = object(Zend\Diactoros\Response) { [protected] headers => [ 'Content-Type' => [ [maximum depth reached] ] ] [protected] headerNames => [ 'content-type' => 'Content-Type' ] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => 'Internal Server Error' [private] statusCode => (int) 500 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) {} } $values = [ (int) 0 => 'text/html; charset=UTF-8' ] $name = 'Content-Type' $first = true $value = 'text/html; charset=UTF-8'header - [internal], line ?? Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 173 Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 55 Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 118 [main] - ROOT/webroot/index.php, line 37
Error: The view for EventsController::eventsFeed() was not found.
$defaultLayout = $this->layout; |
|
$this->layout = $layout; |
|
} |
|
|
|
$viewFileName = $view !== false ? $this->_getViewFileName($view) : null; |
|
if ($viewFileName) { |
|
$this->_currentType = static::TYPE_TEMPLATE; |
|
$this->dispatchEvent('View.beforeRender', [$viewFileName]); |
|
$this->Blocks->set('content', $this->_render($viewFileName)); |
'Events/events_feed'
$builder->template($this->request->params['action']); |
|
} |
|
|
|
$this->View = $this->createView(); |
|
$this->response->body($this->View->render($view, $layout)); |
|
|
|
return $this->response; |
|
} |
|
|
null null
throw new LogicException('Controller actions can only return Cake\Network\Response or null.'); |
|
} |
|
|
|
if (!$response && $controller->autoRender) { |
|
$response = $controller->render(); |
|
} elseif (!$response) { |
|
$response = $controller->response; |
|
} |
|
|
No arguments
} else { |
|
$controller = $this->factory->create($request, $response); |
|
} |
|
|
|
$response = $this->_invoke($controller); |
|
if (isset($request->params['return'])) { |
|
return $response; |
|
} |
|
|
object(EventManager\Controller\EventsController) { name => 'Events' paginate => [ 'limit' => (int) 15, 'page' => (int) 1 ] components => [ 'Acl' => [ 'className' => 'Acl.Acl' ] ] helpers => [] request => object(Cake\Network\Request) { params => [ [maximum depth reached] ] data => [[maximum depth reached]] query => [[maximum depth reached]] cookies => [[maximum depth reached]] url => 'event-manager/events/events-feed' base => '' webroot => '/' here => '/event-manager/events/events-feed' trustProxy => false [protected] _environment => [ [maximum depth reached] ] [protected] _detectors => [ [maximum depth reached] ] [protected] _detectorCache => [ [maximum depth reached] ] [protected] _input => '' [protected] _session => object(Cake\Network\Session) {} } response => object(Cake\Network\Response) { [protected] _statusCodes => [ [maximum depth reached] ] [protected] _mimeTypes => [ [maximum depth reached] ] [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => [[maximum depth reached]] [protected] _body => '' [protected] _file => null [protected] _fileRange => [[maximum depth reached]] [protected] _charset => 'UTF-8' [protected] _cacheDirectives => [[maximum depth reached]] [protected] _cookies => [[maximum depth reached]] } autoRender => false View => object(Main\View\AjaxView) { layout => 'ajax' Blocks => object(Cake\View\ViewBlock) {} plugin => 'EventManager' name => 'Events' passedArgs => [[maximum depth reached]] helpers => [[maximum depth reached]] templatePath => 'Events' template => 'eventsFeed' layoutPath => null autoLayout => true subDir => null theme => 'Main' hasRendered => false uuids => [[maximum depth reached]] request => object(Cake\Network\Request) {} response => object(Cake\Network\Response) {} elementCache => 'default' viewClass => null viewVars => [ [maximum depth reached] ] [protected] _helpers => object(Cake\View\HelperRegistry) {} [protected] _ext => '.ctp' [protected] _passedVars => [ [maximum depth reached] ] [protected] _paths => [[maximum depth reached]] [protected] _pathsForPlugin => [ [maximum depth reached] ] [protected] _parents => [[maximum depth reached]] [protected] _current => null [protected] _currentType => '' [protected] _stack => [[maximum depth reached]] [protected] _eventManager => object(Cake\Event\EventManager) {} [protected] _eventClass => '\Cake\Event\Event' [protected] _viewBuilder => null } plugin => 'EventManager' passedArgs => [] modelClass => 'EventManager.Events' viewClass => null viewVars => [ 'json' => '[]', 'notes' => object(Cake\ORM\Query) {}, 'site_settings' => object(ContentManager\Model\Entity\SiteSetting) {}, 'action' => false, 'plural_title' => 'Events', 'singular_title' => 'Event', 'table' => 'Events', 'entity' => 'Event', 'model' => 'Event', 'controller' => 'events' ] RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } Flash => object(Cake\Controller\Component\FlashComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } Auth => object(Cake\Controller\Component\AuthComponent) { 'components' => [ [maximum depth reached] ], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } Security => object(Cake\Controller\Component\SecurityComponent) { '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] ] } ForceDownload => object(App\Controller\Component\ForceDownloadComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [[maximum depth reached]] } Acl => object(Acl\Controller\Component\AclComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } controller => 'events' model => 'Event' entity => 'Event' table => 'Events' singular_title => 'Event' plural_title => 'Events' SiteSettings => object(ContentManager\Model\Table\SiteSettingsTable) { 'registryAlias' => 'ContentManager.SiteSettings', 'table' => 'site_settings', 'alias' => 'SiteSettings', 'entityClass' => 'ContentManager\Model\Entity\SiteSetting', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } site_settings => object(ContentManager\Model\Entity\SiteSetting) { 'id' => (int) 1, 'background_image_path' => 'files/siteSettings/images/resized for website.jpg', 'home_intro_background_image_path' => '', 'background_color' => '#E5E9EC', 'website_name' => 'Victory Pentecostal Church', 'welcome_message' => null, 'alert_title' => 'Announcement', 'alert_message' => '<p>Join us every Sunday morning at 8:00 a.m. in-house or via FaceBook or YouTube for our Sunday Worship Service. </p>', 'tagline' => 'We craft artful <strong>Solutions</strong> for...<br/>websites, database applications & mobile devices', 'meta_description' => null, 'meta_keywords' => null, 'welcome_message_title' => null, 'welcome_message_body' => '<h1 class="h1"><span class="highlight">CAREFULLY CRAFTED DECORATIVE WALL PANELS</span> TO ENHANCE ANY SPACE</h1> <p>Concrete designs are one of the hot new trends for concrete patios, concrete floors, entryways, countertops, bathrooms and kitchen backsplashes and more. <br /> <br /> We can help you install elaborate concrete faux stone veneer, stone veneer panels and other wall panels to create a stunning impression. Concrete is no longer plain, grey and boring, it is now thought of as a beautiful decorative element that can be molded to suit your needs. <br /> <br /> Recognize the value in using concrete in your designs; use our concrete panels to transform traditional walls into handcrafted textured walls with expensive stone looking cladding or detailed mosaic designs to render that aged or modern look..</p>', 'allow_new_user_login' => true, 'featured_video_id' => null, 'featured_image_id' => null, 'client_id' => null, 'facebook_url' => 'https://www.facebook.com/vpc.vic', 'twitter_url' => 'https://twitter.com/victorystlucia', 'youtube_url' => 'https://www.youtube.com/', 'google_plus_url' => 'https://www.youtube.com/channel/UCGGN1Wq7yIDhRGWZsISOaTw', 'pinterest_url' => '', 'copyright' => null, 'notification_email' => 'victorypentecostal@hotmail.com', 'developer_email' => 'jwilson@emagine.lc', 'contact_form_email' => 'victorypentecostal@hotmail.com', 'phone_1' => '758 454-6318', 'phone_2' => '', 'mobile' => '', 'fax' => '', 'email_address_1' => 'victorypentecostal@hotmail.com', 'email_address_2' => '', 'address_line_1' => 'St. Jude Highway, P.O. Box 549 GWS LC12 101', 'address_line_2' => '', 'city' => 'Vieux Fort ', 'state_province' => '', 'country' => 'Saint Lucia', 'zip_postal_code' => '', 'region' => '', 'main_logo_path' => 'files/siteSettings/images/victory-logo.png', 'main_logo_2_path' => 'files/siteSettings/images/dfa4c05811427e3eb55d975104332ee1(2).jpeg', 'dummy_content' => (int) 1, 'gallery_title' => 'architectural trim</span> gallery', 'gallery_intro' => '', 'contact_title' => '<span class="highlight">contact us</span> today', 'contact_intro' => '<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.</p>', 'biblical_quote' => '<p>For the word of God is quick, and powerful, and sharper than any two edged sword, piercing even to the dividing asunder of soul and spirit, and of the joints and marrow, and is a discerner of the thoughts and intents of the heart. </p> <!--<p>For in the gospel the righteousness of God is revealed—a righteousness that is by faith from first to last, just as it is written: “<em>The righteous will live by faith.</em>”</p>-->', 'biblical_verse' => 'Hebrews 4:12', 'announcement_1' => 'This is some breaking news.', 'announcement_2' => 'This is some breaking news.', 'vision' => '<p>Our vision is to be a strong church that is dedicated to impacting the world with the Gospel of Jesus Christ through evangelism and edification of believers, so that all may walk in victory.</p> <!--<p>A place where a person with no church background can come and feel comfortable and enjoy the service because the atmosphere will be friendly.</p>-->', 'mission' => '<p>Our mission is to fulfil the purpose of God in building up His church by fostering Christian growth and spiritual development through prayer, evangelism, teaching of the Word and holy living.</p>', 'value' => '<p>We believe the Holy Scripture, both Old and New Testament, is the divinely inspired Word of God, without error in the original writings and the final authority for all Christian faith and life. <a href="/p/who-we-are/#faith">Read more >></a></p>', 'home_content' => '', 'home_info' => '', 'home_info_title' => '', 'about_title' => '<h3 class="about in-page-title">Who we are?</h3>', 'about_info' => '<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere. <br /><br />Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.<br /><br />Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.</p>', 'about_image_path' => '', 'left_block_title' => 'OUR VALUES', 'center_block_title' => 'OUR vision', 'right_block_title' => 'OUR mission', 'home_icon_1_path' => 'files/siteSettings/images/Victory New Building.jpg', 'home_icon_2_path' => 'files/siteSettings/images/YouTube-Logo.png', 'home_icon_3_path' => '', 'home_link1' => '/donate', 'home_link2' => 'https://www.youtube.com/channel/UCGGN1Wq7yIDhRGWZsISOaTw', 'home_link3' => '', 'home_title1' => 'Donate', 'home_title2' => 'YouTube', 'home_title3' => '', 'slider_pics' => [[maximum depth reached]], '[new]' => false, '[accessible]' => [ [maximum depth reached] ], '[dirty]' => [[maximum depth reached]], '[original]' => [[maximum depth reached]], '[virtual]' => [[maximum depth reached]], '[errors]' => [[maximum depth reached]], '[invalid]' => [[maximum depth reached]], '[repository]' => 'ContentManager.SiteSettings' } Notes => object(Help\Model\Table\NotesTable) { 'registryAlias' => 'Help.Notes', 'table' => 'help_notes', 'alias' => 'Notes', 'entityClass' => 'Help\Model\Entity\Note', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } Events => object(EventManager\Model\Table\EventsTable) { 'registryAlias' => 'EventManager.Events', 'table' => 'events', 'alias' => 'Events', 'entityClass' => 'EventManager\Model\Entity\Event', 'associations' => [ [maximum depth reached] ], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } [protected] _responseClass => 'Cake\Network\Response' [protected] _components => object(Cake\Controller\ComponentRegistry) { '_Controller' => object(EventManager\Controller\EventsController) {}, '_loaded' => [ [maximum depth reached] ], '_eventManager' => object(Cake\Event\EventManager) {}, '_eventClass' => '\Cake\Event\Event' } [protected] _validViewOptions => [ (int) 0 => 'passedArgs' ] [protected] _eventManager => object(Cake\Event\EventManager) { '_listeners' => [ [maximum depth reached] ], '_isGlobal' => false, '_eventList' => null, '_trackEvents' => false, '_generalManager' => '(object) EventManager' } [protected] _eventClass => '\Cake\Event\Event' [protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) { [protected] _config => [[maximum depth reached]] [protected] _instances => [ [maximum depth reached] ] [protected] _fallbacked => [[maximum depth reached]] [protected] _options => [ [maximum depth reached] ] } [protected] _modelFactories => [ 'Table' => [ (int) 0 => object(Cake\ORM\Locator\TableLocator) {}, (int) 1 => 'get' ] ] [protected] _modelType => 'Table' [protected] _viewBuilder => object(Cake\View\ViewBuilder) { [protected] _templatePath => 'Events' [protected] _template => 'eventsFeed' [protected] _plugin => 'EventManager' [protected] _theme => 'Main' [protected] _layout => 'ajax' [protected] _autoLayout => null [protected] _layoutPath => null [protected] _name => 'Events' [protected] _className => 'Main.Ajax' [protected] _options => [ [maximum depth reached] ] [protected] _helpers => [[maximum depth reached]] } }
$cakeRequest = RequestTransformer::toCake($request); |
|
$cakeResponse = ResponseTransformer::toCake($response); |
|
|
|
// Dispatch the request/response to CakePHP |
|
$cakeResponse = $this->getDispatcher()->dispatch($cakeRequest, $cakeResponse); |
|
|
|
// Convert the response back into a PSR7 object. |
|
return ResponseTransformer::toPsr($cakeResponse); |
|
} |
object(Cake\Network\Request) { params => [ 'controller' => 'Events', 'action' => 'eventsFeed', 'pass' => [], 'plugin' => 'EventManager', '_matchedRoute' => '/event-manager/:controller/:action/*', '_ext' => null, 'isAjax' => false, '_Token' => [ 'unlockedFields' => [[maximum depth reached]] ] ] data => [] query => [] cookies => [] url => 'event-manager/events/events-feed' base => '' webroot => '/' here => '/event-manager/events/events-feed' trustProxy => false [protected] _environment => [ 'LSPHP_ENABLE_USER_INI' => 'on', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'TEMP' => '/tmp', 'TMP' => '/tmp', 'TMPDIR' => '/tmp', 'PWD' => '/', 'HTTP_ACCEPT' => '*/*', 'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate', 'CONTENT_LENGTH' => '0', 'HTTP_HOST' => 'victorysaintlucia.com', 'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'HTTP_X_HTTPS' => '1', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'aBrJutbDv9jO54QXnZCHRwAACUA', 'REDIRECT_REDIRECT_QS_ConnectionId' => '174658604229080268243418', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/event-manager/events/events-feed', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://victorysaintlucia.com/event-manager/events/events-feed', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'victorysaintlucia.com', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '243418-1594-3', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'aBrJutbDv9jO54QXnZCHRwAACUA', 'REDIRECT_QS_ConnectionId' => '174658604229080268243418', 'REDIRECT_SCRIPT_URL' => '/event-manager/events/events-feed', 'REDIRECT_SCRIPT_URI' => 'https://victorysaintlucia.com/event-manager/events/events-feed', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'victorysaintlucia.com', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '243418-1594-3', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'aBrJutbDv9jO54QXnZCHRwAACUA', 'QS_ConnectionId' => '174658604229080268243418', 'SCRIPT_URL' => '/event-manager/events/events-feed', 'SCRIPT_URI' => 'https://victorysaintlucia.com/event-manager/events/events-feed', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'victorysaintlucia.com', 'HTTP2' => 'on', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '243418-1594-3', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'victorysaintlucia.com', 'SERVER_ADDR' => '192.185.74.10', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '18.223.188.252', 'DOCUMENT_ROOT' => '/home2/victoryslu/public_html', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home2/victoryslu/public_html', 'SERVER_ADMIN' => 'webmaster@victorysaintlucia.com', 'SCRIPT_FILENAME' => '/home2/victoryslu/public_html/webroot/index.php', 'REMOTE_PORT' => '21184', 'REDIRECT_URL' => '/webroot/event-manager/events/events-feed', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/event-manager/events/events-feed', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1746586042.3065, 'REQUEST_TIME' => (int) 1746586042, 'argv' => [], 'argc' => (int) 0, 'HTTP_X_HTTP_METHOD_OVERRIDE' => null, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_REFERER' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => 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] _input => '' [protected] _session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => true [protected] _lifetime => '28800' [protected] _isCLI => false } } object(Cake\Network\Response) { [protected] _statusCodes => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Timeout', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Timeout', (int) 505 => 'Unsupported Version', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [protected] _mimeTypes => [ 'html' => [ (int) 0 => 'text/html', (int) 1 => '*/*' ], 'json' => 'application/json', 'xml' => [ (int) 0 => 'application/xml', (int) 1 => 'text/xml' ], 'xhtml' => [ (int) 0 => 'application/xhtml+xml', (int) 1 => 'application/xhtml', (int) 2 => 'text/xhtml' ], 'webp' => 'image/webp', 'rss' => 'application/rss+xml', 'ai' => 'application/postscript', 'bcpio' => 'application/x-bcpio', 'bin' => 'application/octet-stream', 'ccad' => 'application/clariscad', 'cdf' => 'application/x-netcdf', 'class' => 'application/octet-stream', 'cpio' => 'application/x-cpio', 'cpt' => 'application/mac-compactpro', 'csh' => 'application/x-csh', 'csv' => [ (int) 0 => 'text/csv', (int) 1 => 'application/vnd.ms-excel' ], 'dcr' => 'application/x-director', 'dir' => 'application/x-director', 'dms' => 'application/octet-stream', 'doc' => 'application/msword', 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'drw' => 'application/drafting', 'dvi' => 'application/x-dvi', 'dwg' => 'application/acad', 'dxf' => 'application/dxf', 'dxr' => 'application/x-director', 'eot' => 'application/vnd.ms-fontobject', 'eps' => 'application/postscript', 'exe' => 'application/octet-stream', 'ez' => 'application/andrew-inset', 'flv' => 'video/x-flv', 'gtar' => 'application/x-gtar', 'gz' => 'application/x-gzip', 'bz2' => 'application/x-bzip', '7z' => 'application/x-7z-compressed', 'hdf' => 'application/x-hdf', 'hqx' => 'application/mac-binhex40', 'ico' => 'image/x-icon', 'ips' => 'application/x-ipscript', 'ipx' => 'application/x-ipix', 'js' => 'application/javascript', 'jsonapi' => 'application/vnd.api+json', 'latex' => 'application/x-latex', 'lha' => 'application/octet-stream', 'lsp' => 'application/x-lisp', 'lzh' => 'application/octet-stream', 'man' => 'application/x-troff-man', 'me' => 'application/x-troff-me', 'mif' => 'application/vnd.mif', 'ms' => 'application/x-troff-ms', 'nc' => 'application/x-netcdf', 'oda' => 'application/oda', 'otf' => 'font/otf', 'pdf' => 'application/pdf', 'pgn' => 'application/x-chess-pgn', 'pot' => 'application/vnd.ms-powerpoint', 'pps' => 'application/vnd.ms-powerpoint', 'ppt' => 'application/vnd.ms-powerpoint', 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'ppz' => 'application/vnd.ms-powerpoint', 'pre' => 'application/x-freelance', 'prt' => 'application/pro_eng', 'ps' => 'application/postscript', 'roff' => 'application/x-troff', 'scm' => 'application/x-lotusscreencam', 'set' => 'application/set', 'sh' => 'application/x-sh', 'shar' => 'application/x-shar', 'sit' => 'application/x-stuffit', 'skd' => 'application/x-koan', 'skm' => 'application/x-koan', 'skp' => 'application/x-koan', 'skt' => 'application/x-koan', 'smi' => 'application/smil', 'smil' => 'application/smil', 'sol' => 'application/solids', 'spl' => 'application/x-futuresplash', 'src' => 'application/x-wais-source', 'step' => 'application/STEP', 'stl' => 'application/SLA', 'stp' => 'application/STEP', 'sv4cpio' => 'application/x-sv4cpio', 'sv4crc' => 'application/x-sv4crc', 'svg' => 'image/svg+xml', 'svgz' => 'image/svg+xml', 'swf' => 'application/x-shockwave-flash', 't' => 'application/x-troff', 'tar' => 'application/x-tar', 'tcl' => 'application/x-tcl', 'tex' => 'application/x-tex', 'texi' => 'application/x-texinfo', 'texinfo' => 'application/x-texinfo', 'tr' => 'application/x-troff', 'tsp' => 'application/dsptype', 'ttc' => 'font/ttf', 'ttf' => 'font/ttf', 'unv' => 'application/i-deas', 'ustar' => 'application/x-ustar', 'vcd' => 'application/x-cdlink', 'vda' => 'application/vda', 'xlc' => 'application/vnd.ms-excel', 'xll' => 'application/vnd.ms-excel', 'xlm' => 'application/vnd.ms-excel', 'xls' => 'application/vnd.ms-excel', 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'xlw' => 'application/vnd.ms-excel', 'zip' => 'application/zip', 'aif' => 'audio/x-aiff', 'aifc' => 'audio/x-aiff', 'aiff' => 'audio/x-aiff', 'au' => 'audio/basic', 'kar' => 'audio/midi', 'mid' => 'audio/midi', 'midi' => 'audio/midi', 'mp2' => 'audio/mpeg', 'mp3' => 'audio/mpeg', 'mpga' => 'audio/mpeg', 'ogg' => 'audio/ogg', 'oga' => 'audio/ogg', 'spx' => 'audio/ogg', 'ra' => 'audio/x-realaudio', 'ram' => 'audio/x-pn-realaudio', 'rm' => 'audio/x-pn-realaudio', 'rpm' => 'audio/x-pn-realaudio-plugin', 'snd' => 'audio/basic', 'tsi' => 'audio/TSP-audio', 'wav' => 'audio/x-wav', 'aac' => 'audio/aac', 'asc' => 'text/plain', 'c' => 'text/plain', 'cc' => 'text/plain', 'css' => 'text/css', 'etx' => 'text/x-setext', 'f' => 'text/plain', 'f90' => 'text/plain', 'h' => 'text/plain', 'hh' => 'text/plain', 'htm' => [ (int) 0 => 'text/html', (int) 1 => '*/*' ], 'ics' => 'text/calendar', 'm' => 'text/plain', 'rtf' => 'text/rtf', 'rtx' => 'text/richtext', 'sgm' => 'text/sgml', 'sgml' => 'text/sgml', 'tsv' => 'text/tab-separated-values', 'tpl' => 'text/template', 'txt' => 'text/plain', 'text' => 'text/plain', 'avi' => 'video/x-msvideo', 'fli' => 'video/x-fli', 'mov' => 'video/quicktime', 'movie' => 'video/x-sgi-movie', 'mpe' => 'video/mpeg', 'mpeg' => 'video/mpeg', 'mpg' => 'video/mpeg', 'qt' => 'video/quicktime', 'viv' => 'video/vnd.vivo', 'vivo' => 'video/vnd.vivo', 'ogv' => 'video/ogg', 'webm' => 'video/webm', 'mp4' => 'video/mp4', 'm4v' => 'video/mp4', 'f4v' => 'video/mp4', 'f4p' => 'video/mp4', 'm4a' => 'audio/mp4', 'f4a' => 'audio/mp4', 'f4b' => 'audio/mp4', 'gif' => 'image/gif', 'ief' => 'image/ief', 'jpg' => 'image/jpeg', 'jpeg' => 'image/jpeg', 'jpe' => 'image/jpeg', 'pbm' => 'image/x-portable-bitmap', 'pgm' => 'image/x-portable-graymap', 'png' => 'image/png', 'pnm' => 'image/x-portable-anymap', 'ppm' => 'image/x-portable-pixmap', 'ras' => 'image/cmu-raster', 'rgb' => 'image/x-rgb', 'tif' => 'image/tiff', 'tiff' => 'image/tiff', 'xbm' => 'image/x-xbitmap', 'xpm' => 'image/x-xpixmap', 'xwd' => 'image/x-xwindowdump', 'psd' => [ (int) 0 => 'application/photoshop', (int) 1 => 'application/psd', (int) 2 => 'image/psd', (int) 3 => 'image/x-photoshop', (int) 4 => 'image/photoshop', (int) 5 => 'zz-application/zz-winassoc-psd' ], 'ice' => 'x-conference/x-cooltalk', 'iges' => 'model/iges', 'igs' => 'model/iges', 'mesh' => 'model/mesh', 'msh' => 'model/mesh', 'silo' => 'model/mesh', 'vrml' => 'model/vrml', 'wrl' => 'model/vrml', 'mime' => 'www/mime', 'pdb' => 'chemical/x-pdb', 'xyz' => 'chemical/x-pdb', 'javascript' => 'application/javascript', 'form' => 'application/x-www-form-urlencoded', 'file' => 'multipart/form-data', 'xhtml-mobile' => 'application/vnd.wap.xhtml+xml', 'atom' => 'application/atom+xml', 'amf' => 'application/x-amf', 'wap' => [ (int) 0 => 'text/vnd.wap.wml', (int) 1 => 'text/vnd.wap.wmlscript', (int) 2 => 'image/vnd.wap.wbmp' ], 'wml' => 'text/vnd.wap.wml', 'wmlscript' => 'text/vnd.wap.wmlscript', 'wbmp' => 'image/vnd.wap.wbmp', 'woff' => 'application/x-font-woff', 'appcache' => 'text/cache-manifest', 'manifest' => 'text/cache-manifest', 'htc' => 'text/x-component', 'rdf' => 'application/xml', 'crx' => 'application/x-chrome-extension', 'oex' => 'application/x-opera-extension', 'xpi' => 'application/x-xpinstall', 'safariextz' => 'application/octet-stream', 'webapp' => 'application/x-web-app-manifest+json', 'vcf' => 'text/x-vcard', 'vtt' => 'text/vtt', 'mkv' => 'video/x-matroska', 'pkpass' => 'application/vnd.apple.pkpass', 'ajax' => 'text/html' ] [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => [] [protected] _body => '' [protected] _file => null [protected] _fileRange => [] [protected] _charset => 'UTF-8' [protected] _cacheDirectives => [] [protected] _cookies => [] }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Zend\Diactoros\ServerRequest) { [protected] headers => [ 'accept' => [ (int) 0 => '*/*' ], 'accept-encoding' => [ (int) 0 => 'gzip, br, zstd, deflate' ], 'host' => [ (int) 0 => 'victorysaintlucia.com' ], 'user-agent' => [ (int) 0 => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' ], 'x-https' => [ (int) 0 => '1' ] ] [protected] headerNames => [ 'accept' => 'accept', 'accept-encoding' => 'accept-encoding', 'host' => 'host', 'user-agent' => 'user-agent', 'x-https' => 'x-https' ] [private] attributes => [ 'base' => '', 'webroot' => '/', 'session' => object(Cake\Network\Session) {}, 'params' => [ 'controller' => 'Events', 'action' => 'eventsFeed', 'pass' => [[maximum depth reached]], 'plugin' => 'EventManager', '_matchedRoute' => '/event-manager/:controller/:action/*' ] ] [private] cookieParams => [] [private] parsedBody => [] [private] queryParams => [] [private] serverParams => [ 'LSPHP_ENABLE_USER_INI' => 'on', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'TEMP' => '/tmp', 'TMP' => '/tmp', 'TMPDIR' => '/tmp', 'PWD' => '/', 'HTTP_ACCEPT' => '*/*', 'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate', 'CONTENT_LENGTH' => '0', 'HTTP_HOST' => 'victorysaintlucia.com', 'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'HTTP_X_HTTPS' => '1', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'aBrJutbDv9jO54QXnZCHRwAACUA', 'REDIRECT_REDIRECT_QS_ConnectionId' => '174658604229080268243418', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/event-manager/events/events-feed', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://victorysaintlucia.com/event-manager/events/events-feed', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'victorysaintlucia.com', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '243418-1594-3', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'aBrJutbDv9jO54QXnZCHRwAACUA', 'REDIRECT_QS_ConnectionId' => '174658604229080268243418', 'REDIRECT_SCRIPT_URL' => '/event-manager/events/events-feed', 'REDIRECT_SCRIPT_URI' => 'https://victorysaintlucia.com/event-manager/events/events-feed', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'victorysaintlucia.com', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '243418-1594-3', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'aBrJutbDv9jO54QXnZCHRwAACUA', 'QS_ConnectionId' => '174658604229080268243418', 'SCRIPT_URL' => '/event-manager/events/events-feed', 'SCRIPT_URI' => 'https://victorysaintlucia.com/event-manager/events/events-feed', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'victorysaintlucia.com', 'HTTP2' => 'on', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '243418-1594-3', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'victorysaintlucia.com', 'SERVER_ADDR' => '192.185.74.10', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '18.223.188.252', 'DOCUMENT_ROOT' => '/home2/victoryslu/public_html', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home2/victoryslu/public_html', 'SERVER_ADMIN' => 'webmaster@victorysaintlucia.com', 'SCRIPT_FILENAME' => '/home2/victoryslu/public_html/webroot/index.php', 'REMOTE_PORT' => '21184', 'REDIRECT_URL' => '/webroot/event-manager/events/events-feed', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/event-manager/events/events-feed', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1746586042.3065, 'REQUEST_TIME' => (int) 1746586042, 'argv' => [], 'argc' => (int) 0 ] [private] uploadedFiles => [] [private] protocol => '2.0' [private] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => true } [private] method => 'GET' [private] requestTarget => null [private] uri => object(Zend\Diactoros\Uri) { [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'victorysaintlucia.com' [private] port => null [private] path => '/event-manager/events/events-feed' [private] query => '' [private] fragment => '' [private] uriString => null } } object(Zend\Diactoros\Response) { [protected] headers => [] [protected] headerNames => [] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => '' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) { [protected] resource => resource [protected] stream => 'php://memory' } } object(Cake\Http\Runner) { [protected] index => (int) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
$response->getHeaders() |
|
); |
|
} |
|
|
|
return $next($request, $response); |
|
} |
|
} |
|
|
object(Zend\Diactoros\ServerRequest) { [protected] headers => [ 'accept' => [ (int) 0 => '*/*' ], 'accept-encoding' => [ (int) 0 => 'gzip, br, zstd, deflate' ], 'host' => [ (int) 0 => 'victorysaintlucia.com' ], 'user-agent' => [ (int) 0 => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' ], 'x-https' => [ (int) 0 => '1' ] ] [protected] headerNames => [ 'accept' => 'accept', 'accept-encoding' => 'accept-encoding', 'host' => 'host', 'user-agent' => 'user-agent', 'x-https' => 'x-https' ] [private] attributes => [ 'base' => '', 'webroot' => '/', 'session' => object(Cake\Network\Session) {}, 'params' => [ 'controller' => 'Events', 'action' => 'eventsFeed', 'pass' => [[maximum depth reached]], 'plugin' => 'EventManager', '_matchedRoute' => '/event-manager/:controller/:action/*' ] ] [private] cookieParams => [] [private] parsedBody => [] [private] queryParams => [] [private] serverParams => [ 'LSPHP_ENABLE_USER_INI' => 'on', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'TEMP' => '/tmp', 'TMP' => '/tmp', 'TMPDIR' => '/tmp', 'PWD' => '/', 'HTTP_ACCEPT' => '*/*', 'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate', 'CONTENT_LENGTH' => '0', 'HTTP_HOST' => 'victorysaintlucia.com', 'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'HTTP_X_HTTPS' => '1', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'aBrJutbDv9jO54QXnZCHRwAACUA', 'REDIRECT_REDIRECT_QS_ConnectionId' => '174658604229080268243418', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/event-manager/events/events-feed', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://victorysaintlucia.com/event-manager/events/events-feed', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'victorysaintlucia.com', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '243418-1594-3', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'aBrJutbDv9jO54QXnZCHRwAACUA', 'REDIRECT_QS_ConnectionId' => '174658604229080268243418', 'REDIRECT_SCRIPT_URL' => '/event-manager/events/events-feed', 'REDIRECT_SCRIPT_URI' => 'https://victorysaintlucia.com/event-manager/events/events-feed', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'victorysaintlucia.com', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '243418-1594-3', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'aBrJutbDv9jO54QXnZCHRwAACUA', 'QS_ConnectionId' => '174658604229080268243418', 'SCRIPT_URL' => '/event-manager/events/events-feed', 'SCRIPT_URI' => 'https://victorysaintlucia.com/event-manager/events/events-feed', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'victorysaintlucia.com', 'HTTP2' => 'on', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '243418-1594-3', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'victorysaintlucia.com', 'SERVER_ADDR' => '192.185.74.10', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '18.223.188.252', 'DOCUMENT_ROOT' => '/home2/victoryslu/public_html', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home2/victoryslu/public_html', 'SERVER_ADMIN' => 'webmaster@victorysaintlucia.com', 'SCRIPT_FILENAME' => '/home2/victoryslu/public_html/webroot/index.php', 'REMOTE_PORT' => '21184', 'REDIRECT_URL' => '/webroot/event-manager/events/events-feed', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/event-manager/events/events-feed', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1746586042.3065, 'REQUEST_TIME' => (int) 1746586042, 'argv' => [], 'argc' => (int) 0 ] [private] uploadedFiles => [] [private] protocol => '2.0' [private] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => true } [private] method => 'GET' [private] requestTarget => null [private] uri => object(Zend\Diactoros\Uri) { [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'victorysaintlucia.com' [private] port => null [private] path => '/event-manager/events/events-feed' [private] query => '' [private] fragment => '' [private] uriString => null } } object(Zend\Diactoros\Response) { [protected] headers => [] [protected] headerNames => [] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => '' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) { [protected] resource => resource [protected] stream => 'php://memory' } }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Zend\Diactoros\ServerRequest) { [protected] headers => [ 'accept' => [ (int) 0 => '*/*' ], 'accept-encoding' => [ (int) 0 => 'gzip, br, zstd, deflate' ], 'host' => [ (int) 0 => 'victorysaintlucia.com' ], 'user-agent' => [ (int) 0 => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' ], 'x-https' => [ (int) 0 => '1' ] ] [protected] headerNames => [ 'accept' => 'accept', 'accept-encoding' => 'accept-encoding', 'host' => 'host', 'user-agent' => 'user-agent', 'x-https' => 'x-https' ] [private] attributes => [ 'base' => '', 'webroot' => '/', 'session' => object(Cake\Network\Session) {}, 'params' => [ 'controller' => 'Events', 'action' => 'eventsFeed', 'pass' => [[maximum depth reached]], 'plugin' => 'EventManager', '_matchedRoute' => '/event-manager/:controller/:action/*' ] ] [private] cookieParams => [] [private] parsedBody => [] [private] queryParams => [] [private] serverParams => [ 'LSPHP_ENABLE_USER_INI' => 'on', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'TEMP' => '/tmp', 'TMP' => '/tmp', 'TMPDIR' => '/tmp', 'PWD' => '/', 'HTTP_ACCEPT' => '*/*', 'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate', 'CONTENT_LENGTH' => '0', 'HTTP_HOST' => 'victorysaintlucia.com', 'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'HTTP_X_HTTPS' => '1', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'aBrJutbDv9jO54QXnZCHRwAACUA', 'REDIRECT_REDIRECT_QS_ConnectionId' => '174658604229080268243418', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/event-manager/events/events-feed', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://victorysaintlucia.com/event-manager/events/events-feed', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'victorysaintlucia.com', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '243418-1594-3', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'aBrJutbDv9jO54QXnZCHRwAACUA', 'REDIRECT_QS_ConnectionId' => '174658604229080268243418', 'REDIRECT_SCRIPT_URL' => '/event-manager/events/events-feed', 'REDIRECT_SCRIPT_URI' => 'https://victorysaintlucia.com/event-manager/events/events-feed', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'victorysaintlucia.com', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '243418-1594-3', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'aBrJutbDv9jO54QXnZCHRwAACUA', 'QS_ConnectionId' => '174658604229080268243418', 'SCRIPT_URL' => '/event-manager/events/events-feed', 'SCRIPT_URI' => 'https://victorysaintlucia.com/event-manager/events/events-feed', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'victorysaintlucia.com', 'HTTP2' => 'on', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '243418-1594-3', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'victorysaintlucia.com', 'SERVER_ADDR' => '192.185.74.10', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '18.223.188.252', 'DOCUMENT_ROOT' => '/home2/victoryslu/public_html', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home2/victoryslu/public_html', 'SERVER_ADMIN' => 'webmaster@victorysaintlucia.com', 'SCRIPT_FILENAME' => '/home2/victoryslu/public_html/webroot/index.php', 'REMOTE_PORT' => '21184', 'REDIRECT_URL' => '/webroot/event-manager/events/events-feed', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/event-manager/events/events-feed', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1746586042.3065, 'REQUEST_TIME' => (int) 1746586042, 'argv' => [], 'argc' => (int) 0 ] [private] uploadedFiles => [] [private] protocol => '2.0' [private] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => true } [private] method => 'GET' [private] requestTarget => null [private] uri => object(Zend\Diactoros\Uri) { [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'victorysaintlucia.com' [private] port => null [private] path => '/event-manager/events/events-feed' [private] query => '' [private] fragment => '' [private] uriString => null } } object(Zend\Diactoros\Response) { [protected] headers => [] [protected] headerNames => [] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => '' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) { [protected] resource => resource [protected] stream => 'php://memory' } } object(Cake\Http\Runner) { [protected] index => (int) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
public function __invoke($request, $response, $next) |
|
{ |
|
$url = $request->getUri()->getPath(); |
|
if (strpos($url, '..') !== false || strpos($url, '.') === false) { |
|
return $next($request, $response); |
|
} |
|
|
|
$assetFile = $this->_getAssetFile($url); |
|
if ($assetFile === null || !file_exists($assetFile)) { |
object(Zend\Diactoros\ServerRequest) { [protected] headers => [ 'accept' => [ (int) 0 => '*/*' ], 'accept-encoding' => [ (int) 0 => 'gzip, br, zstd, deflate' ], 'host' => [ (int) 0 => 'victorysaintlucia.com' ], 'user-agent' => [ (int) 0 => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' ], 'x-https' => [ (int) 0 => '1' ] ] [protected] headerNames => [ 'accept' => 'accept', 'accept-encoding' => 'accept-encoding', 'host' => 'host', 'user-agent' => 'user-agent', 'x-https' => 'x-https' ] [private] attributes => [ 'base' => '', 'webroot' => '/', 'session' => object(Cake\Network\Session) {} ] [private] cookieParams => [] [private] parsedBody => [] [private] queryParams => [] [private] serverParams => [ 'LSPHP_ENABLE_USER_INI' => 'on', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'TEMP' => '/tmp', 'TMP' => '/tmp', 'TMPDIR' => '/tmp', 'PWD' => '/', 'HTTP_ACCEPT' => '*/*', 'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate', 'CONTENT_LENGTH' => '0', 'HTTP_HOST' => 'victorysaintlucia.com', 'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'HTTP_X_HTTPS' => '1', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'aBrJutbDv9jO54QXnZCHRwAACUA', 'REDIRECT_REDIRECT_QS_ConnectionId' => '174658604229080268243418', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/event-manager/events/events-feed', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://victorysaintlucia.com/event-manager/events/events-feed', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'victorysaintlucia.com', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '243418-1594-3', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'aBrJutbDv9jO54QXnZCHRwAACUA', 'REDIRECT_QS_ConnectionId' => '174658604229080268243418', 'REDIRECT_SCRIPT_URL' => '/event-manager/events/events-feed', 'REDIRECT_SCRIPT_URI' => 'https://victorysaintlucia.com/event-manager/events/events-feed', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'victorysaintlucia.com', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '243418-1594-3', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'aBrJutbDv9jO54QXnZCHRwAACUA', 'QS_ConnectionId' => '174658604229080268243418', 'SCRIPT_URL' => '/event-manager/events/events-feed', 'SCRIPT_URI' => 'https://victorysaintlucia.com/event-manager/events/events-feed', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'victorysaintlucia.com', 'HTTP2' => 'on', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '243418-1594-3', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'victorysaintlucia.com', 'SERVER_ADDR' => '192.185.74.10', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '18.223.188.252', 'DOCUMENT_ROOT' => '/home2/victoryslu/public_html', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home2/victoryslu/public_html', 'SERVER_ADMIN' => 'webmaster@victorysaintlucia.com', 'SCRIPT_FILENAME' => '/home2/victoryslu/public_html/webroot/index.php', 'REMOTE_PORT' => '21184', 'REDIRECT_URL' => '/webroot/event-manager/events/events-feed', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/event-manager/events/events-feed', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1746586042.3065, 'REQUEST_TIME' => (int) 1746586042, 'argv' => [], 'argc' => (int) 0 ] [private] uploadedFiles => [] [private] protocol => '2.0' [private] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => true } [private] method => 'GET' [private] requestTarget => null [private] uri => object(Zend\Diactoros\Uri) { [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'victorysaintlucia.com' [private] port => null [private] path => '/event-manager/events/events-feed' [private] query => '' [private] fragment => '' [private] uriString => null } } object(Zend\Diactoros\Response) { [protected] headers => [] [protected] headerNames => [] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => '' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) { [protected] resource => resource [protected] stream => 'php://memory' } }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Zend\Diactoros\ServerRequest) { [protected] headers => [ 'accept' => [ (int) 0 => '*/*' ], 'accept-encoding' => [ (int) 0 => 'gzip, br, zstd, deflate' ], 'host' => [ (int) 0 => 'victorysaintlucia.com' ], 'user-agent' => [ (int) 0 => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' ], 'x-https' => [ (int) 0 => '1' ] ] [protected] headerNames => [ 'accept' => 'accept', 'accept-encoding' => 'accept-encoding', 'host' => 'host', 'user-agent' => 'user-agent', 'x-https' => 'x-https' ] [private] attributes => [ 'base' => '', 'webroot' => '/', 'session' => object(Cake\Network\Session) {} ] [private] cookieParams => [] [private] parsedBody => [] [private] queryParams => [] [private] serverParams => [ 'LSPHP_ENABLE_USER_INI' => 'on', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'TEMP' => '/tmp', 'TMP' => '/tmp', 'TMPDIR' => '/tmp', 'PWD' => '/', 'HTTP_ACCEPT' => '*/*', 'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate', 'CONTENT_LENGTH' => '0', 'HTTP_HOST' => 'victorysaintlucia.com', 'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'HTTP_X_HTTPS' => '1', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'aBrJutbDv9jO54QXnZCHRwAACUA', 'REDIRECT_REDIRECT_QS_ConnectionId' => '174658604229080268243418', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/event-manager/events/events-feed', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://victorysaintlucia.com/event-manager/events/events-feed', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'victorysaintlucia.com', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '243418-1594-3', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'aBrJutbDv9jO54QXnZCHRwAACUA', 'REDIRECT_QS_ConnectionId' => '174658604229080268243418', 'REDIRECT_SCRIPT_URL' => '/event-manager/events/events-feed', 'REDIRECT_SCRIPT_URI' => 'https://victorysaintlucia.com/event-manager/events/events-feed', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'victorysaintlucia.com', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '243418-1594-3', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'aBrJutbDv9jO54QXnZCHRwAACUA', 'QS_ConnectionId' => '174658604229080268243418', 'SCRIPT_URL' => '/event-manager/events/events-feed', 'SCRIPT_URI' => 'https://victorysaintlucia.com/event-manager/events/events-feed', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'victorysaintlucia.com', 'HTTP2' => 'on', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '243418-1594-3', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'victorysaintlucia.com', 'SERVER_ADDR' => '192.185.74.10', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '18.223.188.252', 'DOCUMENT_ROOT' => '/home2/victoryslu/public_html', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home2/victoryslu/public_html', 'SERVER_ADMIN' => 'webmaster@victorysaintlucia.com', 'SCRIPT_FILENAME' => '/home2/victoryslu/public_html/webroot/index.php', 'REMOTE_PORT' => '21184', 'REDIRECT_URL' => '/webroot/event-manager/events/events-feed', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/event-manager/events/events-feed', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1746586042.3065, 'REQUEST_TIME' => (int) 1746586042, 'argv' => [], 'argc' => (int) 0 ] [private] uploadedFiles => [] [private] protocol => '2.0' [private] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => true } [private] method => 'GET' [private] requestTarget => null [private] uri => object(Zend\Diactoros\Uri) { [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'victorysaintlucia.com' [private] port => null [private] path => '/event-manager/events/events-feed' [private] query => '' [private] fragment => '' [private] uriString => null } } object(Zend\Diactoros\Response) { [protected] headers => [] [protected] headerNames => [] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => '' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) { [protected] resource => resource [protected] stream => 'php://memory' } } object(Cake\Http\Runner) { [protected] index => (int) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
*/ |
|
public function __invoke($request, $response, $next) |
|
{ |
|
try { |
|
return $next($request, $response); |
|
} catch (\Exception $e) { |
|
return $this->handleException($e, $request, $response); |
|
} |
|
} |
object(Zend\Diactoros\ServerRequest) { [protected] headers => [ 'accept' => [ (int) 0 => '*/*' ], 'accept-encoding' => [ (int) 0 => 'gzip, br, zstd, deflate' ], 'host' => [ (int) 0 => 'victorysaintlucia.com' ], 'user-agent' => [ (int) 0 => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' ], 'x-https' => [ (int) 0 => '1' ] ] [protected] headerNames => [ 'accept' => 'accept', 'accept-encoding' => 'accept-encoding', 'host' => 'host', 'user-agent' => 'user-agent', 'x-https' => 'x-https' ] [private] attributes => [ 'base' => '', 'webroot' => '/', 'session' => object(Cake\Network\Session) {} ] [private] cookieParams => [] [private] parsedBody => [] [private] queryParams => [] [private] serverParams => [ 'LSPHP_ENABLE_USER_INI' => 'on', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'TEMP' => '/tmp', 'TMP' => '/tmp', 'TMPDIR' => '/tmp', 'PWD' => '/', 'HTTP_ACCEPT' => '*/*', 'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate', 'CONTENT_LENGTH' => '0', 'HTTP_HOST' => 'victorysaintlucia.com', 'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'HTTP_X_HTTPS' => '1', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'aBrJutbDv9jO54QXnZCHRwAACUA', 'REDIRECT_REDIRECT_QS_ConnectionId' => '174658604229080268243418', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/event-manager/events/events-feed', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://victorysaintlucia.com/event-manager/events/events-feed', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'victorysaintlucia.com', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '243418-1594-3', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'aBrJutbDv9jO54QXnZCHRwAACUA', 'REDIRECT_QS_ConnectionId' => '174658604229080268243418', 'REDIRECT_SCRIPT_URL' => '/event-manager/events/events-feed', 'REDIRECT_SCRIPT_URI' => 'https://victorysaintlucia.com/event-manager/events/events-feed', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'victorysaintlucia.com', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '243418-1594-3', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'aBrJutbDv9jO54QXnZCHRwAACUA', 'QS_ConnectionId' => '174658604229080268243418', 'SCRIPT_URL' => '/event-manager/events/events-feed', 'SCRIPT_URI' => 'https://victorysaintlucia.com/event-manager/events/events-feed', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'victorysaintlucia.com', 'HTTP2' => 'on', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '243418-1594-3', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'victorysaintlucia.com', 'SERVER_ADDR' => '192.185.74.10', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '18.223.188.252', 'DOCUMENT_ROOT' => '/home2/victoryslu/public_html', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home2/victoryslu/public_html', 'SERVER_ADMIN' => 'webmaster@victorysaintlucia.com', 'SCRIPT_FILENAME' => '/home2/victoryslu/public_html/webroot/index.php', 'REMOTE_PORT' => '21184', 'REDIRECT_URL' => '/webroot/event-manager/events/events-feed', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/event-manager/events/events-feed', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1746586042.3065, 'REQUEST_TIME' => (int) 1746586042, 'argv' => [], 'argc' => (int) 0 ] [private] uploadedFiles => [] [private] protocol => '2.0' [private] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => true } [private] method => 'GET' [private] requestTarget => null [private] uri => object(Zend\Diactoros\Uri) { [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'victorysaintlucia.com' [private] port => null [private] path => '/event-manager/events/events-feed' [private] query => '' [private] fragment => '' [private] uriString => null } } object(Zend\Diactoros\Response) { [protected] headers => [] [protected] headerNames => [] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => '' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) { [protected] resource => resource [protected] stream => 'php://memory' } }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Zend\Diactoros\ServerRequest) { [protected] headers => [ 'accept' => [ (int) 0 => '*/*' ], 'accept-encoding' => [ (int) 0 => 'gzip, br, zstd, deflate' ], 'host' => [ (int) 0 => 'victorysaintlucia.com' ], 'user-agent' => [ (int) 0 => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' ], 'x-https' => [ (int) 0 => '1' ] ] [protected] headerNames => [ 'accept' => 'accept', 'accept-encoding' => 'accept-encoding', 'host' => 'host', 'user-agent' => 'user-agent', 'x-https' => 'x-https' ] [private] attributes => [ 'base' => '', 'webroot' => '/', 'session' => object(Cake\Network\Session) {} ] [private] cookieParams => [] [private] parsedBody => [] [private] queryParams => [] [private] serverParams => [ 'LSPHP_ENABLE_USER_INI' => 'on', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'TEMP' => '/tmp', 'TMP' => '/tmp', 'TMPDIR' => '/tmp', 'PWD' => '/', 'HTTP_ACCEPT' => '*/*', 'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate', 'CONTENT_LENGTH' => '0', 'HTTP_HOST' => 'victorysaintlucia.com', 'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'HTTP_X_HTTPS' => '1', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'aBrJutbDv9jO54QXnZCHRwAACUA', 'REDIRECT_REDIRECT_QS_ConnectionId' => '174658604229080268243418', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/event-manager/events/events-feed', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://victorysaintlucia.com/event-manager/events/events-feed', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'victorysaintlucia.com', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '243418-1594-3', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'aBrJutbDv9jO54QXnZCHRwAACUA', 'REDIRECT_QS_ConnectionId' => '174658604229080268243418', 'REDIRECT_SCRIPT_URL' => '/event-manager/events/events-feed', 'REDIRECT_SCRIPT_URI' => 'https://victorysaintlucia.com/event-manager/events/events-feed', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'victorysaintlucia.com', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '243418-1594-3', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'aBrJutbDv9jO54QXnZCHRwAACUA', 'QS_ConnectionId' => '174658604229080268243418', 'SCRIPT_URL' => '/event-manager/events/events-feed', 'SCRIPT_URI' => 'https://victorysaintlucia.com/event-manager/events/events-feed', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'victorysaintlucia.com', 'HTTP2' => 'on', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '243418-1594-3', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'victorysaintlucia.com', 'SERVER_ADDR' => '192.185.74.10', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '18.223.188.252', 'DOCUMENT_ROOT' => '/home2/victoryslu/public_html', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home2/victoryslu/public_html', 'SERVER_ADMIN' => 'webmaster@victorysaintlucia.com', 'SCRIPT_FILENAME' => '/home2/victoryslu/public_html/webroot/index.php', 'REMOTE_PORT' => '21184', 'REDIRECT_URL' => '/webroot/event-manager/events/events-feed', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/event-manager/events/events-feed', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1746586042.3065, 'REQUEST_TIME' => (int) 1746586042, 'argv' => [], 'argc' => (int) 0 ] [private] uploadedFiles => [] [private] protocol => '2.0' [private] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => true } [private] method => 'GET' [private] requestTarget => null [private] uri => object(Zend\Diactoros\Uri) { [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'victorysaintlucia.com' [private] port => null [private] path => '/event-manager/events/events-feed' [private] query => '' [private] fragment => '' [private] uriString => null } } object(Zend\Diactoros\Response) { [protected] headers => [] [protected] headerNames => [] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => '' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) { [protected] resource => resource [protected] stream => 'php://memory' } } object(Cake\Http\Runner) { [protected] index => (int) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
{ |
|
$this->middleware = $middleware; |
|
$this->index = 0; |
|
|
|
return $this->__invoke($request, $response); |
|
} |
|
|
|
/** |
|
* @param \Psr\Http\Message\ServerRequestInterface $request The server request |
object(Zend\Diactoros\ServerRequest) { [protected] headers => [ 'accept' => [ (int) 0 => '*/*' ], 'accept-encoding' => [ (int) 0 => 'gzip, br, zstd, deflate' ], 'host' => [ (int) 0 => 'victorysaintlucia.com' ], 'user-agent' => [ (int) 0 => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' ], 'x-https' => [ (int) 0 => '1' ] ] [protected] headerNames => [ 'accept' => 'accept', 'accept-encoding' => 'accept-encoding', 'host' => 'host', 'user-agent' => 'user-agent', 'x-https' => 'x-https' ] [private] attributes => [ 'base' => '', 'webroot' => '/', 'session' => object(Cake\Network\Session) {} ] [private] cookieParams => [] [private] parsedBody => [] [private] queryParams => [] [private] serverParams => [ 'LSPHP_ENABLE_USER_INI' => 'on', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'TEMP' => '/tmp', 'TMP' => '/tmp', 'TMPDIR' => '/tmp', 'PWD' => '/', 'HTTP_ACCEPT' => '*/*', 'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate', 'CONTENT_LENGTH' => '0', 'HTTP_HOST' => 'victorysaintlucia.com', 'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'HTTP_X_HTTPS' => '1', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'aBrJutbDv9jO54QXnZCHRwAACUA', 'REDIRECT_REDIRECT_QS_ConnectionId' => '174658604229080268243418', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/event-manager/events/events-feed', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://victorysaintlucia.com/event-manager/events/events-feed', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'victorysaintlucia.com', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '243418-1594-3', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'aBrJutbDv9jO54QXnZCHRwAACUA', 'REDIRECT_QS_ConnectionId' => '174658604229080268243418', 'REDIRECT_SCRIPT_URL' => '/event-manager/events/events-feed', 'REDIRECT_SCRIPT_URI' => 'https://victorysaintlucia.com/event-manager/events/events-feed', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'victorysaintlucia.com', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '243418-1594-3', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'aBrJutbDv9jO54QXnZCHRwAACUA', 'QS_ConnectionId' => '174658604229080268243418', 'SCRIPT_URL' => '/event-manager/events/events-feed', 'SCRIPT_URI' => 'https://victorysaintlucia.com/event-manager/events/events-feed', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'victorysaintlucia.com', 'HTTP2' => 'on', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '243418-1594-3', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'victorysaintlucia.com', 'SERVER_ADDR' => '192.185.74.10', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '18.223.188.252', 'DOCUMENT_ROOT' => '/home2/victoryslu/public_html', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home2/victoryslu/public_html', 'SERVER_ADMIN' => 'webmaster@victorysaintlucia.com', 'SCRIPT_FILENAME' => '/home2/victoryslu/public_html/webroot/index.php', 'REMOTE_PORT' => '21184', 'REDIRECT_URL' => '/webroot/event-manager/events/events-feed', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/event-manager/events/events-feed', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1746586042.3065, 'REQUEST_TIME' => (int) 1746586042, 'argv' => [], 'argc' => (int) 0 ] [private] uploadedFiles => [] [private] protocol => '2.0' [private] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => true } [private] method => 'GET' [private] requestTarget => null [private] uri => object(Zend\Diactoros\Uri) { [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'victorysaintlucia.com' [private] port => null [private] path => '/event-manager/events/events-feed' [private] query => '' [private] fragment => '' [private] uriString => null } } object(Zend\Diactoros\Response) { [protected] headers => [] [protected] headerNames => [] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => '' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) { [protected] resource => resource [protected] stream => 'php://memory' } }
throw new RuntimeException('The application `middleware` method did not return a middleware queue.'); |
|
} |
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
$middleware->add($this->app); |
|
$response = $this->runner->run($middleware, $request, $response); |
|
|
|
if (!($response instanceof ResponseInterface)) { |
|
throw new RuntimeException(sprintf( |
|
'Application did not create a response. Got "%s" instead.', |
object(Cake\Http\MiddlewareQueue) { [protected] queue => [ (int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 3 => object(App\Application) {} ] [protected] callables => [ (int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 3 => object(App\Application) {} ] } object(Zend\Diactoros\ServerRequest) { [protected] headers => [ 'accept' => [ (int) 0 => '*/*' ], 'accept-encoding' => [ (int) 0 => 'gzip, br, zstd, deflate' ], 'host' => [ (int) 0 => 'victorysaintlucia.com' ], 'user-agent' => [ (int) 0 => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)' ], 'x-https' => [ (int) 0 => '1' ] ] [protected] headerNames => [ 'accept' => 'accept', 'accept-encoding' => 'accept-encoding', 'host' => 'host', 'user-agent' => 'user-agent', 'x-https' => 'x-https' ] [private] attributes => [ 'base' => '', 'webroot' => '/', 'session' => object(Cake\Network\Session) {} ] [private] cookieParams => [] [private] parsedBody => [] [private] queryParams => [] [private] serverParams => [ 'LSPHP_ENABLE_USER_INI' => 'on', 'PATH' => '/usr/local/bin:/usr/bin:/bin', 'TEMP' => '/tmp', 'TMP' => '/tmp', 'TMPDIR' => '/tmp', 'PWD' => '/', 'HTTP_ACCEPT' => '*/*', 'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate', 'CONTENT_LENGTH' => '0', 'HTTP_HOST' => 'victorysaintlucia.com', 'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', 'HTTP_X_HTTPS' => '1', 'REDIRECT_REDIRECT_UNIQUE_ID' => 'aBrJutbDv9jO54QXnZCHRwAACUA', 'REDIRECT_REDIRECT_QS_ConnectionId' => '174658604229080268243418', 'REDIRECT_REDIRECT_SCRIPT_URL' => '/event-manager/events/events-feed', 'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://victorysaintlucia.com/event-manager/events/events-feed', 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'victorysaintlucia.com', 'REDIRECT_REDIRECT_HTTP2' => 'on', 'REDIRECT_REDIRECT_H2PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSH' => 'off', 'REDIRECT_REDIRECT_H2_PUSHED' => '', 'REDIRECT_REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_REDIRECT_H2_STREAM_TAG' => '243418-1594-3', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_UNIQUE_ID' => 'aBrJutbDv9jO54QXnZCHRwAACUA', 'REDIRECT_QS_ConnectionId' => '174658604229080268243418', 'REDIRECT_SCRIPT_URL' => '/event-manager/events/events-feed', 'REDIRECT_SCRIPT_URI' => 'https://victorysaintlucia.com/event-manager/events/events-feed', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'victorysaintlucia.com', 'REDIRECT_HTTP2' => 'on', 'REDIRECT_H2PUSH' => 'off', 'REDIRECT_H2_PUSH' => 'off', 'REDIRECT_H2_PUSHED' => '', 'REDIRECT_H2_PUSHED_ON' => '', 'REDIRECT_H2_STREAM_ID' => '3', 'REDIRECT_H2_STREAM_TAG' => '243418-1594-3', 'REDIRECT_STATUS' => '200', 'UNIQUE_ID' => 'aBrJutbDv9jO54QXnZCHRwAACUA', 'QS_ConnectionId' => '174658604229080268243418', 'SCRIPT_URL' => '/event-manager/events/events-feed', 'SCRIPT_URI' => 'https://victorysaintlucia.com/event-manager/events/events-feed', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'victorysaintlucia.com', 'HTTP2' => 'on', 'H2PUSH' => 'off', 'H2_PUSH' => 'off', 'H2_PUSHED' => '', 'H2_PUSHED_ON' => '', 'H2_STREAM_ID' => '3', 'H2_STREAM_TAG' => '243418-1594-3', 'SERVER_SIGNATURE' => '', 'SERVER_SOFTWARE' => 'Apache', 'SERVER_NAME' => 'victorysaintlucia.com', 'SERVER_ADDR' => '192.185.74.10', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '18.223.188.252', 'DOCUMENT_ROOT' => '/home2/victoryslu/public_html', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/home2/victoryslu/public_html', 'SERVER_ADMIN' => 'webmaster@victorysaintlucia.com', 'SCRIPT_FILENAME' => '/home2/victoryslu/public_html/webroot/index.php', 'REMOTE_PORT' => '21184', 'REDIRECT_URL' => '/webroot/event-manager/events/events-feed', 'SERVER_PROTOCOL' => 'HTTP/2.0', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/event-manager/events/events-feed', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1746586042.3065, 'REQUEST_TIME' => (int) 1746586042, 'argv' => [], 'argc' => (int) 0 ] [private] uploadedFiles => [] [private] protocol => '2.0' [private] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => true } [private] method => 'GET' [private] requestTarget => null [private] uri => object(Zend\Diactoros\Uri) { [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'victorysaintlucia.com' [private] port => null [private] path => '/event-manager/events/events-feed' [private] query => '' [private] fragment => '' [private] uriString => null } } object(Zend\Diactoros\Response) { [protected] headers => [] [protected] headerNames => [] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => '' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) { [protected] resource => resource [protected] stream => 'php://memory' } }
$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
Confirm you have created the file: "Events/events_feed.ctp" in one of the following paths:
If you want to customize this error message, create src/Template/Error/missing_template.ctp