Notice (8): Trying to get property 'photo' of non-object [APP/Template/Pages/post.ctp, line 8]Code Context<?php
if($post->photo != ''){
?>
$viewFile = '/var/www/jorgepartal.com/public_html/src/Template/Pages/post.ctp' $dataForView = [ 'menu_active' => (int) 6, 'post' => null, 'post_categories' => object(Cake\ORM\ResultSet) { 'items' => [ [maximum depth reached] ] }, 'url_admin' => null, 'last_posts' => object(Cake\ORM\ResultSet) { 'items' => [[maximum depth reached]] }, 'meta_type' => 'article', 'meta_title' => null, 'description' => '', 'title' => 'Blog Jorge Partal || || ' ] $menu_active = (int) 6 $post = null $post_categories = object(Cake\ORM\ResultSet) { 'items' => [ (int) 0 => object(App\Model\Entity\PostCategory) {} ] } $url_admin = null $last_posts = object(Cake\ORM\ResultSet) { 'items' => [] } $meta_type = 'article' $meta_title = null $description = '' $title = 'Blog Jorge Partal || || 'include - APP/Template/Pages/post.ctp, line 8 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1240 Cake\View\View::_render() - CORE/src/View/View.php, line 1201 Cake\View\View::render() - CORE/src/View/View.php, line 803 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 790 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156 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 AssetCompress\Middleware\AssetCompressMiddleware::__invoke() - ROOT/vendor/markstory/asset_compress/src/Middleware/AssetCompressMiddleware.php, line 57 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Notice (8): Trying to get property 'slug' of non-object [APP/Template/Pages/post.ctp, line 17]Code Context <h3 class="blog-post-title">
<a href="<?= $this->Url->build('/post/'.$post->slug) ?>"><?= $post->title ?></a>
</h3>
$viewFile = '/var/www/jorgepartal.com/public_html/src/Template/Pages/post.ctp'
$dataForView = [
'menu_active' => (int) 6,
'post' => null,
'post_categories' => object(Cake\ORM\ResultSet) {
'items' => [
[maximum depth reached]
]
},
'url_admin' => null,
'last_posts' => object(Cake\ORM\ResultSet) {
'items' => [[maximum depth reached]]
},
'meta_type' => 'article',
'meta_title' => null,
'description' => '',
'title' => 'Blog Jorge Partal || || '
]
$menu_active = (int) 6
$post = null
$post_categories = object(Cake\ORM\ResultSet) {
'items' => [
(int) 0 => object(App\Model\Entity\PostCategory) {}
]
}
$url_admin = null
$last_posts = object(Cake\ORM\ResultSet) {
'items' => []
}
$meta_type = 'article'
$meta_title = null
$description = ''
$title = 'Blog Jorge Partal || || '
include - APP/Template/Pages/post.ctp, line 17
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1240
Cake\View\View::_render() - CORE/src/View/View.php, line 1201
Cake\View\View::render() - CORE/src/View/View.php, line 803
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 790
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156
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
AssetCompress\Middleware\AssetCompressMiddleware::__invoke() - ROOT/vendor/markstory/asset_compress/src/Middleware/AssetCompressMiddleware.php, line 57
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
/post/">Notice (8): Trying to get property 'title' of non-object [APP/Template/Pages/post.ctp, line 17]Code Context <h3 class="blog-post-title">
<a href="<?= $this->Url->build('/post/'.$post->slug) ?>"><?= $post->title ?></a>
</h3>
$viewFile = '/var/www/jorgepartal.com/public_html/src/Template/Pages/post.ctp'
$dataForView = [
'menu_active' => (int) 6,
'post' => null,
'post_categories' => object(Cake\ORM\ResultSet) {
'items' => [
[maximum depth reached]
]
},
'url_admin' => null,
'last_posts' => object(Cake\ORM\ResultSet) {
'items' => [[maximum depth reached]]
},
'meta_type' => 'article',
'meta_title' => null,
'description' => '',
'title' => 'Blog Jorge Partal || || '
]
$menu_active = (int) 6
$post = null
$post_categories = object(Cake\ORM\ResultSet) {
'items' => [
(int) 0 => object(App\Model\Entity\PostCategory) {}
]
}
$url_admin = null
$last_posts = object(Cake\ORM\ResultSet) {
'items' => []
}
$meta_type = 'article'
$meta_title = null
$description = ''
$title = 'Blog Jorge Partal || || '
include - APP/Template/Pages/post.ctp, line 17
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1240
Cake\View\View::_render() - CORE/src/View/View.php, line 1201
Cake\View\View::render() - CORE/src/View/View.php, line 803
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 790
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156
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
AssetCompress\Middleware\AssetCompressMiddleware::__invoke() - ROOT/vendor/markstory/asset_compress/src/Middleware/AssetCompressMiddleware.php, line 57
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
<h3 class="blog-post-title">
<a href="<?= $this->Url->build('/post/'.$post->slug) ?>"><?= $post->title ?></a>
</h3>
$viewFile = '/var/www/jorgepartal.com/public_html/src/Template/Pages/post.ctp' $dataForView = [ 'menu_active' => (int) 6, 'post' => null, 'post_categories' => object(Cake\ORM\ResultSet) { 'items' => [ [maximum depth reached] ] }, 'url_admin' => null, 'last_posts' => object(Cake\ORM\ResultSet) { 'items' => [[maximum depth reached]] }, 'meta_type' => 'article', 'meta_title' => null, 'description' => '', 'title' => 'Blog Jorge Partal || || ' ] $menu_active = (int) 6 $post = null $post_categories = object(Cake\ORM\ResultSet) { 'items' => [ (int) 0 => object(App\Model\Entity\PostCategory) {} ] } $url_admin = null $last_posts = object(Cake\ORM\ResultSet) { 'items' => [] } $meta_type = 'article' $meta_title = null $description = '' $title = 'Blog Jorge Partal || || '
include - APP/Template/Pages/post.ctp, line 17 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1240 Cake\View\View::_render() - CORE/src/View/View.php, line 1201 Cake\View\View::render() - CORE/src/View/View.php, line 803 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 790 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156 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 AssetCompress\Middleware\AssetCompressMiddleware::__invoke() - ROOT/vendor/markstory/asset_compress/src/Middleware/AssetCompressMiddleware.php, line 57 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Code Context
<h3 class="blog-post-title">
<a href="<?= $this->Url->build('/post/'.$post->slug) ?>"><?= $post->title ?></a>
</h3>
$viewFile = '/var/www/jorgepartal.com/public_html/src/Template/Pages/post.ctp' $dataForView = [ 'menu_active' => (int) 6, 'post' => null, 'post_categories' => object(Cake\ORM\ResultSet) { 'items' => [ [maximum depth reached] ] }, 'url_admin' => null, 'last_posts' => object(Cake\ORM\ResultSet) { 'items' => [[maximum depth reached]] }, 'meta_type' => 'article', 'meta_title' => null, 'description' => '', 'title' => 'Blog Jorge Partal || || ' ] $menu_active = (int) 6 $post = null $post_categories = object(Cake\ORM\ResultSet) { 'items' => [ (int) 0 => object(App\Model\Entity\PostCategory) {} ] } $url_admin = null $last_posts = object(Cake\ORM\ResultSet) { 'items' => [] } $meta_type = 'article' $meta_title = null $description = '' $title = 'Blog Jorge Partal || || '
include - APP/Template/Pages/post.ctp, line 17 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1240 Cake\View\View::_render() - CORE/src/View/View.php, line 1201 Cake\View\View::render() - CORE/src/View/View.php, line 803 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 790 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156 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 AssetCompress\Middleware\AssetCompressMiddleware::__invoke() - ROOT/vendor/markstory/asset_compress/src/Middleware/AssetCompressMiddleware.php, line 57 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
-
Notice (8): Trying to get property 'post_category' of non-object [APP/Template/Pages/post.ctp, line 21]
Code Context<li>
<i class="fa fa-user"></i> <?= $post->post_category->name ?></li>
<li>
$viewFile = '/var/www/jorgepartal.com/public_html/src/Template/Pages/post.ctp' $dataForView = [ 'menu_active' => (int) 6, 'post' => null, 'post_categories' => object(Cake\ORM\ResultSet) { 'items' => [ [maximum depth reached] ] }, 'url_admin' => null, 'last_posts' => object(Cake\ORM\ResultSet) { 'items' => [[maximum depth reached]] }, 'meta_type' => 'article', 'meta_title' => null, 'description' => '', 'title' => 'Blog Jorge Partal || || ' ] $menu_active = (int) 6 $post = null $post_categories = object(Cake\ORM\ResultSet) { 'items' => [ (int) 0 => object(App\Model\Entity\PostCategory) {} ] } $url_admin = null $last_posts = object(Cake\ORM\ResultSet) { 'items' => [] } $meta_type = 'article' $meta_title = null $description = '' $title = 'Blog Jorge Partal || || '
include - APP/Template/Pages/post.ctp, line 21 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1240 Cake\View\View::_render() - CORE/src/View/View.php, line 1201 Cake\View\View::render() - CORE/src/View/View.php, line 803 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 790 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156 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 AssetCompress\Middleware\AssetCompressMiddleware::__invoke() - ROOT/vendor/markstory/asset_compress/src/Middleware/AssetCompressMiddleware.php, line 57 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Notice (8): Trying to get property 'name' of non-object [APP/Template/Pages/post.ctp, line 21]
Code Context<li>
<i class="fa fa-user"></i> <?= $post->post_category->name ?></li>
<li>
$viewFile = '/var/www/jorgepartal.com/public_html/src/Template/Pages/post.ctp' $dataForView = [ 'menu_active' => (int) 6, 'post' => null, 'post_categories' => object(Cake\ORM\ResultSet) { 'items' => [ [maximum depth reached] ] }, 'url_admin' => null, 'last_posts' => object(Cake\ORM\ResultSet) { 'items' => [[maximum depth reached]] }, 'meta_type' => 'article', 'meta_title' => null, 'description' => '', 'title' => 'Blog Jorge Partal || || ' ] $menu_active = (int) 6 $post = null $post_categories = object(Cake\ORM\ResultSet) { 'items' => [ (int) 0 => object(App\Model\Entity\PostCategory) {} ] } $url_admin = null $last_posts = object(Cake\ORM\ResultSet) { 'items' => [] } $meta_type = 'article' $meta_title = null $description = '' $title = 'Blog Jorge Partal || || '
include - APP/Template/Pages/post.ctp, line 21 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1240 Cake\View\View::_render() - CORE/src/View/View.php, line 1201 Cake\View\View::render() - CORE/src/View/View.php, line 803 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 790 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156 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 AssetCompress\Middleware\AssetCompressMiddleware::__invoke() - ROOT/vendor/markstory/asset_compress/src/Middleware/AssetCompressMiddleware.php, line 57 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
-
Notice (8): Trying to get property 'publishing_date' of non-object [APP/Template/Pages/post.ctp, line 23]
Code Context<li>
<i class="fa fa-clock-o"></i><?= $post->publishing_date->format('d-m-Y') ?></li>
</ul>
$viewFile = '/var/www/jorgepartal.com/public_html/src/Template/Pages/post.ctp' $dataForView = [ 'menu_active' => (int) 6, 'post' => null, 'post_categories' => object(Cake\ORM\ResultSet) { 'items' => [ [maximum depth reached] ] }, 'url_admin' => null, 'last_posts' => object(Cake\ORM\ResultSet) { 'items' => [[maximum depth reached]] }, 'meta_type' => 'article', 'meta_title' => null, 'description' => '', 'title' => 'Blog Jorge Partal || || ' ] $menu_active = (int) 6 $post = null $post_categories = object(Cake\ORM\ResultSet) { 'items' => [ (int) 0 => object(App\Model\Entity\PostCategory) {} ] } $url_admin = null $last_posts = object(Cake\ORM\ResultSet) { 'items' => [] } $meta_type = 'article' $meta_title = null $description = '' $title = 'Blog Jorge Partal || || '
include - APP/Template/Pages/post.ctp, line 23 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1240 Cake\View\View::_render() - CORE/src/View/View.php, line 1201 Cake\View\View::render() - CORE/src/View/View.php, line 803 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 790 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156 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 AssetCompress\Middleware\AssetCompressMiddleware::__invoke() - ROOT/vendor/markstory/asset_compress/src/Middleware/AssetCompressMiddleware.php, line 57 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Warning (512): Unable to emit headers. Headers sent in file=/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php line=853 [CORE/src/Http/ResponseEmitter.php, line 48]
Code Contextif (Configure::read('debug')) {
trigger_error($message, E_USER_WARNING);
} else {
$response = object(Cake\Http\Response) { 'status' => (int) 500, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ [maximum depth reached] ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) {}, 'cacheDirectives' => [], 'body' => '<!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title> Error: Call to a member function format() on null </title> <link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/> <style> body { font: 14px helvetica, arial, sans-serif; color: #222; background-color: #f8f8f8; padding:0; margin: 0; max-height: 100%; } .code-dump, pre { background: #fefefe; border: 1px solid #ddd; padding: 5px; white-space: pre-wrap; } header { background-color: #C3232D; color: #ffffff; padding: 16px 10px; border-bottom: 3px solid #626262; } .header-title { margin: 0; font-weight: normal; font-size: 30px; line-height: 64px; } .header-type { opacity: 0.75; display: block; font-size: 16px; line-height: 1; } .header-help { font-size: 12px; line-height: 1; position: absolute; top: 30px; right: 16px; } .header-help a { color: #fff; } .error-nav { float: left; width: 30%; } .error-contents { padding: 10px 1%; float: right; width: 68%; } .error, .error-subheading { font-size: 18px; margin-top: 0; padding: 10px; border: 1px solid #EDBD26; } .error-subheading { background: #1798A5; color: #fff; border: 1px solid #02808C; } .error { background: #ffd54f; } .customize { opacity: 0.6; } .stack-trace { list-style: none; margin: 0; padding: 0; } .stack-frame { padding: 10px; border-bottom: 1px solid #212121; } .stack-frame:last-child { border-bottom: none; } .stack-frame a { display: block; color: #212121; text-decoration: none; } .stack-frame.active { background: #e5e5e5; } .stack-frame a:hover { text-decoration: underline; } .stack-file, .stack-function { display: block; margin-bottom: 5px; } .stack-frame-file, .stack-file { font-family: consolas, monospace; } .stack-function { font-weight: bold; } .stack-file { font-size: 0.9em; word-wrap: break-word; } .stack-details { background: #ececec; box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); border: 1px solid #ababab; padding: 10px; margin-bottom: 18px; } .stack-frame-args { float: right; } .toggle-link { color: #1798A5; text-decoration: none; } .toggle-link:hover { text-decoration: underline; } .toggle-vendor-frames { padding: 5px; display: block; text-align: center; } .code-excerpt { width: 100%; margin: 5px 0; background: #fefefe; } .code-highlight { display: block; background: #fff59d; } .excerpt-line { padding-left: 2px; } .excerpt-number { background: #f6f6f6; width: 50px; text-align: right; color: #666; border-right: 1px solid #ddd; padding: 2px; } .excerpt-number:after { content: attr(data-number); } table { text-align: left; } th, td { padding: 4px; } th { border-bottom: 1px solid #ccc; } </style> </head> <body> <header> <h1 class="header-title"> Call to a member function format() on null <span class="header-type">Error</span> </h1> <div class="header-help"> <a target="_blank" href="https://book.cakephp.org/3.0/">Documentation</a> <a target="_blank" href="https://api.cakephp.org/">API</a> </div> </header> <div class="error-contents"> <div id="stack-frame-0" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/View/View.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-0">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="1236"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1237"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> extract</span><span style="color: #007700">(</span><span style="color: #0000BB">$dataForView</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1238"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> ob_start</span><span style="color: #007700">();</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1239"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1240"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">include </span><span style="color: #0000BB">func_get_arg</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="1241"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1242"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">ob_get_clean</span><span style="color: #007700">();</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1243"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1244"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> </table> <div id="stack-args-0" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-1" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/View/View.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-1">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="1197"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $initialBlocks </span><span style="color: #007700">= </span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Blocks</span><span style="color: #007700">-></span><span style="color: #0000BB">unclosed</span><span style="color: #007700">());</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1198"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1199"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'View.beforeRenderFile'</span><span style="color: #007700">, [</span><span style="color: #0000BB">$viewFile</span><span style="color: #007700">]);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1200"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1201"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $content </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_evaluate</span><span style="color: #007700">(</span><span style="color: #0000BB">$viewFile</span><span style="color: #007700">, </span><span style="color: #0000BB">$data</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="1202"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1203"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $afterEvent </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'View.afterRenderFile'</span><span style="color: #007700">, [</span><span style="color: #0000BB">$viewFile</span><span style="color: #007700">, </span><span style="color: #0000BB">$content</span><span style="color: #007700">]);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1204"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$afterEvent</span><span style="color: #007700">-></span><span style="color: #0000BB">getResult</span><span style="color: #007700">() !== </span><span style="color: #0000BB">null</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1205"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $content </span><span style="color: #007700">= </span><span style="color: #0000BB">$afterEvent</span><span style="color: #007700">-></span><span style="color: #0000BB">getResult</span><span style="color: #007700">();</span></span></code></td> </tr> </table> <div id="stack-args-1" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-2" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/View/View.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-2">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="799"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $viewFileName </span><span style="color: #007700">= </span><span style="color: #0000BB">$view </span><span style="color: #007700">!== </span><span style="color: #0000BB">false </span><span style="color: #007700">? </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_getViewFileName</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</span><span style="color: #007700">) : </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="800"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$viewFileName</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="801"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_currentType </span><span style="color: #007700">= static::</span><span style="color: #0000BB">TYPE_TEMPLATE</span><span style="color: #007700">;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="802"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'View.beforeRender'</span><span style="color: #007700">, [</span><span style="color: #0000BB">$viewFileName</span><span style="color: #007700">]);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="803"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Blocks</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'content'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_render</span><span style="color: #007700">(</span><span style="color: #0000BB">$viewFileName</span><span style="color: #007700">));</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="804"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'View.afterRender'</span><span style="color: #007700">, [</span><span style="color: #0000BB">$viewFileName</span><span style="color: #007700">]);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="805"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="806"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="807"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">layout </span><span style="color: #007700">&& </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">autoLayout</span><span style="color: #007700">) {</span></span></code></td> </tr> </table> <div id="stack-args-2" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-3" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Controller/Controller.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-3">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="786"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $builder</span><span style="color: #007700">-></span><span style="color: #0000BB">setTemplate</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'action'</span><span style="color: #007700">));</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="787"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="788"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="789"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">View </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">createView</span><span style="color: #007700">();</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="790"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $contents </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">View</span><span style="color: #007700">-></span><span style="color: #0000BB">render</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</span><span style="color: #007700">, </span><span style="color: #0000BB">$layout</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="791"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">View</span><span style="color: #007700">-></span><span style="color: #0000BB">response</span><span style="color: #007700">-></span><span style="color: #0000BB">withStringBody</span><span style="color: #007700">(</span><span style="color: #0000BB">$contents</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="792"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="793"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">response</span><span style="color: #007700">;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="794"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> </table> <div id="stack-args-3" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-4" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-4">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="122"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw new </span><span style="color: #0000BB">LogicException</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller actions can only return Cake\Http\Response or null.'</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="123"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="124"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="125"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$response </span><span style="color: #007700">&& </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">isAutoRenderEnabled</span><span style="color: #007700">()) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="126"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">render</span><span style="color: #007700">();</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="127"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="128"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="129"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">shutdownProcess</span><span style="color: #007700">();</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="130"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">Response</span><span style="color: #007700">) {</span></span></code></td> </tr> </table> <div id="stack-args-4" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-5" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-5">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="90"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="91"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">factory</span><span style="color: #007700">-></span><span style="color: #0000BB">create</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="92"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="93"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="94"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="95"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'return'</span><span style="color: #007700">)) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="96"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="97"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="98"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> </table> <div id="stack-args-5" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-6" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/BaseApplication.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-6">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="231"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return \</span><span style="color: #0000BB">Psr</span><span style="color: #007700">\</span><span style="color: #0000BB">Http</span><span style="color: #007700">\</span><span style="color: #0000BB">Message</span><span style="color: #007700">\</span><span style="color: #0000BB">ResponseInterface</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="232"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="233"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">ServerRequestInterface $request</span><span style="color: #007700">, </span><span style="color: #0000BB">ResponseInterface $response</span><span style="color: #007700">, </span><span style="color: #0000BB">$next</span><span style="color: #007700">)</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="234"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="235"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDispatcher</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="236"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="237"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="238"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="239"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Get the ActionDispatcher</span><span style="color: #007700">.</span></span></code></td> </tr> </table> <div id="stack-args-6" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-7" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-7">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="61"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="62"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="63"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="64"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="65"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="66"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="67"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="68"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="69"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td> </tr> </table> <div id="stack-args-7" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-8" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-8">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="152"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="153"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="154"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $matching </span><span style="color: #007700">= </span><span style="color: #0000BB">Router</span><span style="color: #007700">::</span><span style="color: #0000BB">getRouteCollection</span><span style="color: #007700">()-></span><span style="color: #0000BB">getMiddleware</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="155"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$matching</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="156"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="157"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="158"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $matching</span><span style="color: #007700">[] = </span><span style="color: #0000BB">$next</span><span style="color: #007700">;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="159"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= new </span><span style="color: #0000BB">MiddlewareQueue</span><span style="color: #007700">(</span><span style="color: #0000BB">$matching</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="160"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $runner </span><span style="color: #007700">= new </span><span style="color: #0000BB">Runner</span><span style="color: #007700">();</span></span></code></td> </tr> </table> <div id="stack-args-8" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-9" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-9">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="61"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="62"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="63"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="64"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="65"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="66"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="67"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="68"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="69"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td> </tr> </table> <div id="stack-args-9" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-10" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-10">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="84"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$next</span><span style="color: #007700">)</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="85"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="86"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $url </span><span style="color: #007700">= </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getUri</span><span style="color: #007700">()-></span><span style="color: #0000BB">getPath</span><span style="color: #007700">();</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="87"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'..'</span><span style="color: #007700">) !== </span><span style="color: #0000BB">false </span><span style="color: #007700">|| </span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'.'</span><span style="color: #007700">) === </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="88"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="89"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="90"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="91"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'/.'</span><span style="color: #007700">) !== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="92"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td> </tr> </table> <div id="stack-args-10" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-11" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-11">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="61"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="62"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="63"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="64"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="65"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="66"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="67"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="68"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="69"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td> </tr> </table> <div id="stack-args-11" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-12" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/markstory/asset_compress/src/Middleware/AssetCompressMiddleware.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-12">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="53"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="54"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// Make sure the request looks like an asset.</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="55"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $targetName </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getName</span><span style="color: #007700">(</span><span style="color: #0000BB">$config</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getUri</span><span style="color: #007700">()-></span><span style="color: #0000BB">getPath</span><span style="color: #007700">());</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="56"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$targetName</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="57"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="58"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="59"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="60"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $queryParams </span><span style="color: #007700">= </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getQueryParams</span><span style="color: #007700">();</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="61"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$queryParams</span><span style="color: #007700">[</span><span style="color: #DD0000">'theme'</span><span style="color: #007700">])) {</span></span></code></td> </tr> </table> <div id="stack-args-12" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-13" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-13">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="61"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="62"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="63"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="64"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="65"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="66"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="67"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="68"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="69"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td> </tr> </table> <div id="stack-args-13" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-14" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-14">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="94"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="95"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$next</span><span style="color: #007700">)</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="96"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="97"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="98"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="99"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Throwable $exception</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="100"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handleException</span><span style="color: #007700">(</span><span style="color: #0000BB">$exception</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="101"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Exception $exception</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="102"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handleException</span><span style="color: #007700">(</span><span style="color: #0000BB">$exception</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td> </tr> </table> <div id="stack-args-14" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-15" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-15">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="61"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="62"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="63"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="64"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="65"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="66"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="67"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="68"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="69"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td> </tr> </table> <div id="stack-args-15" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-16" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-16">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="47"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="48"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="49"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="50"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="51"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="52"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="53"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="54"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="55"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">param </span><span style="color: #007700">\</span><span style="color: #0000BB">Psr</span><span style="color: #007700">\</span><span style="color: #0000BB">Http</span><span style="color: #007700">\</span><span style="color: #0000BB">Message</span><span style="color: #007700">\</span><span style="color: #0000BB">ServerRequestInterface $request The server request</span></span></code></td> </tr> </table> <div id="stack-args-16" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-17" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/Server.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-17">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="94"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="95"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Server.buildMiddleware'</span><span style="color: #007700">, [</span><span style="color: #DD0000">'middleware' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">]);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="96"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">add</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">app</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="97"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="98"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">runner</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="99"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="100"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!(</span><span style="color: #0000BB">$response </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">ResponseInterface</span><span style="color: #007700">)) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="101"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw new </span><span style="color: #0000BB">RuntimeException</span><span style="color: #007700">(</span><span style="color: #0000BB">sprintf</span><span style="color: #007700">(</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="102"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'Application did not create a response. Got "%s" instead.'</span><span style="color: #007700">,</span></span></code></td> </tr> </table> <div id="stack-args-17" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-18" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/webroot/index.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-18">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="36"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Bind your application to the server.</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="37"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">$server </span><span style="color: #007700">= new </span><span style="color: #0000BB">Server</span><span style="color: #007700">(new </span><span style="color: #0000BB">Application</span><span style="color: #007700">(</span><span style="color: #0000BB">dirname</span><span style="color: #007700">(</span><span style="color: #0000BB">__DIR__</span><span style="color: #007700">) . </span><span style="color: #DD0000">'/config'</span><span style="color: #007700">));</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="38"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="39"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Run the request/response through the application and emit the response.</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="40"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">emit</span><span style="color: #007700">(</span><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">());</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="41"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> </table> <div id="stack-args-18" style="display: none;"> <pre>No arguments</pre> </div> </div> <div class="error-suggestion"> <strong>Error in: </strong> ROOT/src/Template/Pages/post.ctp, line 23 </div> <p class="customize"> If you want to customize this error message, create <em>src/Template/Error/error500.ctp</em> </p> </div> <div class="error-nav"> <a href="#" class="toggle-link toggle-vendor-frames">toggle vendor stack frames</a> <ul class="stack-trace"> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-0"> <span class="stack-function">⟩ include</span> <span class="stack-file"> CORE/src/View/View.php, line 1240 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-1"> <span class="stack-function">⟩ Cake\View\View->_evaluate</span> <span class="stack-file"> CORE/src/View/View.php, line 1201 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-2"> <span class="stack-function">⟩ Cake\View\View->_render</span> <span class="stack-file"> CORE/src/View/View.php, line 803 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-3"> <span class="stack-function">⟩ Cake\View\View->render</span> <span class="stack-file"> CORE/src/Controller/Controller.php, line 790 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-4"> <span class="stack-function">⟩ Cake\Controller\Controller->render</span> <span class="stack-file"> CORE/src/Http/ActionDispatcher.php, line 126 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-5"> <span class="stack-function">⟩ Cake\Http\ActionDispatcher->_invoke</span> <span class="stack-file"> CORE/src/Http/ActionDispatcher.php, line 94 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-6"> <span class="stack-function">⟩ Cake\Http\ActionDispatcher->dispatch</span> <span class="stack-file"> CORE/src/Http/BaseApplication.php, line 235 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-7"> <span class="stack-function">⟩ Cake\Http\BaseApplication->__invoke</span> <span class="stack-file"> CORE/src/Http/Runner.php, line 65 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-8"> <span class="stack-function">⟩ Cake\Http\Runner->__invoke</span> <span class="stack-file"> CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-9"> <span class="stack-function">⟩ Cake\Routing\Middleware\RoutingMiddleware->__invoke</span> <span class="stack-file"> CORE/src/Http/Runner.php, line 65 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-10"> <span class="stack-function">⟩ Cake\Http\Runner->__invoke</span> <span class="stack-file"> CORE/src/Routing/Middleware/AssetMiddleware.php, line 88 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-11"> <span class="stack-function">⟩ Cake\Routing\Middleware\AssetMiddleware->__invoke</span> <span class="stack-file"> CORE/src/Http/Runner.php, line 65 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-12"> <span class="stack-function">⟩ Cake\Http\Runner->__invoke</span> <span class="stack-file"> ROOT/vendor/markstory/asset_compress/src/Middleware/AssetCompressMiddleware.php, line 57 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-13"> <span class="stack-function">⟩ AssetCompress\Middleware\AssetCompressMiddleware->__invoke</span> <span class="stack-file"> CORE/src/Http/Runner.php, line 65 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-14"> <span class="stack-function">⟩ Cake\Http\Runner->__invoke</span> <span class="stack-file"> CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-15"> <span class="stack-function">⟩ Cake\Error\Middleware\ErrorHandlerMiddleware->__invoke</span> <span class="stack-file"> CORE/src/Http/Runner.php, line 65 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-16"> <span class="stack-function">⟩ Cake\Http\Runner->__invoke</span> <span class="stack-file"> CORE/src/Http/Runner.php, line 51 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-17"> <span class="stack-function">⟩ Cake\Http\Runner->run</span> <span class="stack-file"> CORE/src/Http/Server.php, line 98 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-18"> <span class="stack-function">⟩ Cake\Http\Server->run</span> <span class="stack-file"> ROOT/webroot/index.php, line 40 </span> </a> </li> </ul> </div> <script type="text/javascript"> function bindEvent(selector, eventName, listener) { var els = document.querySelectorAll(selector); for (var i = 0, len = els.length; i < len; i++) { els[i].addEventListener(eventName, listener, false); } } function toggleElement(el) { if (el.style.display === 'none') { el.style.display = 'block'; } else { el.style.display = 'none'; } } function each(els, cb) { var i, len; for (i = 0, len = els.length; i < len; i++) { cb(els[i], i); } } window.addEventListener('load', function() { bindEvent('.stack-frame-args', 'click', function(event) { var target = this.dataset['target']; var el = document.getElementById(target); toggleElement(el); event.preventDefault(); }); var details = document.querySelectorAll('.stack-details'); var frames = document.querySelectorAll('.stack-frame'); bindEvent('.stack-frame a', 'click', function(event) { each(frames, function(el) { el.classList.remove('active'); }); this.parentNode.classList.add('active'); each(details, function(el) { el.style.display = 'none'; }); var target = document.getElementById(this.dataset['target']); toggleElement(target); event.preventDefault(); }); bindEvent('.toggle-vendor-frames', 'click', function(event) { each(frames, function(el) { if (el.classList.contains('vendor-frame')) { toggleElement(el); } }); event.preventDefault(); }); }); </script> </body> </html> ' } $maxBufferLength = (int) 8192 $file = '/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php' $line = (int) 853 $message = 'Unable to emit headers. Headers sent in file=/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php line=853'
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 48 Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 141 [main] - ROOT/webroot/index.php, line 40
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:853) [CORE/src/Http/ResponseEmitter.php, line 148]
Code Context$response->getStatusCode(),
($reasonPhrase ? ' ' . $reasonPhrase : '')
));
$response = object(Cake\Http\Response) { 'status' => (int) 500, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ [maximum depth reached] ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) {}, 'cacheDirectives' => [], 'body' => '<!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title> Error: Call to a member function format() on null </title> <link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/> <style> body { font: 14px helvetica, arial, sans-serif; color: #222; background-color: #f8f8f8; padding:0; margin: 0; max-height: 100%; } .code-dump, pre { background: #fefefe; border: 1px solid #ddd; padding: 5px; white-space: pre-wrap; } header { background-color: #C3232D; color: #ffffff; padding: 16px 10px; border-bottom: 3px solid #626262; } .header-title { margin: 0; font-weight: normal; font-size: 30px; line-height: 64px; } .header-type { opacity: 0.75; display: block; font-size: 16px; line-height: 1; } .header-help { font-size: 12px; line-height: 1; position: absolute; top: 30px; right: 16px; } .header-help a { color: #fff; } .error-nav { float: left; width: 30%; } .error-contents { padding: 10px 1%; float: right; width: 68%; } .error, .error-subheading { font-size: 18px; margin-top: 0; padding: 10px; border: 1px solid #EDBD26; } .error-subheading { background: #1798A5; color: #fff; border: 1px solid #02808C; } .error { background: #ffd54f; } .customize { opacity: 0.6; } .stack-trace { list-style: none; margin: 0; padding: 0; } .stack-frame { padding: 10px; border-bottom: 1px solid #212121; } .stack-frame:last-child { border-bottom: none; } .stack-frame a { display: block; color: #212121; text-decoration: none; } .stack-frame.active { background: #e5e5e5; } .stack-frame a:hover { text-decoration: underline; } .stack-file, .stack-function { display: block; margin-bottom: 5px; } .stack-frame-file, .stack-file { font-family: consolas, monospace; } .stack-function { font-weight: bold; } .stack-file { font-size: 0.9em; word-wrap: break-word; } .stack-details { background: #ececec; box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); border: 1px solid #ababab; padding: 10px; margin-bottom: 18px; } .stack-frame-args { float: right; } .toggle-link { color: #1798A5; text-decoration: none; } .toggle-link:hover { text-decoration: underline; } .toggle-vendor-frames { padding: 5px; display: block; text-align: center; } .code-excerpt { width: 100%; margin: 5px 0; background: #fefefe; } .code-highlight { display: block; background: #fff59d; } .excerpt-line { padding-left: 2px; } .excerpt-number { background: #f6f6f6; width: 50px; text-align: right; color: #666; border-right: 1px solid #ddd; padding: 2px; } .excerpt-number:after { content: attr(data-number); } table { text-align: left; } th, td { padding: 4px; } th { border-bottom: 1px solid #ccc; } </style> </head> <body> <header> <h1 class="header-title"> Call to a member function format() on null <span class="header-type">Error</span> </h1> <div class="header-help"> <a target="_blank" href="https://book.cakephp.org/3.0/">Documentation</a> <a target="_blank" href="https://api.cakephp.org/">API</a> </div> </header> <div class="error-contents"> <div id="stack-frame-0" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/View/View.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-0">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="1236"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1237"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> extract</span><span style="color: #007700">(</span><span style="color: #0000BB">$dataForView</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1238"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> ob_start</span><span style="color: #007700">();</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1239"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1240"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">include </span><span style="color: #0000BB">func_get_arg</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="1241"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1242"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">ob_get_clean</span><span style="color: #007700">();</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1243"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1244"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> </table> <div id="stack-args-0" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-1" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/View/View.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-1">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="1197"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $initialBlocks </span><span style="color: #007700">= </span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Blocks</span><span style="color: #007700">-></span><span style="color: #0000BB">unclosed</span><span style="color: #007700">());</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1198"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1199"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'View.beforeRenderFile'</span><span style="color: #007700">, [</span><span style="color: #0000BB">$viewFile</span><span style="color: #007700">]);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1200"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1201"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $content </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_evaluate</span><span style="color: #007700">(</span><span style="color: #0000BB">$viewFile</span><span style="color: #007700">, </span><span style="color: #0000BB">$data</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="1202"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1203"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $afterEvent </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'View.afterRenderFile'</span><span style="color: #007700">, [</span><span style="color: #0000BB">$viewFile</span><span style="color: #007700">, </span><span style="color: #0000BB">$content</span><span style="color: #007700">]);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1204"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$afterEvent</span><span style="color: #007700">-></span><span style="color: #0000BB">getResult</span><span style="color: #007700">() !== </span><span style="color: #0000BB">null</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1205"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $content </span><span style="color: #007700">= </span><span style="color: #0000BB">$afterEvent</span><span style="color: #007700">-></span><span style="color: #0000BB">getResult</span><span style="color: #007700">();</span></span></code></td> </tr> </table> <div id="stack-args-1" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-2" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/View/View.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-2">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="799"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $viewFileName </span><span style="color: #007700">= </span><span style="color: #0000BB">$view </span><span style="color: #007700">!== </span><span style="color: #0000BB">false </span><span style="color: #007700">? </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_getViewFileName</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</span><span style="color: #007700">) : </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="800"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$viewFileName</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="801"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_currentType </span><span style="color: #007700">= static::</span><span style="color: #0000BB">TYPE_TEMPLATE</span><span style="color: #007700">;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="802"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'View.beforeRender'</span><span style="color: #007700">, [</span><span style="color: #0000BB">$viewFileName</span><span style="color: #007700">]);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="803"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Blocks</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'content'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_render</span><span style="color: #007700">(</span><span style="color: #0000BB">$viewFileName</span><span style="color: #007700">));</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="804"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'View.afterRender'</span><span style="color: #007700">, [</span><span style="color: #0000BB">$viewFileName</span><span style="color: #007700">]);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="805"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="806"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="807"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">layout </span><span style="color: #007700">&& </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">autoLayout</span><span style="color: #007700">) {</span></span></code></td> </tr> </table> <div id="stack-args-2" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-3" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Controller/Controller.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-3">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="786"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $builder</span><span style="color: #007700">-></span><span style="color: #0000BB">setTemplate</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'action'</span><span style="color: #007700">));</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="787"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="788"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="789"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">View </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">createView</span><span style="color: #007700">();</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="790"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $contents </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">View</span><span style="color: #007700">-></span><span style="color: #0000BB">render</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</span><span style="color: #007700">, </span><span style="color: #0000BB">$layout</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="791"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">View</span><span style="color: #007700">-></span><span style="color: #0000BB">response</span><span style="color: #007700">-></span><span style="color: #0000BB">withStringBody</span><span style="color: #007700">(</span><span style="color: #0000BB">$contents</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="792"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="793"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">response</span><span style="color: #007700">;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="794"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> </table> <div id="stack-args-3" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-4" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-4">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="122"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw new </span><span style="color: #0000BB">LogicException</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller actions can only return Cake\Http\Response or null.'</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="123"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="124"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="125"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$response </span><span style="color: #007700">&& </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">isAutoRenderEnabled</span><span style="color: #007700">()) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="126"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">render</span><span style="color: #007700">();</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="127"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="128"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="129"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">shutdownProcess</span><span style="color: #007700">();</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="130"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">Response</span><span style="color: #007700">) {</span></span></code></td> </tr> </table> <div id="stack-args-4" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-5" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-5">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="90"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="91"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">factory</span><span style="color: #007700">-></span><span style="color: #0000BB">create</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="92"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="93"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="94"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="95"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'return'</span><span style="color: #007700">)) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="96"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="97"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="98"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> </table> <div id="stack-args-5" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-6" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/BaseApplication.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-6">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="231"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return \</span><span style="color: #0000BB">Psr</span><span style="color: #007700">\</span><span style="color: #0000BB">Http</span><span style="color: #007700">\</span><span style="color: #0000BB">Message</span><span style="color: #007700">\</span><span style="color: #0000BB">ResponseInterface</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="232"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="233"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">ServerRequestInterface $request</span><span style="color: #007700">, </span><span style="color: #0000BB">ResponseInterface $response</span><span style="color: #007700">, </span><span style="color: #0000BB">$next</span><span style="color: #007700">)</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="234"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="235"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDispatcher</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="236"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="237"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="238"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="239"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Get the ActionDispatcher</span><span style="color: #007700">.</span></span></code></td> </tr> </table> <div id="stack-args-6" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-7" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-7">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="61"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="62"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="63"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="64"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="65"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="66"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="67"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="68"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="69"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td> </tr> </table> <div id="stack-args-7" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-8" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-8">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="152"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="153"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="154"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $matching </span><span style="color: #007700">= </span><span style="color: #0000BB">Router</span><span style="color: #007700">::</span><span style="color: #0000BB">getRouteCollection</span><span style="color: #007700">()-></span><span style="color: #0000BB">getMiddleware</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="155"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$matching</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="156"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="157"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="158"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $matching</span><span style="color: #007700">[] = </span><span style="color: #0000BB">$next</span><span style="color: #007700">;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="159"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= new </span><span style="color: #0000BB">MiddlewareQueue</span><span style="color: #007700">(</span><span style="color: #0000BB">$matching</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="160"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $runner </span><span style="color: #007700">= new </span><span style="color: #0000BB">Runner</span><span style="color: #007700">();</span></span></code></td> </tr> </table> <div id="stack-args-8" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-9" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-9">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="61"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="62"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="63"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="64"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="65"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="66"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="67"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="68"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="69"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td> </tr> </table> <div id="stack-args-9" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-10" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-10">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="84"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$next</span><span style="color: #007700">)</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="85"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="86"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $url </span><span style="color: #007700">= </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getUri</span><span style="color: #007700">()-></span><span style="color: #0000BB">getPath</span><span style="color: #007700">();</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="87"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'..'</span><span style="color: #007700">) !== </span><span style="color: #0000BB">false </span><span style="color: #007700">|| </span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'.'</span><span style="color: #007700">) === </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="88"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="89"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="90"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="91"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'/.'</span><span style="color: #007700">) !== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="92"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td> </tr> </table> <div id="stack-args-10" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-11" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-11">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="61"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="62"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="63"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="64"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="65"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="66"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="67"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="68"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="69"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td> </tr> </table> <div id="stack-args-11" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-12" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/markstory/asset_compress/src/Middleware/AssetCompressMiddleware.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-12">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="53"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="54"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// Make sure the request looks like an asset.</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="55"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $targetName </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getName</span><span style="color: #007700">(</span><span style="color: #0000BB">$config</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getUri</span><span style="color: #007700">()-></span><span style="color: #0000BB">getPath</span><span style="color: #007700">());</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="56"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$targetName</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="57"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="58"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="59"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="60"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $queryParams </span><span style="color: #007700">= </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getQueryParams</span><span style="color: #007700">();</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="61"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$queryParams</span><span style="color: #007700">[</span><span style="color: #DD0000">'theme'</span><span style="color: #007700">])) {</span></span></code></td> </tr> </table> <div id="stack-args-12" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-13" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-13">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="61"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="62"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="63"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="64"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="65"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="66"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="67"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="68"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="69"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td> </tr> </table> <div id="stack-args-13" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-14" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-14">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="94"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="95"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$next</span><span style="color: #007700">)</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="96"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="97"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="98"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="99"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Throwable $exception</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="100"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handleException</span><span style="color: #007700">(</span><span style="color: #0000BB">$exception</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="101"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Exception $exception</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="102"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handleException</span><span style="color: #007700">(</span><span style="color: #0000BB">$exception</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td> </tr> </table> <div id="stack-args-14" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-15" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-15">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="61"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="62"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="63"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="64"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="65"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="66"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="67"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="68"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="69"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td> </tr> </table> <div id="stack-args-15" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-16" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-16">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="47"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="48"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="49"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="50"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="51"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="52"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="53"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="54"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="55"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">param </span><span style="color: #007700">\</span><span style="color: #0000BB">Psr</span><span style="color: #007700">\</span><span style="color: #0000BB">Http</span><span style="color: #007700">\</span><span style="color: #0000BB">Message</span><span style="color: #007700">\</span><span style="color: #0000BB">ServerRequestInterface $request The server request</span></span></code></td> </tr> </table> <div id="stack-args-16" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-17" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/Server.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-17">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="94"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="95"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Server.buildMiddleware'</span><span style="color: #007700">, [</span><span style="color: #DD0000">'middleware' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">]);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="96"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">add</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">app</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="97"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="98"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">runner</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="99"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="100"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!(</span><span style="color: #0000BB">$response </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">ResponseInterface</span><span style="color: #007700">)) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="101"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw new </span><span style="color: #0000BB">RuntimeException</span><span style="color: #007700">(</span><span style="color: #0000BB">sprintf</span><span style="color: #007700">(</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="102"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'Application did not create a response. Got "%s" instead.'</span><span style="color: #007700">,</span></span></code></td> </tr> </table> <div id="stack-args-17" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-18" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/webroot/index.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-18">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="36"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Bind your application to the server.</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="37"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">$server </span><span style="color: #007700">= new </span><span style="color: #0000BB">Server</span><span style="color: #007700">(new </span><span style="color: #0000BB">Application</span><span style="color: #007700">(</span><span style="color: #0000BB">dirname</span><span style="color: #007700">(</span><span style="color: #0000BB">__DIR__</span><span style="color: #007700">) . </span><span style="color: #DD0000">'/config'</span><span style="color: #007700">));</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="38"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="39"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Run the request/response through the application and emit the response.</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="40"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">emit</span><span style="color: #007700">(</span><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">());</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="41"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> </table> <div id="stack-args-18" style="display: none;"> <pre>No arguments</pre> </div> </div> <div class="error-suggestion"> <strong>Error in: </strong> ROOT/src/Template/Pages/post.ctp, line 23 </div> <p class="customize"> If you want to customize this error message, create <em>src/Template/Error/error500.ctp</em> </p> </div> <div class="error-nav"> <a href="#" class="toggle-link toggle-vendor-frames">toggle vendor stack frames</a> <ul class="stack-trace"> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-0"> <span class="stack-function">⟩ include</span> <span class="stack-file"> CORE/src/View/View.php, line 1240 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-1"> <span class="stack-function">⟩ Cake\View\View->_evaluate</span> <span class="stack-file"> CORE/src/View/View.php, line 1201 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-2"> <span class="stack-function">⟩ Cake\View\View->_render</span> <span class="stack-file"> CORE/src/View/View.php, line 803 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-3"> <span class="stack-function">⟩ Cake\View\View->render</span> <span class="stack-file"> CORE/src/Controller/Controller.php, line 790 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-4"> <span class="stack-function">⟩ Cake\Controller\Controller->render</span> <span class="stack-file"> CORE/src/Http/ActionDispatcher.php, line 126 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-5"> <span class="stack-function">⟩ Cake\Http\ActionDispatcher->_invoke</span> <span class="stack-file"> CORE/src/Http/ActionDispatcher.php, line 94 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-6"> <span class="stack-function">⟩ Cake\Http\ActionDispatcher->dispatch</span> <span class="stack-file"> CORE/src/Http/BaseApplication.php, line 235 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-7"> <span class="stack-function">⟩ Cake\Http\BaseApplication->__invoke</span> <span class="stack-file"> CORE/src/Http/Runner.php, line 65 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-8"> <span class="stack-function">⟩ Cake\Http\Runner->__invoke</span> <span class="stack-file"> CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-9"> <span class="stack-function">⟩ Cake\Routing\Middleware\RoutingMiddleware->__invoke</span> <span class="stack-file"> CORE/src/Http/Runner.php, line 65 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-10"> <span class="stack-function">⟩ Cake\Http\Runner->__invoke</span> <span class="stack-file"> CORE/src/Routing/Middleware/AssetMiddleware.php, line 88 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-11"> <span class="stack-function">⟩ Cake\Routing\Middleware\AssetMiddleware->__invoke</span> <span class="stack-file"> CORE/src/Http/Runner.php, line 65 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-12"> <span class="stack-function">⟩ Cake\Http\Runner->__invoke</span> <span class="stack-file"> ROOT/vendor/markstory/asset_compress/src/Middleware/AssetCompressMiddleware.php, line 57 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-13"> <span class="stack-function">⟩ AssetCompress\Middleware\AssetCompressMiddleware->__invoke</span> <span class="stack-file"> CORE/src/Http/Runner.php, line 65 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-14"> <span class="stack-function">⟩ Cake\Http\Runner->__invoke</span> <span class="stack-file"> CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-15"> <span class="stack-function">⟩ Cake\Error\Middleware\ErrorHandlerMiddleware->__invoke</span> <span class="stack-file"> CORE/src/Http/Runner.php, line 65 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-16"> <span class="stack-function">⟩ Cake\Http\Runner->__invoke</span> <span class="stack-file"> CORE/src/Http/Runner.php, line 51 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-17"> <span class="stack-function">⟩ Cake\Http\Runner->run</span> <span class="stack-file"> CORE/src/Http/Server.php, line 98 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-18"> <span class="stack-function">⟩ Cake\Http\Server->run</span> <span class="stack-file"> ROOT/webroot/index.php, line 40 </span> </a> </li> </ul> </div> <script type="text/javascript"> function bindEvent(selector, eventName, listener) { var els = document.querySelectorAll(selector); for (var i = 0, len = els.length; i < len; i++) { els[i].addEventListener(eventName, listener, false); } } function toggleElement(el) { if (el.style.display === 'none') { el.style.display = 'block'; } else { el.style.display = 'none'; } } function each(els, cb) { var i, len; for (i = 0, len = els.length; i < len; i++) { cb(els[i], i); } } window.addEventListener('load', function() { bindEvent('.stack-frame-args', 'click', function(event) { var target = this.dataset['target']; var el = document.getElementById(target); toggleElement(el); event.preventDefault(); }); var details = document.querySelectorAll('.stack-details'); var frames = document.querySelectorAll('.stack-frame'); bindEvent('.stack-frame a', 'click', function(event) { each(frames, function(el) { el.classList.remove('active'); }); this.parentNode.classList.add('active'); each(details, function(el) { el.style.display = 'none'; }); var target = document.getElementById(this.dataset['target']); toggleElement(target); event.preventDefault(); }); bindEvent('.toggle-vendor-frames', 'click', function(event) { each(frames, function(el) { if (el.classList.contains('vendor-frame')) { toggleElement(el); } }); event.preventDefault(); }); }); </script> </body> </html> ' } $reasonPhrase = 'Internal Server Error'
header - [internal], line ?? Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 148 Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 54 Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 141 [main] - ROOT/webroot/index.php, line 40
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:853) [CORE/src/Http/ResponseEmitter.php, line 177]
Code Contextforeach ($values as $value) {
header(sprintf(
'%s: %s',
$response = object(Cake\Http\Response) { 'status' => (int) 500, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ [maximum depth reached] ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) {}, 'cacheDirectives' => [], 'body' => '<!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title> Error: Call to a member function format() on null </title> <link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/> <style> body { font: 14px helvetica, arial, sans-serif; color: #222; background-color: #f8f8f8; padding:0; margin: 0; max-height: 100%; } .code-dump, pre { background: #fefefe; border: 1px solid #ddd; padding: 5px; white-space: pre-wrap; } header { background-color: #C3232D; color: #ffffff; padding: 16px 10px; border-bottom: 3px solid #626262; } .header-title { margin: 0; font-weight: normal; font-size: 30px; line-height: 64px; } .header-type { opacity: 0.75; display: block; font-size: 16px; line-height: 1; } .header-help { font-size: 12px; line-height: 1; position: absolute; top: 30px; right: 16px; } .header-help a { color: #fff; } .error-nav { float: left; width: 30%; } .error-contents { padding: 10px 1%; float: right; width: 68%; } .error, .error-subheading { font-size: 18px; margin-top: 0; padding: 10px; border: 1px solid #EDBD26; } .error-subheading { background: #1798A5; color: #fff; border: 1px solid #02808C; } .error { background: #ffd54f; } .customize { opacity: 0.6; } .stack-trace { list-style: none; margin: 0; padding: 0; } .stack-frame { padding: 10px; border-bottom: 1px solid #212121; } .stack-frame:last-child { border-bottom: none; } .stack-frame a { display: block; color: #212121; text-decoration: none; } .stack-frame.active { background: #e5e5e5; } .stack-frame a:hover { text-decoration: underline; } .stack-file, .stack-function { display: block; margin-bottom: 5px; } .stack-frame-file, .stack-file { font-family: consolas, monospace; } .stack-function { font-weight: bold; } .stack-file { font-size: 0.9em; word-wrap: break-word; } .stack-details { background: #ececec; box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); border: 1px solid #ababab; padding: 10px; margin-bottom: 18px; } .stack-frame-args { float: right; } .toggle-link { color: #1798A5; text-decoration: none; } .toggle-link:hover { text-decoration: underline; } .toggle-vendor-frames { padding: 5px; display: block; text-align: center; } .code-excerpt { width: 100%; margin: 5px 0; background: #fefefe; } .code-highlight { display: block; background: #fff59d; } .excerpt-line { padding-left: 2px; } .excerpt-number { background: #f6f6f6; width: 50px; text-align: right; color: #666; border-right: 1px solid #ddd; padding: 2px; } .excerpt-number:after { content: attr(data-number); } table { text-align: left; } th, td { padding: 4px; } th { border-bottom: 1px solid #ccc; } </style> </head> <body> <header> <h1 class="header-title"> Call to a member function format() on null <span class="header-type">Error</span> </h1> <div class="header-help"> <a target="_blank" href="https://book.cakephp.org/3.0/">Documentation</a> <a target="_blank" href="https://api.cakephp.org/">API</a> </div> </header> <div class="error-contents"> <div id="stack-frame-0" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/View/View.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-0">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="1236"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1237"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> extract</span><span style="color: #007700">(</span><span style="color: #0000BB">$dataForView</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1238"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> ob_start</span><span style="color: #007700">();</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1239"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1240"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">include </span><span style="color: #0000BB">func_get_arg</span><span style="color: #007700">(</span><span style="color: #0000BB">0</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="1241"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1242"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">ob_get_clean</span><span style="color: #007700">();</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1243"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1244"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> </table> <div id="stack-args-0" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-1" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/View/View.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-1">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="1197"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $initialBlocks </span><span style="color: #007700">= </span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Blocks</span><span style="color: #007700">-></span><span style="color: #0000BB">unclosed</span><span style="color: #007700">());</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1198"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1199"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'View.beforeRenderFile'</span><span style="color: #007700">, [</span><span style="color: #0000BB">$viewFile</span><span style="color: #007700">]);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1200"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1201"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $content </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_evaluate</span><span style="color: #007700">(</span><span style="color: #0000BB">$viewFile</span><span style="color: #007700">, </span><span style="color: #0000BB">$data</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="1202"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1203"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $afterEvent </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'View.afterRenderFile'</span><span style="color: #007700">, [</span><span style="color: #0000BB">$viewFile</span><span style="color: #007700">, </span><span style="color: #0000BB">$content</span><span style="color: #007700">]);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1204"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$afterEvent</span><span style="color: #007700">-></span><span style="color: #0000BB">getResult</span><span style="color: #007700">() !== </span><span style="color: #0000BB">null</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="1205"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $content </span><span style="color: #007700">= </span><span style="color: #0000BB">$afterEvent</span><span style="color: #007700">-></span><span style="color: #0000BB">getResult</span><span style="color: #007700">();</span></span></code></td> </tr> </table> <div id="stack-args-1" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-2" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/View/View.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-2">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="799"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $viewFileName </span><span style="color: #007700">= </span><span style="color: #0000BB">$view </span><span style="color: #007700">!== </span><span style="color: #0000BB">false </span><span style="color: #007700">? </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_getViewFileName</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</span><span style="color: #007700">) : </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="800"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$viewFileName</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="801"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_currentType </span><span style="color: #007700">= static::</span><span style="color: #0000BB">TYPE_TEMPLATE</span><span style="color: #007700">;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="802"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'View.beforeRender'</span><span style="color: #007700">, [</span><span style="color: #0000BB">$viewFileName</span><span style="color: #007700">]);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="803"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">Blocks</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'content'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_render</span><span style="color: #007700">(</span><span style="color: #0000BB">$viewFileName</span><span style="color: #007700">));</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="804"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'View.afterRender'</span><span style="color: #007700">, [</span><span style="color: #0000BB">$viewFileName</span><span style="color: #007700">]);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="805"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="806"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="807"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">layout </span><span style="color: #007700">&& </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">autoLayout</span><span style="color: #007700">) {</span></span></code></td> </tr> </table> <div id="stack-args-2" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-3" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Controller/Controller.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-3">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="786"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $builder</span><span style="color: #007700">-></span><span style="color: #0000BB">setTemplate</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'action'</span><span style="color: #007700">));</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="787"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="788"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="789"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">View </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">createView</span><span style="color: #007700">();</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="790"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $contents </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">View</span><span style="color: #007700">-></span><span style="color: #0000BB">render</span><span style="color: #007700">(</span><span style="color: #0000BB">$view</span><span style="color: #007700">, </span><span style="color: #0000BB">$layout</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="791"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">View</span><span style="color: #007700">-></span><span style="color: #0000BB">response</span><span style="color: #007700">-></span><span style="color: #0000BB">withStringBody</span><span style="color: #007700">(</span><span style="color: #0000BB">$contents</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="792"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="793"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">response</span><span style="color: #007700">;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="794"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> </table> <div id="stack-args-3" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-4" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-4">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="122"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw new </span><span style="color: #0000BB">LogicException</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller actions can only return Cake\Http\Response or null.'</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="123"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="124"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="125"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$response </span><span style="color: #007700">&& </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">isAutoRenderEnabled</span><span style="color: #007700">()) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="126"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">render</span><span style="color: #007700">();</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="127"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="128"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="129"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">shutdownProcess</span><span style="color: #007700">();</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="130"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">Response</span><span style="color: #007700">) {</span></span></code></td> </tr> </table> <div id="stack-args-4" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-5" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-5">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="90"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="91"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">factory</span><span style="color: #007700">-></span><span style="color: #0000BB">create</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="92"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="93"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="94"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="95"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'return'</span><span style="color: #007700">)) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="96"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="97"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="98"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> </table> <div id="stack-args-5" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-6" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/BaseApplication.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-6">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="231"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return \</span><span style="color: #0000BB">Psr</span><span style="color: #007700">\</span><span style="color: #0000BB">Http</span><span style="color: #007700">\</span><span style="color: #0000BB">Message</span><span style="color: #007700">\</span><span style="color: #0000BB">ResponseInterface</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="232"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="233"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">ServerRequestInterface $request</span><span style="color: #007700">, </span><span style="color: #0000BB">ResponseInterface $response</span><span style="color: #007700">, </span><span style="color: #0000BB">$next</span><span style="color: #007700">)</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="234"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="235"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDispatcher</span><span style="color: #007700">()-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="236"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="237"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="238"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="239"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Get the ActionDispatcher</span><span style="color: #007700">.</span></span></code></td> </tr> </table> <div id="stack-args-6" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-7" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-7">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="61"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="62"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="63"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="64"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="65"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="66"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="67"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="68"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="69"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td> </tr> </table> <div id="stack-args-7" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-8" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-8">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="152"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="153"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="154"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $matching </span><span style="color: #007700">= </span><span style="color: #0000BB">Router</span><span style="color: #007700">::</span><span style="color: #0000BB">getRouteCollection</span><span style="color: #007700">()-></span><span style="color: #0000BB">getMiddleware</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="155"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$matching</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="156"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="157"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="158"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $matching</span><span style="color: #007700">[] = </span><span style="color: #0000BB">$next</span><span style="color: #007700">;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="159"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware </span><span style="color: #007700">= new </span><span style="color: #0000BB">MiddlewareQueue</span><span style="color: #007700">(</span><span style="color: #0000BB">$matching</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="160"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $runner </span><span style="color: #007700">= new </span><span style="color: #0000BB">Runner</span><span style="color: #007700">();</span></span></code></td> </tr> </table> <div id="stack-args-8" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-9" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-9">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="61"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="62"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="63"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="64"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="65"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="66"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="67"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="68"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="69"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td> </tr> </table> <div id="stack-args-9" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-10" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-10">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="84"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$next</span><span style="color: #007700">)</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="85"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="86"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $url </span><span style="color: #007700">= </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getUri</span><span style="color: #007700">()-></span><span style="color: #0000BB">getPath</span><span style="color: #007700">();</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="87"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'..'</span><span style="color: #007700">) !== </span><span style="color: #0000BB">false </span><span style="color: #007700">|| </span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'.'</span><span style="color: #007700">) === </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="88"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="89"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="90"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="91"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$url</span><span style="color: #007700">, </span><span style="color: #DD0000">'/.'</span><span style="color: #007700">) !== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="92"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td> </tr> </table> <div id="stack-args-10" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-11" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-11">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="61"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="62"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="63"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="64"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="65"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="66"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="67"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="68"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="69"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td> </tr> </table> <div id="stack-args-11" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-12" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/markstory/asset_compress/src/Middleware/AssetCompressMiddleware.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-12">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="53"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="54"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// Make sure the request looks like an asset.</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="55"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $targetName </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getName</span><span style="color: #007700">(</span><span style="color: #0000BB">$config</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getUri</span><span style="color: #007700">()-></span><span style="color: #0000BB">getPath</span><span style="color: #007700">());</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="56"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$targetName</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="57"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="58"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="59"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="60"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $queryParams </span><span style="color: #007700">= </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getQueryParams</span><span style="color: #007700">();</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="61"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$queryParams</span><span style="color: #007700">[</span><span style="color: #DD0000">'theme'</span><span style="color: #007700">])) {</span></span></code></td> </tr> </table> <div id="stack-args-12" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-13" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-13">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="61"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="62"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="63"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="64"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="65"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="66"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="67"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="68"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="69"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td> </tr> </table> <div id="stack-args-13" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-14" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-14">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="94"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="95"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$next</span><span style="color: #007700">)</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="96"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="97"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="98"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="99"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Throwable $exception</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="100"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handleException</span><span style="color: #007700">(</span><span style="color: #0000BB">$exception</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="101"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Exception $exception</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="102"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handleException</span><span style="color: #007700">(</span><span style="color: #0000BB">$exception</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td> </tr> </table> <div id="stack-args-14" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-15" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-15">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="61"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $next </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="62"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$next</span><span style="color: #007700">) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="63"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index</span><span style="color: #007700">++;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="64"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="65"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$next</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="66"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="67"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="68"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// End of the queue</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="69"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td> </tr> </table> <div id="stack-args-15" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-16" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/Runner.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-16">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="47"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="48"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">middleware </span><span style="color: #007700">= </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="49"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">index </span><span style="color: #007700">= </span><span style="color: #0000BB">0</span><span style="color: #007700">;</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="50"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="51"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">__invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="52"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="53"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="54"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/**</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="55"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">param </span><span style="color: #007700">\</span><span style="color: #0000BB">Psr</span><span style="color: #007700">\</span><span style="color: #0000BB">Http</span><span style="color: #007700">\</span><span style="color: #0000BB">Message</span><span style="color: #007700">\</span><span style="color: #0000BB">ServerRequestInterface $request The server request</span></span></code></td> </tr> </table> <div id="stack-args-16" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-17" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/Server.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-17">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="94"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="95"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatchEvent</span><span style="color: #007700">(</span><span style="color: #DD0000">'Server.buildMiddleware'</span><span style="color: #007700">, [</span><span style="color: #DD0000">'middleware' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$middleware</span><span style="color: #007700">]);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="96"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">add</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">app</span><span style="color: #007700">);</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="97"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="98"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">runner</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">(</span><span style="color: #0000BB">$middleware</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="99"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="100"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!(</span><span style="color: #0000BB">$response </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">ResponseInterface</span><span style="color: #007700">)) {</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="101"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw new </span><span style="color: #0000BB">RuntimeException</span><span style="color: #007700">(</span><span style="color: #0000BB">sprintf</span><span style="color: #007700">(</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="102"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'Application did not create a response. Got "%s" instead.'</span><span style="color: #007700">,</span></span></code></td> </tr> </table> <div id="stack-args-17" style="display: none;"> <pre>No arguments</pre> </div> </div> <div id="stack-frame-18" style="display:none;" class="stack-details"> <span class="stack-frame-file">/var/www/jorgepartal.com/public_html/webroot/index.php</span> <a href="#" class="toggle-link stack-frame-args" data-target="stack-args-18">toggle arguments</a> <table class="code-excerpt" cellspacing="0" cellpadding="0"> <tr> <td class="excerpt-number" data-number="36"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Bind your application to the server.</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="37"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">$server </span><span style="color: #007700">= new </span><span style="color: #0000BB">Server</span><span style="color: #007700">(new </span><span style="color: #0000BB">Application</span><span style="color: #007700">(</span><span style="color: #0000BB">dirname</span><span style="color: #007700">(</span><span style="color: #0000BB">__DIR__</span><span style="color: #007700">) . </span><span style="color: #DD0000">'/config'</span><span style="color: #007700">));</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="38"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="39"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #FF8000">// Run the request/response through the application and emit the response.</span></span></code></td> </tr> <tr> <td class="excerpt-number" data-number="40"></td> <td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">emit</span><span style="color: #007700">(</span><span style="color: #0000BB">$server</span><span style="color: #007700">-></span><span style="color: #0000BB">run</span><span style="color: #007700">());</span></span></code></span></td> </tr> <tr> <td class="excerpt-number" data-number="41"></td> <td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td> </tr> </table> <div id="stack-args-18" style="display: none;"> <pre>No arguments</pre> </div> </div> <div class="error-suggestion"> <strong>Error in: </strong> ROOT/src/Template/Pages/post.ctp, line 23 </div> <p class="customize"> If you want to customize this error message, create <em>src/Template/Error/error500.ctp</em> </p> </div> <div class="error-nav"> <a href="#" class="toggle-link toggle-vendor-frames">toggle vendor stack frames</a> <ul class="stack-trace"> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-0"> <span class="stack-function">⟩ include</span> <span class="stack-file"> CORE/src/View/View.php, line 1240 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-1"> <span class="stack-function">⟩ Cake\View\View->_evaluate</span> <span class="stack-file"> CORE/src/View/View.php, line 1201 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-2"> <span class="stack-function">⟩ Cake\View\View->_render</span> <span class="stack-file"> CORE/src/View/View.php, line 803 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-3"> <span class="stack-function">⟩ Cake\View\View->render</span> <span class="stack-file"> CORE/src/Controller/Controller.php, line 790 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-4"> <span class="stack-function">⟩ Cake\Controller\Controller->render</span> <span class="stack-file"> CORE/src/Http/ActionDispatcher.php, line 126 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-5"> <span class="stack-function">⟩ Cake\Http\ActionDispatcher->_invoke</span> <span class="stack-file"> CORE/src/Http/ActionDispatcher.php, line 94 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-6"> <span class="stack-function">⟩ Cake\Http\ActionDispatcher->dispatch</span> <span class="stack-file"> CORE/src/Http/BaseApplication.php, line 235 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-7"> <span class="stack-function">⟩ Cake\Http\BaseApplication->__invoke</span> <span class="stack-file"> CORE/src/Http/Runner.php, line 65 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-8"> <span class="stack-function">⟩ Cake\Http\Runner->__invoke</span> <span class="stack-file"> CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-9"> <span class="stack-function">⟩ Cake\Routing\Middleware\RoutingMiddleware->__invoke</span> <span class="stack-file"> CORE/src/Http/Runner.php, line 65 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-10"> <span class="stack-function">⟩ Cake\Http\Runner->__invoke</span> <span class="stack-file"> CORE/src/Routing/Middleware/AssetMiddleware.php, line 88 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-11"> <span class="stack-function">⟩ Cake\Routing\Middleware\AssetMiddleware->__invoke</span> <span class="stack-file"> CORE/src/Http/Runner.php, line 65 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-12"> <span class="stack-function">⟩ Cake\Http\Runner->__invoke</span> <span class="stack-file"> ROOT/vendor/markstory/asset_compress/src/Middleware/AssetCompressMiddleware.php, line 57 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-13"> <span class="stack-function">⟩ AssetCompress\Middleware\AssetCompressMiddleware->__invoke</span> <span class="stack-file"> CORE/src/Http/Runner.php, line 65 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-14"> <span class="stack-function">⟩ Cake\Http\Runner->__invoke</span> <span class="stack-file"> CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-15"> <span class="stack-function">⟩ Cake\Error\Middleware\ErrorHandlerMiddleware->__invoke</span> <span class="stack-file"> CORE/src/Http/Runner.php, line 65 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-16"> <span class="stack-function">⟩ Cake\Http\Runner->__invoke</span> <span class="stack-file"> CORE/src/Http/Runner.php, line 51 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-17"> <span class="stack-function">⟩ Cake\Http\Runner->run</span> <span class="stack-file"> CORE/src/Http/Server.php, line 98 </span> </a> </li> <li class="stack-frame vendor-frame"> <a href="#" data-target="stack-frame-18"> <span class="stack-function">⟩ Cake\Http\Server->run</span> <span class="stack-file"> ROOT/webroot/index.php, line 40 </span> </a> </li> </ul> </div> <script type="text/javascript"> function bindEvent(selector, eventName, listener) { var els = document.querySelectorAll(selector); for (var i = 0, len = els.length; i < len; i++) { els[i].addEventListener(eventName, listener, false); } } function toggleElement(el) { if (el.style.display === 'none') { el.style.display = 'block'; } else { el.style.display = 'none'; } } function each(els, cb) { var i, len; for (i = 0, len = els.length; i < len; i++) { cb(els[i], i); } } window.addEventListener('load', function() { bindEvent('.stack-frame-args', 'click', function(event) { var target = this.dataset['target']; var el = document.getElementById(target); toggleElement(el); event.preventDefault(); }); var details = document.querySelectorAll('.stack-details'); var frames = document.querySelectorAll('.stack-frame'); bindEvent('.stack-frame a', 'click', function(event) { each(frames, function(el) { el.classList.remove('active'); }); this.parentNode.classList.add('active'); each(details, function(el) { el.style.display = 'none'; }); var target = document.getElementById(this.dataset['target']); toggleElement(target); event.preventDefault(); }); bindEvent('.toggle-vendor-frames', 'click', function(event) { each(frames, function(el) { if (el.classList.contains('vendor-frame')) { toggleElement(el); } }); event.preventDefault(); }); }); </script> </body> </html> ' } $cookies = [] $values = [ (int) 0 => 'text/html; charset=UTF-8' ] $name = 'Content-Type' $first = true $value = 'text/html; charset=UTF-8'
header - [internal], line ?? Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 177 Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 55 Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 141 [main] - ROOT/webroot/index.php, line 40
Error: Call to a member function format() on null Call to a member function format() on null Error
/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/View/View.php toggle arguments{
extract($dataForView);
ob_start();
include func_get_arg(0);
return ob_get_clean();
}
No arguments
/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/View/View.php toggle arguments$initialBlocks = count($this->Blocks->unclosed());
$this->dispatchEvent('View.beforeRenderFile', [$viewFile]);
$content = $this->_evaluate($viewFile, $data);
$afterEvent = $this->dispatchEvent('View.afterRenderFile', [$viewFile, $content]);
if ($afterEvent->getResult() !== null) {
$content = $afterEvent->getResult();
No arguments
/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/View/View.php toggle arguments$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));
$this->dispatchEvent('View.afterRender', [$viewFileName]);
}
if ($this->layout && $this->autoLayout) {
No arguments
/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Controller/Controller.php toggle arguments$builder->setTemplate($this->request->getParam('action'));
}
$this->View = $this->createView();
$contents = $this->View->render($view, $layout);
$this->response = $this->View->response->withStringBody($contents);
return $this->response;
}
No arguments
/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php toggle argumentsthrow new LogicException('Controller actions can only return Cake\Http\Response or null.');
}
if (!$response && $controller->isAutoRenderEnabled()) {
$controller->render();
}
$result = $controller->shutdownProcess();
if ($result instanceof Response) {
No arguments
/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php toggle arguments} else {
$controller = $this->factory->create($request, $response);
}
$response = $this->_invoke($controller);
if ($request->getParam('return')) {
return $response;
}
No arguments
/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/BaseApplication.php toggle arguments* @return \Psr\Http\Message\ResponseInterface
*/
public function __invoke(ServerRequestInterface $request, ResponseInterface $response, $next)
{
return $this->getDispatcher()->dispatch($request, $response);
}
/**
* Get the ActionDispatcher.
No arguments
/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/Runner.php toggle arguments$next = $this->middleware->get($this->index);
if ($next) {
$this->index++;
return $next($request, $response, $this);
}
// End of the queue
return $response;
No arguments
/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php toggle arguments);
}
$matching = Router::getRouteCollection()->getMiddleware($middleware);
if (!$matching) {
return $next($request, $response);
}
$matching[] = $next;
$middleware = new MiddlewareQueue($matching);
$runner = new Runner();
No arguments
/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/Runner.php toggle arguments$next = $this->middleware->get($this->index);
if ($next) {
$this->index++;
return $next($request, $response, $this);
}
// End of the queue
return $response;
No arguments
/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php toggle argumentspublic function __invoke($request, $response, $next)
{
$url = $request->getUri()->getPath();
if (strpos($url, '..') !== false || strpos($url, '.') === false) {
return $next($request, $response);
}
if (strpos($url, '/.') !== false) {
return $next($request, $response);
No arguments
/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/Runner.php toggle arguments$next = $this->middleware->get($this->index);
if ($next) {
$this->index++;
return $next($request, $response, $this);
}
// End of the queue
return $response;
No arguments
/var/www/jorgepartal.com/public_html/vendor/markstory/asset_compress/src/Middleware/AssetCompressMiddleware.php toggle arguments// Make sure the request looks like an asset.
$targetName = $this->getName($config, $request->getUri()->getPath());
if (!$targetName) {
return $next($request, $response);
}
$queryParams = $request->getQueryParams();
if (isset($queryParams['theme'])) {
No arguments
/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/Runner.php toggle arguments$next = $this->middleware->get($this->index);
if ($next) {
$this->index++;
return $next($request, $response, $this);
}
// End of the queue
return $response;
No arguments
/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php toggle arguments*/
public function __invoke($request, $response, $next)
{
try {
return $next($request, $response);
} catch (Throwable $exception) {
return $this->handleException($exception, $request, $response);
} catch (Exception $exception) {
return $this->handleException($exception, $request, $response);
No arguments
/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/Runner.php toggle arguments$next = $this->middleware->get($this->index);
if ($next) {
$this->index++;
return $next($request, $response, $this);
}
// End of the queue
return $response;
No arguments
/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/Runner.php toggle arguments{
$this->middleware = $middleware;
$this->index = 0;
return $this->__invoke($request, $response);
}
/**
* @param \Psr\Http\Message\ServerRequestInterface $request The server request
No arguments
/var/www/jorgepartal.com/public_html/vendor/cakephp/cakephp/src/Http/Server.php toggle arguments}
$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.',
No arguments
/var/www/jorgepartal.com/public_html/webroot/index.php toggle arguments// Bind your application to the server.
$server = new Server(new Application(dirname(__DIR__) . '/config'));
// Run the request/response through the application and emit the response.
$server->emit($server->run());
No arguments
Error in: ROOT/src/Template/Pages/post.ctp, line 23If you want to customize this error message, create src/Template/Error/error500.ctp
toggle vendor stack frames- 〉 include CORE/src/View/View.php, line 1240
- 〉 Cake\View\View->_evaluate CORE/src/View/View.php, line 1201
- 〉 Cake\View\View->_render CORE/src/View/View.php, line 803
- 〉 Cake\View\View->render CORE/src/Controller/Controller.php, line 790
- 〉 Cake\Controller\Controller->render CORE/src/Http/ActionDispatcher.php, line 126
- 〉 Cake\Http\ActionDispatcher->_invoke CORE/src/Http/ActionDispatcher.php, line 94
- 〉 Cake\Http\ActionDispatcher->dispatch CORE/src/Http/BaseApplication.php, line 235
- 〉 Cake\Http\BaseApplication->__invoke CORE/src/Http/Runner.php, line 65
- 〉 Cake\Http\Runner->__invoke CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156
- 〉 Cake\Routing\Middleware\RoutingMiddleware->__invoke CORE/src/Http/Runner.php, line 65
- 〉 Cake\Http\Runner->__invoke CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
- 〉 Cake\Routing\Middleware\AssetMiddleware->__invoke CORE/src/Http/Runner.php, line 65
- 〉 Cake\Http\Runner->__invoke ROOT/vendor/markstory/asset_compress/src/Middleware/AssetCompressMiddleware.php, line 57
- 〉 AssetCompress\Middleware\AssetCompressMiddleware->__invoke CORE/src/Http/Runner.php, line 65
- 〉 Cake\Http\Runner->__invoke CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98
- 〉 Cake\Error\Middleware\ErrorHandlerMiddleware->__invoke CORE/src/Http/Runner.php, line 65
- 〉 Cake\Http\Runner->__invoke CORE/src/Http/Runner.php, line 51
- 〉 Cake\Http\Runner->run CORE/src/Http/Server.php, line 98
- 〉 Cake\Http\Server->run ROOT/webroot/index.php, line 40