Warning (2) : Creating default object from empty value [APP/Controller/NewsController.php , line 93 ]Code Context // tambah view count dan last seen
$article -> view_count += 1 ;
$article -> last_view = FrozenTime :: now ();
$slug =
'home'
$article = object( stdClass ) id: 0 {
}
App\Controller\NewsController::detail() - APP/Controller/NewsController.php, line 93
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 146
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Middleware\BodyParserMiddleware::process() - CORE/src/Http/Middleware/BodyParserMiddleware.php, line 159
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 166
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 68
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 90 Notice (8) : Undefined property: stdClass::$view_count [APP/Controller/NewsController.php , line 93 ]Code Context // tambah view count dan last seen
$article -> view_count += 1 ;
$article -> last_view = FrozenTime :: now ();
$slug = 'home'
$article = object( stdClass ) id: 0 {
view_count => null
}
App\Controller\NewsController::detail() - APP/Controller/NewsController.php, line 93
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 529
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 251
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\CsrfProtectionMiddleware::process() - CORE/src/Http/Middleware/CsrfProtectionMiddleware.php, line 146
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Middleware\BodyParserMiddleware::process() - CORE/src/Http/Middleware/BodyParserMiddleware.php, line 159
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 166
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 68
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 121
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 58
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 90 Warning (512) : Unable to emit headers. Headers sent in file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Error/Debugger.php line=954 [CORE/src/Http/ResponseEmitter.php , line 71 ]Code Context $message = "Unable to emit headers. Headers sent in file= $file line= $line " ;
trigger_error ( $message , E_USER_WARNING );
}
$response = object( Cake\Http\Response ) id: 0 {
'status' => (int) 500
'contentType' => 'text/html'
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8' ,
] ,
]
'file' => null
'fileRange' => [
]
'cookies' => object( Cake\Http\Cookie\CookieCollection ) id: 1 {
protected cookies => [
'' => [maximum depth reached] ,
]
}
'cacheDirectives' => [
]
'body' => '<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Error: Argument 1 passed to Cake\ORM\Table::save() must implement interface Cake\Datasource\EntityInterface, instance of stdClass given, called in /home/yuasa/dealer/www.kamajayatrilaksana.com/public/src/Controller/NewsController.php on line 95 </title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/> <style>
* {
box-sizing: border-box;
}
body {
font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
color: #404041;
background: #F5F7FA;
font-size: 14px;
letter-spacing: .01em;
line-height: 1.6;
padding: 0 0 40px;
margin: 0;
height: 100%;
}
header {
flex: 1;
background-color: #D33C47;
color: #ffffff;
padding: 10px;
}
.header-title {
display: flex;
align-items: center;
font-size: 30px;
margin: 0;
}
.header-title a {
font-size: 18px;
cursor: pointer;
margin-left: 10px;
user-select: none;
}
.header-title code {
margin: 0 10px;
}
.header-description {
display: block;
font-size: 18px;
line-height: 1.2;
margin-bottom: 16px;
}
.header-type {
display: block;
font-size: 16px;
}
.header-help a {
color: #fff;
}
.error-content {
display: flex;
}
.col-left,
.col-right {
overflow-y: auto;
padding: 10px;
}
.col-left {
background: #ececec;
flex: 0 0 30%;
}
.col-right {
flex: 1;
}
.toggle-vendor-frames {
color: #404041;
display: block;
padding: 5px;
margin-bottom: 10px;
text-align: center;
text-decoration: none;
}
.toggle-vendor-frames:hover,
.toggle-vendor-frames:active {
background: #e5e5e5;
}
.code-dump,
pre {
background: #fff;
border-radius: 4px;
padding: 5px;
white-space: pre-wrap;
margin: 0;
}
.error,
.error-subheading {
font-size: 18px;
margin-top: 0;
padding: 20px 16px;
}
.error-subheading {
color: #fff;
background-color: #319795;
}
.error-subheading strong {
color: #fff;
background-color: #4fd1c5;
border-radius: 9999px;
padding: 4px 12px;
margin-right: 8px;
}
.error {
color: #fff;
background: #2779BD;
}
.error strong {
color: #fff;
background-color: #6CB2EB;
border-radius: 9999px;
padding: 4px 12px;
margin-right: 8px;
}
.stack-trace {
list-style: none;
margin: 0;
padding: 0;
}
.stack-frame {
background: #e5e5e5;
padding: 10px;
margin-bottom: 10px;
}
.stack-frame:last-child {
border-bottom: none;
margin-bottom: 0;
}
.stack-frame a {
display: block;
color: #212121;
text-decoration: none;
}
.stack-frame.active {
background: #F5F7FA;
}
.stack-frame a:hover {
text-decoration: underline;
}
.stack-frame-header {
display: flex;
align-items: center;
}
.stack-frame-file a {
color: #212121;
}
.stack-frame-args {
flex: 0 0 150px;
display: block;
padding: 8px 14px;
text-decoration: none;
background-color: #606c76;
border-radius: 4px;
cursor: pointer;
color: #fff;
text-align: center;
margin-bottom: 10px;
}
.stack-frame-args:hover {
background-color: #D33C47;
}
.stack-frame-file {
flex: 1;
word-break:break-all;
margin-right: 10px;
font-size: 16px;
}
.stack-file,
.stack-function {
display: block;
}
.stack-frame-file,
.stack-file {
font-family: consolas, monospace;
}
.stack-function {
font-weight: bold;
}
.stack-file {
font-size: 0.9em;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
direction: rtl;
}
.stack-details {
background: #ececec;
border-radius: 4px;
padding: 10px;
margin-bottom: 18px;
}
.code-excerpt {
width: 100%;
margin: 10px 0 0 0;
background: #fefefe;
}
.code-highlight {
display: block;
background: #fff59d;
}
.excerpt-line {
padding: 0;
}
.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);
}
.cake-debug {
margin-top: 10px;
}
table {
text-align: left;
}
th, td {
padding: 4px;
}
th {
border-bottom: 1px solid #ccc;
}
</style>
</head>
<body>
<header>
<h1 class="header-title">
<span>Argument 1 passed to Cake\ORM\Table::save() must implement interface Cake\Datasource\EntityInterface, instance of stdClass given, called in /home/yuasa/dealer/www.kamajayatrilaksana.com/public/src/Controller/NewsController.php on line 95</span>
<a>📋</a>
</h1>
<span class="header-type">TypeError</span>
</header>
<div class="error-content">
<div class="col-left">
<a href="#" class="toggle-link toggle-vendor-frames">Toggle Vendor Stack Frames</a>
<ul class="stack-trace">
<li class="stack-frame vendor-frame active">
<a href="#" data-target="stack-frame-0">
<span class="stack-file">
CORE/src/ORM/Table.php:1816 </span>
</a>
</li>
<li class="stack-frame app-frame">
<a href="#" data-target="stack-frame-1">
<span class="stack-function">Cake\ORM\Table->save</span>
<span class="stack-file">
APP/Controller/NewsController.php:95 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-2">
<span class="stack-function">App\Controller\NewsController->detail</span>
<span class="stack-file">
CORE/src/Controller/Controller.php:529 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-3">
<span class="stack-function">Cake\Controller\Controller->invokeAction</span>
<span class="stack-file">
CORE/src/Controller/ControllerFactory.php:79 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-4">
<span class="stack-function">Cake\Controller\ControllerFactory->invoke</span>
<span class="stack-file">
CORE/src/Http/BaseApplication.php:251 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-5">
<span class="stack-function">Cake\Http\BaseApplication->handle</span>
<span class="stack-file">
CORE/src/Http/Runner.php:77 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-6">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Middleware/CsrfProtectionMiddleware.php:146 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-7">
<span class="stack-function">Cake\Http\Middleware\CsrfProtectionMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-8">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Middleware/BodyParserMiddleware.php:159 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-9">
<span class="stack-function">Cake\Http\Middleware\BodyParserMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-10">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Routing/Middleware/RoutingMiddleware.php:166 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-11">
<span class="stack-function">Cake\Routing\Middleware\RoutingMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-12">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Routing/Middleware/AssetMiddleware.php:68 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-13">
<span class="stack-function">Cake\Routing\Middleware\AssetMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-14">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Error/Middleware/ErrorHandlerMiddleware.php:121 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-15">
<span class="stack-function">Cake\Error\Middleware\ErrorHandlerMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-16">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Runner.php:58 </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:90 </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:40 </span>
</a>
</li>
</ul>
</div>
<div class="col-right">
<div id="stack-frame-0" style="display:block;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/ORM/Table.php&line=1816">CORE/src/ORM/Table.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-0">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1812"></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">array|\</span><span style="color: #0000BB">ArrayAccess</span><span style="color: #007700">|\</span><span style="color: #0000BB">Cake</span><span style="color: #007700">\</span><span style="color: #0000BB">ORM</span><span style="color: #007700">\</span><span style="color: #0000BB">SaveOptionsBuilder $options The options to </span><span style="color: #007700">use </span><span style="color: #0000BB">when saving</span><span style="color: #007700">.</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1813"></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">Cake</span><span style="color: #007700">\</span><span style="color: #0000BB">Datasource</span><span style="color: #007700">\</span><span style="color: #0000BB">EntityInterface</span><span style="color: #007700">|</span><span style="color: #0000BB">false</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1814"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">throws </span><span style="color: #007700">\</span><span style="color: #0000BB">Cake</span><span style="color: #007700">\</span><span style="color: #0000BB">ORM</span><span style="color: #007700">\</span><span style="color: #0000BB">Exception</span><span style="color: #007700">\</span><span style="color: #0000BB">RolledbackTransactionException </span><span style="color: #007700">If </span><span style="color: #0000BB">the transaction is aborted in the afterSave event</span><span style="color: #007700">.</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1815"></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="1816"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">save</span><span style="color: #007700">(</span><span style="color: #0000BB">EntityInterface $entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$options </span><span style="color: #007700">= [])</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1817"></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="1818"></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">$options </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">SaveOptionsBuilder</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1819"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $options </span><span style="color: #007700">= </span><span style="color: #0000BB">$options</span><span style="color: #007700">-></span><span style="color: #0000BB">toArray</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1820"></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-0" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
</div>
</div>
<div id="stack-frame-1" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/src/Controller/NewsController.php&line=95">APP/Controller/NewsController.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-1">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="91"></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="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// tambah view count dan last seen</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"> $article</span><span style="color: #007700">-></span><span style="color: #0000BB">view_count </span><span style="color: #007700">+= </span><span style="color: #0000BB">1</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $article</span><span style="color: #007700">-></span><span style="color: #0000BB">last_view </span><span style="color: #007700">= </span><span style="color: #0000BB">FrozenTime</span><span style="color: #007700">::</span><span style="color: #0000BB">now</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></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">Articles</span><span style="color: #007700">-></span><span style="color: #0000BB">save</span><span style="color: #007700">(</span><span style="color: #0000BB">$article</span><span style="color: #007700">);</span></span></code></span></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></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: #FF8000">// get relatedNews</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"> $relatedArticles </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Articles</span><span style="color: #007700">-></span><span style="color: #0000BB">getRelatedNewsByCategories</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">defaultCompany</span><span style="color: #007700">-></span><span style="color: #0000BB">id</span><span style="color: #007700">, </span><span style="color: #0000BB">$article</span><span style="color: #007700">-></span><span style="color: #0000BB">article_categories</span><span style="color: #007700">, </span><span style="color: #0000BB">3</span><span style="color: #007700">, </span><span style="color: #0000BB">$article</span><span style="color: #007700">-></span><span style="color: #0000BB">id</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="99"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $titleNow </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">defaultCompany</span><span style="color: #007700">-></span><span style="color: #0000BB">name </span><span style="color: #007700">.</span><span style="color: #DD0000">" : Berita - "</span><span style="color: #007700">. </span><span style="color: #0000BB">$article</span><span style="color: #007700">-></span><span style="color: #0000BB">title </span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-1" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-2" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Controller/Controller.php&line=529">CORE/src/Controller/Controller.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-2">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="525"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">throws </span><span style="color: #007700">\</span><span style="color: #0000BB">UnexpectedValueException </span><span style="color: #007700">If return </span><span style="color: #0000BB">value of action is not </span><span style="color: #007700">`</span><span style="color: #DD0000">null</span><span style="color: #007700">` or `</span><span style="color: #DD0000">ResponseInterface</span><span style="color: #007700">` </span><span style="color: #0000BB">instance</span><span style="color: #007700">.</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="526"></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="527"></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">invokeAction</span><span style="color: #007700">(</span><span style="color: #0000BB">Closure $action</span><span style="color: #007700">, array </span><span style="color: #0000BB">$args</span><span style="color: #007700">): </span><span style="color: #0000BB">void</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="528"></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="529"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$action</span><span style="color: #007700">(...</span><span style="color: #0000BB">$args</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="530"></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">!== </span><span style="color: #0000BB">null </span><span style="color: #007700">&& !</span><span style="color: #0000BB">$result </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="531"></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">UnexpectedValueException</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="532"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'Controller actions can only return ResponseInterface instance or null. '</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="533"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">. </span><span style="color: #DD0000">'Got %s instead.'</span><span style="color: #007700">,</span></span></code></td>
</tr>
</table>
<div id="stack-args-2" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-3" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php&line=79">CORE/src/Controller/ControllerFactory.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-3">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="75"></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="76"></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="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $action </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">getAction</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="78"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $args </span><span style="color: #007700">= </span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">getRequest</span><span style="color: #007700">()-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'pass'</span><span style="color: #007700">));</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="79"></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">invokeAction</span><span style="color: #007700">(</span><span style="color: #0000BB">$action</span><span style="color: #007700">, </span><span style="color: #0000BB">$args</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="80"></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="81"></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="82"></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">ResponseInterface</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="83"></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">$result</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-3" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-4" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/BaseApplication.php&line=251">CORE/src/Http/BaseApplication.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-4">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="247"></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="248"></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="249"></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">controllerFactory</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></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="250"></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="251"></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">controllerFactory</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="252"></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="253"></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="254"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-4" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-5" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/Runner.php&line=77">CORE/src/Http/Runner.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-5">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="73"></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">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></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="75"></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="76"></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">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></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">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="78"></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="79"></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="80"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= new </span><span style="color: #0000BB">Response</span><span style="color: #007700">([</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="81"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'body' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'Middleware queue was exhausted without returning a response '</span></span></code></td>
</tr>
</table>
<div id="stack-args-5" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-6" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php&line=146">CORE/src/Http/Middleware/CsrfProtectionMiddleware.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-6">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="142"></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">$method </span><span style="color: #007700">=== </span><span style="color: #DD0000">'GET' </span><span style="color: #007700">&& </span><span style="color: #0000BB">$cookieData </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="143"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $token </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">createToken</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="144"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request </span><span style="color: #007700">= </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">withAttribute</span><span style="color: #007700">(</span><span style="color: #DD0000">'csrfToken'</span><span style="color: #007700">, </span><span style="color: #0000BB">$token</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="145"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/** @var mixed $response */</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="146"></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">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="147"></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="148"></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">_addTokenCookie</span><span style="color: #007700">(</span><span style="color: #0000BB">$token</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="149"></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="150"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-6" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-7" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/Runner.php&line=73">CORE/src/Http/Runner.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-7">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<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">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></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">queue</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="72"></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="73"></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">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</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="74"></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="75"></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="76"></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">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></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">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-7" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-8" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/Middleware/BodyParserMiddleware.php&line=159">CORE/src/Http/Middleware/BodyParserMiddleware.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-8">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<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">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="156"></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">process</span><span style="color: #007700">(</span><span style="color: #0000BB">ServerRequestInterface $request</span><span style="color: #007700">, </span><span style="color: #0000BB">RequestHandlerInterface $handler</span><span style="color: #007700">): </span><span style="color: #0000BB">ResponseInterface</span></span></code></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"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">in_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getMethod</span><span style="color: #007700">(), </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">methods</span><span style="color: #007700">, </span><span style="color: #0000BB">true</span><span style="color: #007700">)) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="159"></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">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="160"></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="161"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">[</span><span style="color: #0000BB">$type</span><span style="color: #007700">] = </span><span style="color: #0000BB">explode</span><span style="color: #007700">(</span><span style="color: #DD0000">';'</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getHeaderLine</span><span style="color: #007700">(</span><span style="color: #DD0000">'Content-Type'</span><span style="color: #007700">));</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="162"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $type </span><span style="color: #007700">= </span><span style="color: #0000BB">strtolower</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="163"></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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">parsers</span><span style="color: #007700">[</span><span style="color: #0000BB">$type</span><span style="color: #007700">])) {</span></span></code></td>
</tr>
</table>
<div id="stack-args-8" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-9" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/Runner.php&line=73">CORE/src/Http/Runner.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-9">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<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">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></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">queue</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="72"></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="73"></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">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</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="74"></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="75"></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="76"></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">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></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">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-9" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-10" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php&line=166">CORE/src/Routing/Middleware/RoutingMiddleware.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-10">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="162"></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="163"></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="164"></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="165"></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="166"></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">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="167"></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="168"></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="169"></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="170"></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-10" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-11" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/Runner.php&line=73">CORE/src/Http/Runner.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-11">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<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">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></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">queue</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="72"></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="73"></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">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</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="74"></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="75"></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="76"></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">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></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">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-11" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-12" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php&line=68">CORE/src/Routing/Middleware/AssetMiddleware.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-12">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="64"></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">process</span><span style="color: #007700">(</span><span style="color: #0000BB">ServerRequestInterface $request</span><span style="color: #007700">, </span><span style="color: #0000BB">RequestHandlerInterface $handler</span><span style="color: #007700">): </span><span style="color: #0000BB">ResponseInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></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="66"></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="67"></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="68"></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">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></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">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></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="71"></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="72"></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">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-12" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-13" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/Runner.php&line=73">CORE/src/Http/Runner.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-13">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<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">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></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">queue</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="72"></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="73"></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">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</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="74"></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="75"></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="76"></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">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></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">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-13" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-14" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php&line=121">CORE/src/Error/Middleware/ErrorHandlerMiddleware.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-14">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="117"></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="118"></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">process</span><span style="color: #007700">(</span><span style="color: #0000BB">ServerRequestInterface $request</span><span style="color: #007700">, </span><span style="color: #0000BB">RequestHandlerInterface $handler</span><span style="color: #007700">): </span><span style="color: #0000BB">ResponseInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="119"></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="120"></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="121"></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">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<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">} catch (</span><span style="color: #0000BB">RedirectException $exception</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">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handleRedirect</span><span style="color: #007700">(</span><span style="color: #0000BB">$exception</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 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="125"></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></code></td>
</tr>
</table>
<div id="stack-args-14" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-15" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/Runner.php&line=73">CORE/src/Http/Runner.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-15">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<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">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></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">queue</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="72"></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="73"></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">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</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="74"></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="75"></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="76"></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">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></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">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-15" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-16" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/Runner.php&line=58">CORE/src/Http/Runner.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-16">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="54"></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">queue </span><span style="color: #007700">= </span><span style="color: #0000BB">$queue</span><span style="color: #007700">;</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"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">rewind</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"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler </span><span style="color: #007700">= </span><span style="color: #0000BB">$fallbackHandler</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="57"></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="58"></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">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></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 style="color: #007700">}</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"></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: #FF8000">/**</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">* </span><span style="color: #0000BB">Handle incoming server request </span><span style="color: #007700">and return </span><span style="color: #0000BB">a response</span><span style="color: #007700">.</span></span></code></td>
</tr>
</table>
<div id="stack-args-16" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-17" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/Server.php&line=90">CORE/src/Http/Server.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-17">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="86"></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="87"></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="88"></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="89"></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="90"></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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">app</span><span style="color: #007700">);</span></span></code></span></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></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">if (</span><span style="color: #0000BB">$request </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">ServerRequest</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"> $request</span><span style="color: #007700">-></span><span style="color: #0000BB">getSession</span><span style="color: #007700">()-></span><span style="color: #0000BB">close</span><span style="color: #007700">();</span></span></code></td>
</tr>
<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>
</table>
<div id="stack-args-17" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-18" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/webroot/index.php&line=40">ROOT/webroot/index.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-18">Toggle Arguments</a>
</div>
<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" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div class="error-suggestion">
<strong>Error in: </strong>
ROOT/vendor/cakephp/cakephp/src/ORM/Table.php, line 1816<h3>Could this be caused by using Auto-Tables?</h3>
<p>
Some of the Table objects in your application were created by instantiating "<strong>Cake\ORM\Table</strong>"
instead of any other specific subclass.
</p>
<p>This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:</p>
<ul>
<li>The class for the specified table does not exist.</li>
<li>The Table was created with a typo: <strong><em>$this->getTableLocator()->get('Articles');</em></strong></li>
<li>The class file has a typo in the name or incorrect namespace: <strong><em>class Articles extends Table</em></strong></li>
<li>The file containing the class has a typo or incorrect casing: <strong><em>Articles.php</em></strong></li>
<li>The Table was used using associations but the association has a typo: <strong><em>$this->belongsTo('Articles')</em></strong></li>
<li>The table class resides in a Plugin but <strong><em>no plugin notation</em></strong> was used in the association definition.</li>
</ul>
<br/>
<p>Please try correcting the issue for the following table aliases:</p>
<ul>
<li><strong>Thumbs</strong></li>
<li><strong>Thumb2</strong></li>
<li><strong>Users</strong></li>
<li><strong>ArticleCategoriesCategories</strong></li>
<li><strong>ImageBig</strong></li>
<li><strong>Tags</strong></li>
</ul>
<br/>
</div>
<p class="customize">
If you want to customize this error message, create
<em>templates/Error/error500.php</em>
</p>
</div>
</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();
});
bindEvent('.header-title a', 'click', function(event) {
event.preventDefault();
var text = '';
each(this.parentNode.childNodes, function(el) {
if (el.nodeName !== 'A') {
text += el.textContent.trim();
}
});
// Use execCommand(copy) as it has the widest support.
var textArea = document.createElement("textarea");
textArea.value = text;
document.body.appendChild(textArea);
textArea.focus();
textArea.select();
var el = this;
try {
document.execCommand('copy');
// Show a success icon and then revert
var original = el.innerText;
el.innerText = '\ud83c\udf70';
setTimeout(function () {
el.innerText = original;
}, 1000);
} catch (err) {
alert('Unable to update clipboard ' + err);
}
document.body.removeChild(textArea);
this.parentNode.parentNode.scrollIntoView(true);
});
});
</script>
</body>
</html>
'
protected _statusCodes => [
(int) 100 => 'Continue' ,
(int) 101 => 'Switching Protocols' ,
(int) 102 => 'Processing' ,
(int) 200 => 'OK' ,
(int) 201 => 'Created' ,
(int) 202 => 'Accepted' ,
(int) 203 => 'Non-Authoritative Information' ,
(int) 204 => 'No Content' ,
(int) 205 => 'Reset Content' ,
(int) 206 => 'Partial Content' ,
(int) 207 => 'Multi-status' ,
(int) 208 => 'Already Reported' ,
(int) 226 => 'IM used' ,
(int) 300 => 'Multiple Choices' ,
(int) 301 => 'Moved Permanently' ,
(int) 302 => 'Found' ,
(int) 303 => 'See Other' ,
(int) 304 => 'Not Modified' ,
(int) 305 => 'Use Proxy' ,
(int) 306 => '(Unused)' ,
(int) 307 => 'Temporary Redirect' ,
(int) 308 => 'Permanent Redirect' ,
(int) 400 => 'Bad Request' ,
(int) 401 => 'Unauthorized' ,
(int) 402 => 'Payment Required' ,
(int) 403 => 'Forbidden' ,
(int) 404 => 'Not Found' ,
(int) 405 => 'Method Not Allowed' ,
(int) 406 => 'Not Acceptable' ,
(int) 407 => 'Proxy Authentication Required' ,
(int) 408 => 'Request Timeout' ,
(int) 409 => 'Conflict' ,
(int) 410 => 'Gone' ,
(int) 411 => 'Length Required' ,
(int) 412 => 'Precondition Failed' ,
(int) 413 => 'Request Entity Too Large' ,
(int) 414 => 'Request-URI Too Large' ,
(int) 415 => 'Unsupported Media Type' ,
(int) 416 => 'Requested range not satisfiable' ,
(int) 417 => 'Expectation Failed' ,
(int) 418 => 'I'm a teapot' ,
(int) 421 => 'Misdirected Request' ,
(int) 422 => 'Unprocessable Entity' ,
(int) 423 => 'Locked' ,
(int) 424 => 'Failed Dependency' ,
(int) 425 => 'Unordered Collection' ,
(int) 426 => 'Upgrade Required' ,
(int) 428 => 'Precondition Required' ,
(int) 429 => 'Too Many Requests' ,
(int) 431 => 'Request Header Fields Too Large' ,
(int) 444 => 'Connection Closed Without Response' ,
(int) 451 => 'Unavailable For Legal Reasons' ,
(int) 499 => 'Client Closed Request' ,
(int) 500 => 'Internal Server Error' ,
(int) 501 => 'Not Implemented' ,
(int) 502 => 'Bad Gateway' ,
(int) 503 => 'Service Unavailable' ,
(int) 504 => 'Gateway Timeout' ,
(int) 505 => 'Unsupported Version' ,
(int) 506 => 'Variant Also Negotiates' ,
(int) 507 => 'Insufficient Storage' ,
(int) 508 => 'Loop Detected' ,
(int) 510 => 'Not Extended' ,
(int) 511 => 'Network Authentication Required' ,
(int) 599 => 'Network Connect Timeout Error' ,
]
protected _mimeTypes => [
'html' => [
'' => [maximum depth reached] ,
] ,
'json' => 'application/json' ,
'xml' => [
'' => [maximum depth reached] ,
] ,
'xhtml' => [
'' => [maximum depth reached] ,
] ,
'webp' => 'image/webp' ,
'rss' => 'application/rss+xml' ,
'ai' => 'application/postscript' ,
'bcpio' => 'application/x-bcpio' ,
'bin' => 'application/octet-stream' ,
'ccad' => 'application/clariscad' ,
'cdf' => 'application/x-netcdf' ,
'class' => 'application/octet-stream' ,
'cpio' => 'application/x-cpio' ,
'cpt' => 'application/mac-compactpro' ,
'csh' => 'application/x-csh' ,
'csv' => [
'' => [maximum depth reached] ,
] ,
'dcr' => 'application/x-director' ,
'dir' => 'application/x-director' ,
'dms' => 'application/octet-stream' ,
'doc' => 'application/msword' ,
'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' ,
'drw' => 'application/drafting' ,
'dvi' => 'application/x-dvi' ,
'dwg' => 'application/acad' ,
'dxf' => 'application/dxf' ,
'dxr' => 'application/x-director' ,
'eot' => 'application/vnd.ms-fontobject' ,
'eps' => 'application/postscript' ,
'exe' => 'application/octet-stream' ,
'ez' => 'application/andrew-inset' ,
'flv' => 'video/x-flv' ,
'gtar' => 'application/x-gtar' ,
'gz' => 'application/x-gzip' ,
'bz2' => 'application/x-bzip' ,
'7z' => 'application/x-7z-compressed' ,
'hdf' => 'application/x-hdf' ,
'hqx' => 'application/mac-binhex40' ,
'ico' => 'image/x-icon' ,
'ips' => 'application/x-ipscript' ,
'ipx' => 'application/x-ipix' ,
'js' => 'application/javascript' ,
'jsonapi' => 'application/vnd.api+json' ,
'latex' => 'application/x-latex' ,
'lha' => 'application/octet-stream' ,
'lsp' => 'application/x-lisp' ,
'lzh' => 'application/octet-stream' ,
'man' => 'application/x-troff-man' ,
'me' => 'application/x-troff-me' ,
'mif' => 'application/vnd.mif' ,
'ms' => 'application/x-troff-ms' ,
'nc' => 'application/x-netcdf' ,
'oda' => 'application/oda' ,
'otf' => 'font/otf' ,
'pdf' => 'application/pdf' ,
'pgn' => 'application/x-chess-pgn' ,
'pot' => 'application/vnd.ms-powerpoint' ,
'pps' => 'application/vnd.ms-powerpoint' ,
'ppt' => 'application/vnd.ms-powerpoint' ,
'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation' ,
'ppz' => 'application/vnd.ms-powerpoint' ,
'pre' => 'application/x-freelance' ,
'prt' => 'application/pro_eng' ,
'ps' => 'application/postscript' ,
'roff' => 'application/x-troff' ,
'scm' => 'application/x-lotusscreencam' ,
'set' => 'application/set' ,
'sh' => 'application/x-sh' ,
'shar' => 'application/x-shar' ,
'sit' => 'application/x-stuffit' ,
'skd' => 'application/x-koan' ,
'skm' => 'application/x-koan' ,
'skp' => 'application/x-koan' ,
'skt' => 'application/x-koan' ,
'smi' => 'application/smil' ,
'smil' => 'application/smil' ,
'sol' => 'application/solids' ,
'spl' => 'application/x-futuresplash' ,
'src' => 'application/x-wais-source' ,
'step' => 'application/STEP' ,
'stl' => 'application/SLA' ,
'stp' => 'application/STEP' ,
'sv4cpio' => 'application/x-sv4cpio' ,
'sv4crc' => 'application/x-sv4crc' ,
'svg' => 'image/svg+xml' ,
'svgz' => 'image/svg+xml' ,
'swf' => 'application/x-shockwave-flash' ,
't' => 'application/x-troff' ,
'tar' => 'application/x-tar' ,
'tcl' => 'application/x-tcl' ,
'tex' => 'application/x-tex' ,
'texi' => 'application/x-texinfo' ,
'texinfo' => 'application/x-texinfo' ,
'tr' => 'application/x-troff' ,
'tsp' => 'application/dsptype' ,
'ttc' => 'font/ttf' ,
'ttf' => 'font/ttf' ,
'unv' => 'application/i-deas' ,
'ustar' => 'application/x-ustar' ,
'vcd' => 'application/x-cdlink' ,
'vda' => 'application/vda' ,
'xlc' => 'application/vnd.ms-excel' ,
'xll' => 'application/vnd.ms-excel' ,
'xlm' => 'application/vnd.ms-excel' ,
'xls' => 'application/vnd.ms-excel' ,
'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' ,
'xlw' => 'application/vnd.ms-excel' ,
'zip' => 'application/zip' ,
'aif' => 'audio/x-aiff' ,
'aifc' => 'audio/x-aiff' ,
'aiff' => 'audio/x-aiff' ,
'au' => 'audio/basic' ,
'kar' => 'audio/midi' ,
'mid' => 'audio/midi' ,
'midi' => 'audio/midi' ,
'mp2' => 'audio/mpeg' ,
'mp3' => 'audio/mpeg' ,
'mpga' => 'audio/mpeg' ,
'ogg' => 'audio/ogg' ,
'oga' => 'audio/ogg' ,
'spx' => 'audio/ogg' ,
'ra' => 'audio/x-realaudio' ,
'ram' => 'audio/x-pn-realaudio' ,
'rm' => 'audio/x-pn-realaudio' ,
'rpm' => 'audio/x-pn-realaudio-plugin' ,
'snd' => 'audio/basic' ,
'tsi' => 'audio/TSP-audio' ,
'wav' => 'audio/x-wav' ,
'aac' => 'audio/aac' ,
'asc' => 'text/plain' ,
'c' => 'text/plain' ,
'cc' => 'text/plain' ,
'css' => 'text/css' ,
'etx' => 'text/x-setext' ,
'f' => 'text/plain' ,
'f90' => 'text/plain' ,
'h' => 'text/plain' ,
'hh' => 'text/plain' ,
'htm' => [
'' => [maximum depth reached] ,
] ,
'ics' => 'text/calendar' ,
'm' => 'text/plain' ,
'rtf' => 'text/rtf' ,
'rtx' => 'text/richtext' ,
'sgm' => 'text/sgml' ,
'sgml' => 'text/sgml' ,
'tsv' => 'text/tab-separated-values' ,
'tpl' => 'text/template' ,
'txt' => 'text/plain' ,
'text' => 'text/plain' ,
'avi' => 'video/x-msvideo' ,
'fli' => 'video/x-fli' ,
'mov' => 'video/quicktime' ,
'movie' => 'video/x-sgi-movie' ,
'mpe' => 'video/mpeg' ,
'mpeg' => 'video/mpeg' ,
'mpg' => 'video/mpeg' ,
'qt' => 'video/quicktime' ,
'viv' => 'video/vnd.vivo' ,
'vivo' => 'video/vnd.vivo' ,
'ogv' => 'video/ogg' ,
'webm' => 'video/webm' ,
'mp4' => 'video/mp4' ,
'm4v' => 'video/mp4' ,
'f4v' => 'video/mp4' ,
'f4p' => 'video/mp4' ,
'm4a' => 'audio/mp4' ,
'f4a' => 'audio/mp4' ,
'f4b' => 'audio/mp4' ,
'gif' => 'image/gif' ,
'ief' => 'image/ief' ,
'jpg' => 'image/jpeg' ,
'jpeg' => 'image/jpeg' ,
'jpe' => 'image/jpeg' ,
'pbm' => 'image/x-portable-bitmap' ,
'pgm' => 'image/x-portable-graymap' ,
'png' => 'image/png' ,
'pnm' => 'image/x-portable-anymap' ,
'ppm' => 'image/x-portable-pixmap' ,
'ras' => 'image/cmu-raster' ,
'rgb' => 'image/x-rgb' ,
'tif' => 'image/tiff' ,
'tiff' => 'image/tiff' ,
'xbm' => 'image/x-xbitmap' ,
'xpm' => 'image/x-xpixmap' ,
'xwd' => 'image/x-xwindowdump' ,
'psd' => [
'' => [maximum depth reached] ,
] ,
'ice' => 'x-conference/x-cooltalk' ,
'iges' => 'model/iges' ,
'igs' => 'model/iges' ,
'mesh' => 'model/mesh' ,
'msh' => 'model/mesh' ,
'silo' => 'model/mesh' ,
'vrml' => 'model/vrml' ,
'wrl' => 'model/vrml' ,
'mime' => 'www/mime' ,
'pdb' => 'chemical/x-pdb' ,
'xyz' => 'chemical/x-pdb' ,
'javascript' => 'application/javascript' ,
'form' => 'application/x-www-form-urlencoded' ,
'file' => 'multipart/form-data' ,
'xhtml-mobile' => 'application/vnd.wap.xhtml+xml' ,
'atom' => 'application/atom+xml' ,
'amf' => 'application/x-amf' ,
'wap' => [
'' => [maximum depth reached] ,
] ,
'wml' => 'text/vnd.wap.wml' ,
'wmlscript' => 'text/vnd.wap.wmlscript' ,
'wbmp' => 'image/vnd.wap.wbmp' ,
'woff' => 'application/x-font-woff' ,
'appcache' => 'text/cache-manifest' ,
'manifest' => 'text/cache-manifest' ,
'htc' => 'text/x-component' ,
'rdf' => 'application/xml' ,
'crx' => 'application/x-chrome-extension' ,
'oex' => 'application/x-opera-extension' ,
'xpi' => 'application/x-xpinstall' ,
'safariextz' => 'application/octet-stream' ,
'webapp' => 'application/x-web-app-manifest+json' ,
'vcf' => 'text/x-vcard' ,
'vtt' => 'text/vtt' ,
'mkv' => 'video/x-matroska' ,
'pkpass' => 'application/vnd.apple.pkpass' ,
'ajax' => 'text/html' ,
'bmp' => 'image/bmp' ,
]
protected _status => (int) 500
protected _file => null
protected _fileRange => [
]
protected _charset => 'UTF-8'
protected _cacheDirectives => [
]
protected _cookies => object( Cake\Http\Cookie\CookieCollection ) id: 1 {}
protected _reasonPhrase => 'Internal Server Error'
protected _streamMode => 'wb+'
protected _streamTarget => 'php://memory'
protected headers => [
'Content-Type' => [
'' => [maximum depth reached] ,
] ,
]
protected headerNames => [
'content-type' => 'Content-Type' ,
]
private protocol => '1.1'
private stream => object( Laminas\Diactoros\Stream ) id: 2 {
}
}
$file = '/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Error/Debugger.php'
$line = (int) 954
$message = 'Unable to emit headers. Headers sent in file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Error/Debugger.php line=954'
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 71
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 128
[main] - ROOT/webroot/index.php, line 40 Warning (2) : Cannot modify header information - headers already sent by (output started at /home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Error/Debugger.php:954) [CORE/src/Http/ResponseEmitter.php , line 168 ]Code Context $response -> getStatusCode (),
( $reasonPhrase ? ' ' . $reasonPhrase : '' )
));
$response = object( Cake\Http\Response ) id: 0 {
'status' => (int) 500
'contentType' => 'text/html'
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8' ,
] ,
]
'file' => null
'fileRange' => [
]
'cookies' => object( Cake\Http\Cookie\CookieCollection ) id: 1 {
protected cookies => [
'' => [maximum depth reached] ,
]
}
'cacheDirectives' => [
]
'body' => '<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Error: Argument 1 passed to Cake\ORM\Table::save() must implement interface Cake\Datasource\EntityInterface, instance of stdClass given, called in /home/yuasa/dealer/www.kamajayatrilaksana.com/public/src/Controller/NewsController.php on line 95 </title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/> <style>
* {
box-sizing: border-box;
}
body {
font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
color: #404041;
background: #F5F7FA;
font-size: 14px;
letter-spacing: .01em;
line-height: 1.6;
padding: 0 0 40px;
margin: 0;
height: 100%;
}
header {
flex: 1;
background-color: #D33C47;
color: #ffffff;
padding: 10px;
}
.header-title {
display: flex;
align-items: center;
font-size: 30px;
margin: 0;
}
.header-title a {
font-size: 18px;
cursor: pointer;
margin-left: 10px;
user-select: none;
}
.header-title code {
margin: 0 10px;
}
.header-description {
display: block;
font-size: 18px;
line-height: 1.2;
margin-bottom: 16px;
}
.header-type {
display: block;
font-size: 16px;
}
.header-help a {
color: #fff;
}
.error-content {
display: flex;
}
.col-left,
.col-right {
overflow-y: auto;
padding: 10px;
}
.col-left {
background: #ececec;
flex: 0 0 30%;
}
.col-right {
flex: 1;
}
.toggle-vendor-frames {
color: #404041;
display: block;
padding: 5px;
margin-bottom: 10px;
text-align: center;
text-decoration: none;
}
.toggle-vendor-frames:hover,
.toggle-vendor-frames:active {
background: #e5e5e5;
}
.code-dump,
pre {
background: #fff;
border-radius: 4px;
padding: 5px;
white-space: pre-wrap;
margin: 0;
}
.error,
.error-subheading {
font-size: 18px;
margin-top: 0;
padding: 20px 16px;
}
.error-subheading {
color: #fff;
background-color: #319795;
}
.error-subheading strong {
color: #fff;
background-color: #4fd1c5;
border-radius: 9999px;
padding: 4px 12px;
margin-right: 8px;
}
.error {
color: #fff;
background: #2779BD;
}
.error strong {
color: #fff;
background-color: #6CB2EB;
border-radius: 9999px;
padding: 4px 12px;
margin-right: 8px;
}
.stack-trace {
list-style: none;
margin: 0;
padding: 0;
}
.stack-frame {
background: #e5e5e5;
padding: 10px;
margin-bottom: 10px;
}
.stack-frame:last-child {
border-bottom: none;
margin-bottom: 0;
}
.stack-frame a {
display: block;
color: #212121;
text-decoration: none;
}
.stack-frame.active {
background: #F5F7FA;
}
.stack-frame a:hover {
text-decoration: underline;
}
.stack-frame-header {
display: flex;
align-items: center;
}
.stack-frame-file a {
color: #212121;
}
.stack-frame-args {
flex: 0 0 150px;
display: block;
padding: 8px 14px;
text-decoration: none;
background-color: #606c76;
border-radius: 4px;
cursor: pointer;
color: #fff;
text-align: center;
margin-bottom: 10px;
}
.stack-frame-args:hover {
background-color: #D33C47;
}
.stack-frame-file {
flex: 1;
word-break:break-all;
margin-right: 10px;
font-size: 16px;
}
.stack-file,
.stack-function {
display: block;
}
.stack-frame-file,
.stack-file {
font-family: consolas, monospace;
}
.stack-function {
font-weight: bold;
}
.stack-file {
font-size: 0.9em;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
direction: rtl;
}
.stack-details {
background: #ececec;
border-radius: 4px;
padding: 10px;
margin-bottom: 18px;
}
.code-excerpt {
width: 100%;
margin: 10px 0 0 0;
background: #fefefe;
}
.code-highlight {
display: block;
background: #fff59d;
}
.excerpt-line {
padding: 0;
}
.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);
}
.cake-debug {
margin-top: 10px;
}
table {
text-align: left;
}
th, td {
padding: 4px;
}
th {
border-bottom: 1px solid #ccc;
}
</style>
</head>
<body>
<header>
<h1 class="header-title">
<span>Argument 1 passed to Cake\ORM\Table::save() must implement interface Cake\Datasource\EntityInterface, instance of stdClass given, called in /home/yuasa/dealer/www.kamajayatrilaksana.com/public/src/Controller/NewsController.php on line 95</span>
<a>📋</a>
</h1>
<span class="header-type">TypeError</span>
</header>
<div class="error-content">
<div class="col-left">
<a href="#" class="toggle-link toggle-vendor-frames">Toggle Vendor Stack Frames</a>
<ul class="stack-trace">
<li class="stack-frame vendor-frame active">
<a href="#" data-target="stack-frame-0">
<span class="stack-file">
CORE/src/ORM/Table.php:1816 </span>
</a>
</li>
<li class="stack-frame app-frame">
<a href="#" data-target="stack-frame-1">
<span class="stack-function">Cake\ORM\Table->save</span>
<span class="stack-file">
APP/Controller/NewsController.php:95 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-2">
<span class="stack-function">App\Controller\NewsController->detail</span>
<span class="stack-file">
CORE/src/Controller/Controller.php:529 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-3">
<span class="stack-function">Cake\Controller\Controller->invokeAction</span>
<span class="stack-file">
CORE/src/Controller/ControllerFactory.php:79 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-4">
<span class="stack-function">Cake\Controller\ControllerFactory->invoke</span>
<span class="stack-file">
CORE/src/Http/BaseApplication.php:251 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-5">
<span class="stack-function">Cake\Http\BaseApplication->handle</span>
<span class="stack-file">
CORE/src/Http/Runner.php:77 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-6">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Middleware/CsrfProtectionMiddleware.php:146 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-7">
<span class="stack-function">Cake\Http\Middleware\CsrfProtectionMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-8">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Middleware/BodyParserMiddleware.php:159 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-9">
<span class="stack-function">Cake\Http\Middleware\BodyParserMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-10">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Routing/Middleware/RoutingMiddleware.php:166 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-11">
<span class="stack-function">Cake\Routing\Middleware\RoutingMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-12">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Routing/Middleware/AssetMiddleware.php:68 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-13">
<span class="stack-function">Cake\Routing\Middleware\AssetMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-14">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Error/Middleware/ErrorHandlerMiddleware.php:121 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-15">
<span class="stack-function">Cake\Error\Middleware\ErrorHandlerMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-16">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Runner.php:58 </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:90 </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:40 </span>
</a>
</li>
</ul>
</div>
<div class="col-right">
<div id="stack-frame-0" style="display:block;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/ORM/Table.php&line=1816">CORE/src/ORM/Table.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-0">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1812"></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">array|\</span><span style="color: #0000BB">ArrayAccess</span><span style="color: #007700">|\</span><span style="color: #0000BB">Cake</span><span style="color: #007700">\</span><span style="color: #0000BB">ORM</span><span style="color: #007700">\</span><span style="color: #0000BB">SaveOptionsBuilder $options The options to </span><span style="color: #007700">use </span><span style="color: #0000BB">when saving</span><span style="color: #007700">.</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1813"></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">Cake</span><span style="color: #007700">\</span><span style="color: #0000BB">Datasource</span><span style="color: #007700">\</span><span style="color: #0000BB">EntityInterface</span><span style="color: #007700">|</span><span style="color: #0000BB">false</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1814"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">throws </span><span style="color: #007700">\</span><span style="color: #0000BB">Cake</span><span style="color: #007700">\</span><span style="color: #0000BB">ORM</span><span style="color: #007700">\</span><span style="color: #0000BB">Exception</span><span style="color: #007700">\</span><span style="color: #0000BB">RolledbackTransactionException </span><span style="color: #007700">If </span><span style="color: #0000BB">the transaction is aborted in the afterSave event</span><span style="color: #007700">.</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1815"></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="1816"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">save</span><span style="color: #007700">(</span><span style="color: #0000BB">EntityInterface $entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$options </span><span style="color: #007700">= [])</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1817"></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="1818"></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">$options </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">SaveOptionsBuilder</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1819"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $options </span><span style="color: #007700">= </span><span style="color: #0000BB">$options</span><span style="color: #007700">-></span><span style="color: #0000BB">toArray</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1820"></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-0" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
</div>
</div>
<div id="stack-frame-1" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/src/Controller/NewsController.php&line=95">APP/Controller/NewsController.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-1">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="91"></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="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// tambah view count dan last seen</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"> $article</span><span style="color: #007700">-></span><span style="color: #0000BB">view_count </span><span style="color: #007700">+= </span><span style="color: #0000BB">1</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $article</span><span style="color: #007700">-></span><span style="color: #0000BB">last_view </span><span style="color: #007700">= </span><span style="color: #0000BB">FrozenTime</span><span style="color: #007700">::</span><span style="color: #0000BB">now</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></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">Articles</span><span style="color: #007700">-></span><span style="color: #0000BB">save</span><span style="color: #007700">(</span><span style="color: #0000BB">$article</span><span style="color: #007700">);</span></span></code></span></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></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: #FF8000">// get relatedNews</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"> $relatedArticles </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Articles</span><span style="color: #007700">-></span><span style="color: #0000BB">getRelatedNewsByCategories</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">defaultCompany</span><span style="color: #007700">-></span><span style="color: #0000BB">id</span><span style="color: #007700">, </span><span style="color: #0000BB">$article</span><span style="color: #007700">-></span><span style="color: #0000BB">article_categories</span><span style="color: #007700">, </span><span style="color: #0000BB">3</span><span style="color: #007700">, </span><span style="color: #0000BB">$article</span><span style="color: #007700">-></span><span style="color: #0000BB">id</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="99"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $titleNow </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">defaultCompany</span><span style="color: #007700">-></span><span style="color: #0000BB">name </span><span style="color: #007700">.</span><span style="color: #DD0000">" : Berita - "</span><span style="color: #007700">. </span><span style="color: #0000BB">$article</span><span style="color: #007700">-></span><span style="color: #0000BB">title </span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-1" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-2" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Controller/Controller.php&line=529">CORE/src/Controller/Controller.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-2">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="525"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">throws </span><span style="color: #007700">\</span><span style="color: #0000BB">UnexpectedValueException </span><span style="color: #007700">If return </span><span style="color: #0000BB">value of action is not </span><span style="color: #007700">`</span><span style="color: #DD0000">null</span><span style="color: #007700">` or `</span><span style="color: #DD0000">ResponseInterface</span><span style="color: #007700">` </span><span style="color: #0000BB">instance</span><span style="color: #007700">.</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="526"></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="527"></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">invokeAction</span><span style="color: #007700">(</span><span style="color: #0000BB">Closure $action</span><span style="color: #007700">, array </span><span style="color: #0000BB">$args</span><span style="color: #007700">): </span><span style="color: #0000BB">void</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="528"></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="529"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$action</span><span style="color: #007700">(...</span><span style="color: #0000BB">$args</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="530"></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">!== </span><span style="color: #0000BB">null </span><span style="color: #007700">&& !</span><span style="color: #0000BB">$result </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="531"></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">UnexpectedValueException</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="532"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'Controller actions can only return ResponseInterface instance or null. '</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="533"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">. </span><span style="color: #DD0000">'Got %s instead.'</span><span style="color: #007700">,</span></span></code></td>
</tr>
</table>
<div id="stack-args-2" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-3" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php&line=79">CORE/src/Controller/ControllerFactory.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-3">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="75"></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="76"></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="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $action </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">getAction</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="78"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $args </span><span style="color: #007700">= </span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">getRequest</span><span style="color: #007700">()-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'pass'</span><span style="color: #007700">));</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="79"></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">invokeAction</span><span style="color: #007700">(</span><span style="color: #0000BB">$action</span><span style="color: #007700">, </span><span style="color: #0000BB">$args</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="80"></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="81"></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="82"></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">ResponseInterface</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="83"></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">$result</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-3" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-4" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/BaseApplication.php&line=251">CORE/src/Http/BaseApplication.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-4">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="247"></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="248"></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="249"></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">controllerFactory</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></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="250"></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="251"></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">controllerFactory</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="252"></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="253"></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="254"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-4" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-5" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/Runner.php&line=77">CORE/src/Http/Runner.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-5">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="73"></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">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></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="75"></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="76"></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">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></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">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="78"></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="79"></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="80"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= new </span><span style="color: #0000BB">Response</span><span style="color: #007700">([</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="81"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'body' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'Middleware queue was exhausted without returning a response '</span></span></code></td>
</tr>
</table>
<div id="stack-args-5" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-6" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php&line=146">CORE/src/Http/Middleware/CsrfProtectionMiddleware.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-6">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="142"></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">$method </span><span style="color: #007700">=== </span><span style="color: #DD0000">'GET' </span><span style="color: #007700">&& </span><span style="color: #0000BB">$cookieData </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="143"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $token </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">createToken</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="144"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request </span><span style="color: #007700">= </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">withAttribute</span><span style="color: #007700">(</span><span style="color: #DD0000">'csrfToken'</span><span style="color: #007700">, </span><span style="color: #0000BB">$token</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="145"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/** @var mixed $response */</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="146"></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">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="147"></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="148"></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">_addTokenCookie</span><span style="color: #007700">(</span><span style="color: #0000BB">$token</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="149"></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="150"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-6" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-7" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/Runner.php&line=73">CORE/src/Http/Runner.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-7">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<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">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></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">queue</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="72"></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="73"></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">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</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="74"></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="75"></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="76"></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">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></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">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-7" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-8" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/Middleware/BodyParserMiddleware.php&line=159">CORE/src/Http/Middleware/BodyParserMiddleware.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-8">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<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">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="156"></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">process</span><span style="color: #007700">(</span><span style="color: #0000BB">ServerRequestInterface $request</span><span style="color: #007700">, </span><span style="color: #0000BB">RequestHandlerInterface $handler</span><span style="color: #007700">): </span><span style="color: #0000BB">ResponseInterface</span></span></code></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"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">in_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getMethod</span><span style="color: #007700">(), </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">methods</span><span style="color: #007700">, </span><span style="color: #0000BB">true</span><span style="color: #007700">)) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="159"></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">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="160"></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="161"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">[</span><span style="color: #0000BB">$type</span><span style="color: #007700">] = </span><span style="color: #0000BB">explode</span><span style="color: #007700">(</span><span style="color: #DD0000">';'</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getHeaderLine</span><span style="color: #007700">(</span><span style="color: #DD0000">'Content-Type'</span><span style="color: #007700">));</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="162"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $type </span><span style="color: #007700">= </span><span style="color: #0000BB">strtolower</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="163"></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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">parsers</span><span style="color: #007700">[</span><span style="color: #0000BB">$type</span><span style="color: #007700">])) {</span></span></code></td>
</tr>
</table>
<div id="stack-args-8" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-9" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/Runner.php&line=73">CORE/src/Http/Runner.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-9">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<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">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></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">queue</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="72"></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="73"></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">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</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="74"></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="75"></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="76"></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">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></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">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-9" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-10" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php&line=166">CORE/src/Routing/Middleware/RoutingMiddleware.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-10">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="162"></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="163"></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="164"></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="165"></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="166"></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">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="167"></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="168"></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="169"></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="170"></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-10" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-11" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/Runner.php&line=73">CORE/src/Http/Runner.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-11">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<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">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></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">queue</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="72"></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="73"></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">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</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="74"></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="75"></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="76"></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">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></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">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-11" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-12" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php&line=68">CORE/src/Routing/Middleware/AssetMiddleware.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-12">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="64"></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">process</span><span style="color: #007700">(</span><span style="color: #0000BB">ServerRequestInterface $request</span><span style="color: #007700">, </span><span style="color: #0000BB">RequestHandlerInterface $handler</span><span style="color: #007700">): </span><span style="color: #0000BB">ResponseInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></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="66"></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="67"></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="68"></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">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></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">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></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="71"></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="72"></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">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-12" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-13" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/Runner.php&line=73">CORE/src/Http/Runner.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-13">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<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">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></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">queue</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="72"></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="73"></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">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</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="74"></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="75"></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="76"></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">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></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">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-13" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-14" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php&line=121">CORE/src/Error/Middleware/ErrorHandlerMiddleware.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-14">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="117"></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="118"></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">process</span><span style="color: #007700">(</span><span style="color: #0000BB">ServerRequestInterface $request</span><span style="color: #007700">, </span><span style="color: #0000BB">RequestHandlerInterface $handler</span><span style="color: #007700">): </span><span style="color: #0000BB">ResponseInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="119"></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="120"></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="121"></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">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<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">} catch (</span><span style="color: #0000BB">RedirectException $exception</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">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handleRedirect</span><span style="color: #007700">(</span><span style="color: #0000BB">$exception</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 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="125"></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></code></td>
</tr>
</table>
<div id="stack-args-14" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-15" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/Runner.php&line=73">CORE/src/Http/Runner.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-15">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<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">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></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">queue</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="72"></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="73"></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">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</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="74"></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="75"></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="76"></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">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></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">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-15" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-16" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/Runner.php&line=58">CORE/src/Http/Runner.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-16">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="54"></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">queue </span><span style="color: #007700">= </span><span style="color: #0000BB">$queue</span><span style="color: #007700">;</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"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">rewind</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"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler </span><span style="color: #007700">= </span><span style="color: #0000BB">$fallbackHandler</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="57"></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="58"></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">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></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 style="color: #007700">}</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"></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: #FF8000">/**</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">* </span><span style="color: #0000BB">Handle incoming server request </span><span style="color: #007700">and return </span><span style="color: #0000BB">a response</span><span style="color: #007700">.</span></span></code></td>
</tr>
</table>
<div id="stack-args-16" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-17" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/Server.php&line=90">CORE/src/Http/Server.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-17">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="86"></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="87"></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="88"></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="89"></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="90"></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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">app</span><span style="color: #007700">);</span></span></code></span></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></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">if (</span><span style="color: #0000BB">$request </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">ServerRequest</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"> $request</span><span style="color: #007700">-></span><span style="color: #0000BB">getSession</span><span style="color: #007700">()-></span><span style="color: #0000BB">close</span><span style="color: #007700">();</span></span></code></td>
</tr>
<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>
</table>
<div id="stack-args-17" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-18" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/webroot/index.php&line=40">ROOT/webroot/index.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-18">Toggle Arguments</a>
</div>
<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" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div class="error-suggestion">
<strong>Error in: </strong>
ROOT/vendor/cakephp/cakephp/src/ORM/Table.php, line 1816<h3>Could this be caused by using Auto-Tables?</h3>
<p>
Some of the Table objects in your application were created by instantiating "<strong>Cake\ORM\Table</strong>"
instead of any other specific subclass.
</p>
<p>This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:</p>
<ul>
<li>The class for the specified table does not exist.</li>
<li>The Table was created with a typo: <strong><em>$this->getTableLocator()->get('Articles');</em></strong></li>
<li>The class file has a typo in the name or incorrect namespace: <strong><em>class Articles extends Table</em></strong></li>
<li>The file containing the class has a typo or incorrect casing: <strong><em>Articles.php</em></strong></li>
<li>The Table was used using associations but the association has a typo: <strong><em>$this->belongsTo('Articles')</em></strong></li>
<li>The table class resides in a Plugin but <strong><em>no plugin notation</em></strong> was used in the association definition.</li>
</ul>
<br/>
<p>Please try correcting the issue for the following table aliases:</p>
<ul>
<li><strong>Thumbs</strong></li>
<li><strong>Thumb2</strong></li>
<li><strong>Users</strong></li>
<li><strong>ArticleCategoriesCategories</strong></li>
<li><strong>ImageBig</strong></li>
<li><strong>Tags</strong></li>
</ul>
<br/>
</div>
<p class="customize">
If you want to customize this error message, create
<em>templates/Error/error500.php</em>
</p>
</div>
</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();
});
bindEvent('.header-title a', 'click', function(event) {
event.preventDefault();
var text = '';
each(this.parentNode.childNodes, function(el) {
if (el.nodeName !== 'A') {
text += el.textContent.trim();
}
});
// Use execCommand(copy) as it has the widest support.
var textArea = document.createElement("textarea");
textArea.value = text;
document.body.appendChild(textArea);
textArea.focus();
textArea.select();
var el = this;
try {
document.execCommand('copy');
// Show a success icon and then revert
var original = el.innerText;
el.innerText = '\ud83c\udf70';
setTimeout(function () {
el.innerText = original;
}, 1000);
} catch (err) {
alert('Unable to update clipboard ' + err);
}
document.body.removeChild(textArea);
this.parentNode.parentNode.scrollIntoView(true);
});
});
</script>
</body>
</html>
'
protected _statusCodes => [
(int) 100 => 'Continue' ,
(int) 101 => 'Switching Protocols' ,
(int) 102 => 'Processing' ,
(int) 200 => 'OK' ,
(int) 201 => 'Created' ,
(int) 202 => 'Accepted' ,
(int) 203 => 'Non-Authoritative Information' ,
(int) 204 => 'No Content' ,
(int) 205 => 'Reset Content' ,
(int) 206 => 'Partial Content' ,
(int) 207 => 'Multi-status' ,
(int) 208 => 'Already Reported' ,
(int) 226 => 'IM used' ,
(int) 300 => 'Multiple Choices' ,
(int) 301 => 'Moved Permanently' ,
(int) 302 => 'Found' ,
(int) 303 => 'See Other' ,
(int) 304 => 'Not Modified' ,
(int) 305 => 'Use Proxy' ,
(int) 306 => '(Unused)' ,
(int) 307 => 'Temporary Redirect' ,
(int) 308 => 'Permanent Redirect' ,
(int) 400 => 'Bad Request' ,
(int) 401 => 'Unauthorized' ,
(int) 402 => 'Payment Required' ,
(int) 403 => 'Forbidden' ,
(int) 404 => 'Not Found' ,
(int) 405 => 'Method Not Allowed' ,
(int) 406 => 'Not Acceptable' ,
(int) 407 => 'Proxy Authentication Required' ,
(int) 408 => 'Request Timeout' ,
(int) 409 => 'Conflict' ,
(int) 410 => 'Gone' ,
(int) 411 => 'Length Required' ,
(int) 412 => 'Precondition Failed' ,
(int) 413 => 'Request Entity Too Large' ,
(int) 414 => 'Request-URI Too Large' ,
(int) 415 => 'Unsupported Media Type' ,
(int) 416 => 'Requested range not satisfiable' ,
(int) 417 => 'Expectation Failed' ,
(int) 418 => 'I'm a teapot' ,
(int) 421 => 'Misdirected Request' ,
(int) 422 => 'Unprocessable Entity' ,
(int) 423 => 'Locked' ,
(int) 424 => 'Failed Dependency' ,
(int) 425 => 'Unordered Collection' ,
(int) 426 => 'Upgrade Required' ,
(int) 428 => 'Precondition Required' ,
(int) 429 => 'Too Many Requests' ,
(int) 431 => 'Request Header Fields Too Large' ,
(int) 444 => 'Connection Closed Without Response' ,
(int) 451 => 'Unavailable For Legal Reasons' ,
(int) 499 => 'Client Closed Request' ,
(int) 500 => 'Internal Server Error' ,
(int) 501 => 'Not Implemented' ,
(int) 502 => 'Bad Gateway' ,
(int) 503 => 'Service Unavailable' ,
(int) 504 => 'Gateway Timeout' ,
(int) 505 => 'Unsupported Version' ,
(int) 506 => 'Variant Also Negotiates' ,
(int) 507 => 'Insufficient Storage' ,
(int) 508 => 'Loop Detected' ,
(int) 510 => 'Not Extended' ,
(int) 511 => 'Network Authentication Required' ,
(int) 599 => 'Network Connect Timeout Error' ,
]
protected _mimeTypes => [
'html' => [
'' => [maximum depth reached] ,
] ,
'json' => 'application/json' ,
'xml' => [
'' => [maximum depth reached] ,
] ,
'xhtml' => [
'' => [maximum depth reached] ,
] ,
'webp' => 'image/webp' ,
'rss' => 'application/rss+xml' ,
'ai' => 'application/postscript' ,
'bcpio' => 'application/x-bcpio' ,
'bin' => 'application/octet-stream' ,
'ccad' => 'application/clariscad' ,
'cdf' => 'application/x-netcdf' ,
'class' => 'application/octet-stream' ,
'cpio' => 'application/x-cpio' ,
'cpt' => 'application/mac-compactpro' ,
'csh' => 'application/x-csh' ,
'csv' => [
'' => [maximum depth reached] ,
] ,
'dcr' => 'application/x-director' ,
'dir' => 'application/x-director' ,
'dms' => 'application/octet-stream' ,
'doc' => 'application/msword' ,
'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' ,
'drw' => 'application/drafting' ,
'dvi' => 'application/x-dvi' ,
'dwg' => 'application/acad' ,
'dxf' => 'application/dxf' ,
'dxr' => 'application/x-director' ,
'eot' => 'application/vnd.ms-fontobject' ,
'eps' => 'application/postscript' ,
'exe' => 'application/octet-stream' ,
'ez' => 'application/andrew-inset' ,
'flv' => 'video/x-flv' ,
'gtar' => 'application/x-gtar' ,
'gz' => 'application/x-gzip' ,
'bz2' => 'application/x-bzip' ,
'7z' => 'application/x-7z-compressed' ,
'hdf' => 'application/x-hdf' ,
'hqx' => 'application/mac-binhex40' ,
'ico' => 'image/x-icon' ,
'ips' => 'application/x-ipscript' ,
'ipx' => 'application/x-ipix' ,
'js' => 'application/javascript' ,
'jsonapi' => 'application/vnd.api+json' ,
'latex' => 'application/x-latex' ,
'lha' => 'application/octet-stream' ,
'lsp' => 'application/x-lisp' ,
'lzh' => 'application/octet-stream' ,
'man' => 'application/x-troff-man' ,
'me' => 'application/x-troff-me' ,
'mif' => 'application/vnd.mif' ,
'ms' => 'application/x-troff-ms' ,
'nc' => 'application/x-netcdf' ,
'oda' => 'application/oda' ,
'otf' => 'font/otf' ,
'pdf' => 'application/pdf' ,
'pgn' => 'application/x-chess-pgn' ,
'pot' => 'application/vnd.ms-powerpoint' ,
'pps' => 'application/vnd.ms-powerpoint' ,
'ppt' => 'application/vnd.ms-powerpoint' ,
'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation' ,
'ppz' => 'application/vnd.ms-powerpoint' ,
'pre' => 'application/x-freelance' ,
'prt' => 'application/pro_eng' ,
'ps' => 'application/postscript' ,
'roff' => 'application/x-troff' ,
'scm' => 'application/x-lotusscreencam' ,
'set' => 'application/set' ,
'sh' => 'application/x-sh' ,
'shar' => 'application/x-shar' ,
'sit' => 'application/x-stuffit' ,
'skd' => 'application/x-koan' ,
'skm' => 'application/x-koan' ,
'skp' => 'application/x-koan' ,
'skt' => 'application/x-koan' ,
'smi' => 'application/smil' ,
'smil' => 'application/smil' ,
'sol' => 'application/solids' ,
'spl' => 'application/x-futuresplash' ,
'src' => 'application/x-wais-source' ,
'step' => 'application/STEP' ,
'stl' => 'application/SLA' ,
'stp' => 'application/STEP' ,
'sv4cpio' => 'application/x-sv4cpio' ,
'sv4crc' => 'application/x-sv4crc' ,
'svg' => 'image/svg+xml' ,
'svgz' => 'image/svg+xml' ,
'swf' => 'application/x-shockwave-flash' ,
't' => 'application/x-troff' ,
'tar' => 'application/x-tar' ,
'tcl' => 'application/x-tcl' ,
'tex' => 'application/x-tex' ,
'texi' => 'application/x-texinfo' ,
'texinfo' => 'application/x-texinfo' ,
'tr' => 'application/x-troff' ,
'tsp' => 'application/dsptype' ,
'ttc' => 'font/ttf' ,
'ttf' => 'font/ttf' ,
'unv' => 'application/i-deas' ,
'ustar' => 'application/x-ustar' ,
'vcd' => 'application/x-cdlink' ,
'vda' => 'application/vda' ,
'xlc' => 'application/vnd.ms-excel' ,
'xll' => 'application/vnd.ms-excel' ,
'xlm' => 'application/vnd.ms-excel' ,
'xls' => 'application/vnd.ms-excel' ,
'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' ,
'xlw' => 'application/vnd.ms-excel' ,
'zip' => 'application/zip' ,
'aif' => 'audio/x-aiff' ,
'aifc' => 'audio/x-aiff' ,
'aiff' => 'audio/x-aiff' ,
'au' => 'audio/basic' ,
'kar' => 'audio/midi' ,
'mid' => 'audio/midi' ,
'midi' => 'audio/midi' ,
'mp2' => 'audio/mpeg' ,
'mp3' => 'audio/mpeg' ,
'mpga' => 'audio/mpeg' ,
'ogg' => 'audio/ogg' ,
'oga' => 'audio/ogg' ,
'spx' => 'audio/ogg' ,
'ra' => 'audio/x-realaudio' ,
'ram' => 'audio/x-pn-realaudio' ,
'rm' => 'audio/x-pn-realaudio' ,
'rpm' => 'audio/x-pn-realaudio-plugin' ,
'snd' => 'audio/basic' ,
'tsi' => 'audio/TSP-audio' ,
'wav' => 'audio/x-wav' ,
'aac' => 'audio/aac' ,
'asc' => 'text/plain' ,
'c' => 'text/plain' ,
'cc' => 'text/plain' ,
'css' => 'text/css' ,
'etx' => 'text/x-setext' ,
'f' => 'text/plain' ,
'f90' => 'text/plain' ,
'h' => 'text/plain' ,
'hh' => 'text/plain' ,
'htm' => [
'' => [maximum depth reached] ,
] ,
'ics' => 'text/calendar' ,
'm' => 'text/plain' ,
'rtf' => 'text/rtf' ,
'rtx' => 'text/richtext' ,
'sgm' => 'text/sgml' ,
'sgml' => 'text/sgml' ,
'tsv' => 'text/tab-separated-values' ,
'tpl' => 'text/template' ,
'txt' => 'text/plain' ,
'text' => 'text/plain' ,
'avi' => 'video/x-msvideo' ,
'fli' => 'video/x-fli' ,
'mov' => 'video/quicktime' ,
'movie' => 'video/x-sgi-movie' ,
'mpe' => 'video/mpeg' ,
'mpeg' => 'video/mpeg' ,
'mpg' => 'video/mpeg' ,
'qt' => 'video/quicktime' ,
'viv' => 'video/vnd.vivo' ,
'vivo' => 'video/vnd.vivo' ,
'ogv' => 'video/ogg' ,
'webm' => 'video/webm' ,
'mp4' => 'video/mp4' ,
'm4v' => 'video/mp4' ,
'f4v' => 'video/mp4' ,
'f4p' => 'video/mp4' ,
'm4a' => 'audio/mp4' ,
'f4a' => 'audio/mp4' ,
'f4b' => 'audio/mp4' ,
'gif' => 'image/gif' ,
'ief' => 'image/ief' ,
'jpg' => 'image/jpeg' ,
'jpeg' => 'image/jpeg' ,
'jpe' => 'image/jpeg' ,
'pbm' => 'image/x-portable-bitmap' ,
'pgm' => 'image/x-portable-graymap' ,
'png' => 'image/png' ,
'pnm' => 'image/x-portable-anymap' ,
'ppm' => 'image/x-portable-pixmap' ,
'ras' => 'image/cmu-raster' ,
'rgb' => 'image/x-rgb' ,
'tif' => 'image/tiff' ,
'tiff' => 'image/tiff' ,
'xbm' => 'image/x-xbitmap' ,
'xpm' => 'image/x-xpixmap' ,
'xwd' => 'image/x-xwindowdump' ,
'psd' => [
'' => [maximum depth reached] ,
] ,
'ice' => 'x-conference/x-cooltalk' ,
'iges' => 'model/iges' ,
'igs' => 'model/iges' ,
'mesh' => 'model/mesh' ,
'msh' => 'model/mesh' ,
'silo' => 'model/mesh' ,
'vrml' => 'model/vrml' ,
'wrl' => 'model/vrml' ,
'mime' => 'www/mime' ,
'pdb' => 'chemical/x-pdb' ,
'xyz' => 'chemical/x-pdb' ,
'javascript' => 'application/javascript' ,
'form' => 'application/x-www-form-urlencoded' ,
'file' => 'multipart/form-data' ,
'xhtml-mobile' => 'application/vnd.wap.xhtml+xml' ,
'atom' => 'application/atom+xml' ,
'amf' => 'application/x-amf' ,
'wap' => [
'' => [maximum depth reached] ,
] ,
'wml' => 'text/vnd.wap.wml' ,
'wmlscript' => 'text/vnd.wap.wmlscript' ,
'wbmp' => 'image/vnd.wap.wbmp' ,
'woff' => 'application/x-font-woff' ,
'appcache' => 'text/cache-manifest' ,
'manifest' => 'text/cache-manifest' ,
'htc' => 'text/x-component' ,
'rdf' => 'application/xml' ,
'crx' => 'application/x-chrome-extension' ,
'oex' => 'application/x-opera-extension' ,
'xpi' => 'application/x-xpinstall' ,
'safariextz' => 'application/octet-stream' ,
'webapp' => 'application/x-web-app-manifest+json' ,
'vcf' => 'text/x-vcard' ,
'vtt' => 'text/vtt' ,
'mkv' => 'video/x-matroska' ,
'pkpass' => 'application/vnd.apple.pkpass' ,
'ajax' => 'text/html' ,
'bmp' => 'image/bmp' ,
]
protected _status => (int) 500
protected _file => null
protected _fileRange => [
]
protected _charset => 'UTF-8'
protected _cacheDirectives => [
]
protected _cookies => object( Cake\Http\Cookie\CookieCollection ) id: 1 {}
protected _reasonPhrase => 'Internal Server Error'
protected _streamMode => 'wb+'
protected _streamTarget => 'php://memory'
protected headers => [
'Content-Type' => [
'' => [maximum depth reached] ,
] ,
]
protected headerNames => [
'content-type' => 'Content-Type' ,
]
private protocol => '1.1'
private stream => object( Laminas\Diactoros\Stream ) id: 2 {
}
}
$reasonPhrase = 'Internal Server Error'
header - [internal], line ??
Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 168
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 74
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 128
[main] - ROOT/webroot/index.php, line 40 Warning (2) : Cannot modify header information - headers already sent by (output started at /home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Error/Debugger.php:954) [CORE/src/Http/ResponseEmitter.php , line 197 ]Code Context foreach ( $values as $value ) {
header ( sprintf (
'%s: %s' ,
$response = object( Cake\Http\Response ) id: 0 {
'status' => (int) 500
'contentType' => 'text/html'
'headers' => [
'Content-Type' => [
(int) 0 => 'text/html; charset=UTF-8' ,
] ,
]
'file' => null
'fileRange' => [
]
'cookies' => object( Cake\Http\Cookie\CookieCollection ) id: 1 {
protected cookies => [
'' => [maximum depth reached] ,
]
}
'cacheDirectives' => [
]
'body' => '<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Error: Argument 1 passed to Cake\ORM\Table::save() must implement interface Cake\Datasource\EntityInterface, instance of stdClass given, called in /home/yuasa/dealer/www.kamajayatrilaksana.com/public/src/Controller/NewsController.php on line 95 </title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/> <style>
* {
box-sizing: border-box;
}
body {
font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
color: #404041;
background: #F5F7FA;
font-size: 14px;
letter-spacing: .01em;
line-height: 1.6;
padding: 0 0 40px;
margin: 0;
height: 100%;
}
header {
flex: 1;
background-color: #D33C47;
color: #ffffff;
padding: 10px;
}
.header-title {
display: flex;
align-items: center;
font-size: 30px;
margin: 0;
}
.header-title a {
font-size: 18px;
cursor: pointer;
margin-left: 10px;
user-select: none;
}
.header-title code {
margin: 0 10px;
}
.header-description {
display: block;
font-size: 18px;
line-height: 1.2;
margin-bottom: 16px;
}
.header-type {
display: block;
font-size: 16px;
}
.header-help a {
color: #fff;
}
.error-content {
display: flex;
}
.col-left,
.col-right {
overflow-y: auto;
padding: 10px;
}
.col-left {
background: #ececec;
flex: 0 0 30%;
}
.col-right {
flex: 1;
}
.toggle-vendor-frames {
color: #404041;
display: block;
padding: 5px;
margin-bottom: 10px;
text-align: center;
text-decoration: none;
}
.toggle-vendor-frames:hover,
.toggle-vendor-frames:active {
background: #e5e5e5;
}
.code-dump,
pre {
background: #fff;
border-radius: 4px;
padding: 5px;
white-space: pre-wrap;
margin: 0;
}
.error,
.error-subheading {
font-size: 18px;
margin-top: 0;
padding: 20px 16px;
}
.error-subheading {
color: #fff;
background-color: #319795;
}
.error-subheading strong {
color: #fff;
background-color: #4fd1c5;
border-radius: 9999px;
padding: 4px 12px;
margin-right: 8px;
}
.error {
color: #fff;
background: #2779BD;
}
.error strong {
color: #fff;
background-color: #6CB2EB;
border-radius: 9999px;
padding: 4px 12px;
margin-right: 8px;
}
.stack-trace {
list-style: none;
margin: 0;
padding: 0;
}
.stack-frame {
background: #e5e5e5;
padding: 10px;
margin-bottom: 10px;
}
.stack-frame:last-child {
border-bottom: none;
margin-bottom: 0;
}
.stack-frame a {
display: block;
color: #212121;
text-decoration: none;
}
.stack-frame.active {
background: #F5F7FA;
}
.stack-frame a:hover {
text-decoration: underline;
}
.stack-frame-header {
display: flex;
align-items: center;
}
.stack-frame-file a {
color: #212121;
}
.stack-frame-args {
flex: 0 0 150px;
display: block;
padding: 8px 14px;
text-decoration: none;
background-color: #606c76;
border-radius: 4px;
cursor: pointer;
color: #fff;
text-align: center;
margin-bottom: 10px;
}
.stack-frame-args:hover {
background-color: #D33C47;
}
.stack-frame-file {
flex: 1;
word-break:break-all;
margin-right: 10px;
font-size: 16px;
}
.stack-file,
.stack-function {
display: block;
}
.stack-frame-file,
.stack-file {
font-family: consolas, monospace;
}
.stack-function {
font-weight: bold;
}
.stack-file {
font-size: 0.9em;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
direction: rtl;
}
.stack-details {
background: #ececec;
border-radius: 4px;
padding: 10px;
margin-bottom: 18px;
}
.code-excerpt {
width: 100%;
margin: 10px 0 0 0;
background: #fefefe;
}
.code-highlight {
display: block;
background: #fff59d;
}
.excerpt-line {
padding: 0;
}
.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);
}
.cake-debug {
margin-top: 10px;
}
table {
text-align: left;
}
th, td {
padding: 4px;
}
th {
border-bottom: 1px solid #ccc;
}
</style>
</head>
<body>
<header>
<h1 class="header-title">
<span>Argument 1 passed to Cake\ORM\Table::save() must implement interface Cake\Datasource\EntityInterface, instance of stdClass given, called in /home/yuasa/dealer/www.kamajayatrilaksana.com/public/src/Controller/NewsController.php on line 95</span>
<a>📋</a>
</h1>
<span class="header-type">TypeError</span>
</header>
<div class="error-content">
<div class="col-left">
<a href="#" class="toggle-link toggle-vendor-frames">Toggle Vendor Stack Frames</a>
<ul class="stack-trace">
<li class="stack-frame vendor-frame active">
<a href="#" data-target="stack-frame-0">
<span class="stack-file">
CORE/src/ORM/Table.php:1816 </span>
</a>
</li>
<li class="stack-frame app-frame">
<a href="#" data-target="stack-frame-1">
<span class="stack-function">Cake\ORM\Table->save</span>
<span class="stack-file">
APP/Controller/NewsController.php:95 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-2">
<span class="stack-function">App\Controller\NewsController->detail</span>
<span class="stack-file">
CORE/src/Controller/Controller.php:529 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-3">
<span class="stack-function">Cake\Controller\Controller->invokeAction</span>
<span class="stack-file">
CORE/src/Controller/ControllerFactory.php:79 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-4">
<span class="stack-function">Cake\Controller\ControllerFactory->invoke</span>
<span class="stack-file">
CORE/src/Http/BaseApplication.php:251 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-5">
<span class="stack-function">Cake\Http\BaseApplication->handle</span>
<span class="stack-file">
CORE/src/Http/Runner.php:77 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-6">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Middleware/CsrfProtectionMiddleware.php:146 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-7">
<span class="stack-function">Cake\Http\Middleware\CsrfProtectionMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-8">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Middleware/BodyParserMiddleware.php:159 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-9">
<span class="stack-function">Cake\Http\Middleware\BodyParserMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-10">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Routing/Middleware/RoutingMiddleware.php:166 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-11">
<span class="stack-function">Cake\Routing\Middleware\RoutingMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-12">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Routing/Middleware/AssetMiddleware.php:68 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-13">
<span class="stack-function">Cake\Routing\Middleware\AssetMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-14">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Error/Middleware/ErrorHandlerMiddleware.php:121 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-15">
<span class="stack-function">Cake\Error\Middleware\ErrorHandlerMiddleware->process</span>
<span class="stack-file">
CORE/src/Http/Runner.php:73 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-16">
<span class="stack-function">Cake\Http\Runner->handle</span>
<span class="stack-file">
CORE/src/Http/Runner.php:58 </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:90 </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:40 </span>
</a>
</li>
</ul>
</div>
<div class="col-right">
<div id="stack-frame-0" style="display:block;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/ORM/Table.php&line=1816">CORE/src/ORM/Table.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-0">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1812"></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">array|\</span><span style="color: #0000BB">ArrayAccess</span><span style="color: #007700">|\</span><span style="color: #0000BB">Cake</span><span style="color: #007700">\</span><span style="color: #0000BB">ORM</span><span style="color: #007700">\</span><span style="color: #0000BB">SaveOptionsBuilder $options The options to </span><span style="color: #007700">use </span><span style="color: #0000BB">when saving</span><span style="color: #007700">.</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1813"></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">Cake</span><span style="color: #007700">\</span><span style="color: #0000BB">Datasource</span><span style="color: #007700">\</span><span style="color: #0000BB">EntityInterface</span><span style="color: #007700">|</span><span style="color: #0000BB">false</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1814"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">throws </span><span style="color: #007700">\</span><span style="color: #0000BB">Cake</span><span style="color: #007700">\</span><span style="color: #0000BB">ORM</span><span style="color: #007700">\</span><span style="color: #0000BB">Exception</span><span style="color: #007700">\</span><span style="color: #0000BB">RolledbackTransactionException </span><span style="color: #007700">If </span><span style="color: #0000BB">the transaction is aborted in the afterSave event</span><span style="color: #007700">.</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1815"></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="1816"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">save</span><span style="color: #007700">(</span><span style="color: #0000BB">EntityInterface $entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$options </span><span style="color: #007700">= [])</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1817"></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="1818"></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">$options </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">SaveOptionsBuilder</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1819"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $options </span><span style="color: #007700">= </span><span style="color: #0000BB">$options</span><span style="color: #007700">-></span><span style="color: #0000BB">toArray</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1820"></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-0" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
</div>
</div>
<div id="stack-frame-1" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/src/Controller/NewsController.php&line=95">APP/Controller/NewsController.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-1">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="91"></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="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// tambah view count dan last seen</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"> $article</span><span style="color: #007700">-></span><span style="color: #0000BB">view_count </span><span style="color: #007700">+= </span><span style="color: #0000BB">1</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $article</span><span style="color: #007700">-></span><span style="color: #0000BB">last_view </span><span style="color: #007700">= </span><span style="color: #0000BB">FrozenTime</span><span style="color: #007700">::</span><span style="color: #0000BB">now</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></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">Articles</span><span style="color: #007700">-></span><span style="color: #0000BB">save</span><span style="color: #007700">(</span><span style="color: #0000BB">$article</span><span style="color: #007700">);</span></span></code></span></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></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: #FF8000">// get relatedNews</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"> $relatedArticles </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Articles</span><span style="color: #007700">-></span><span style="color: #0000BB">getRelatedNewsByCategories</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">defaultCompany</span><span style="color: #007700">-></span><span style="color: #0000BB">id</span><span style="color: #007700">, </span><span style="color: #0000BB">$article</span><span style="color: #007700">-></span><span style="color: #0000BB">article_categories</span><span style="color: #007700">, </span><span style="color: #0000BB">3</span><span style="color: #007700">, </span><span style="color: #0000BB">$article</span><span style="color: #007700">-></span><span style="color: #0000BB">id</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="99"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $titleNow </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">defaultCompany</span><span style="color: #007700">-></span><span style="color: #0000BB">name </span><span style="color: #007700">.</span><span style="color: #DD0000">" : Berita - "</span><span style="color: #007700">. </span><span style="color: #0000BB">$article</span><span style="color: #007700">-></span><span style="color: #0000BB">title </span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-1" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-2" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Controller/Controller.php&line=529">CORE/src/Controller/Controller.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-2">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="525"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">throws </span><span style="color: #007700">\</span><span style="color: #0000BB">UnexpectedValueException </span><span style="color: #007700">If return </span><span style="color: #0000BB">value of action is not </span><span style="color: #007700">`</span><span style="color: #DD0000">null</span><span style="color: #007700">` or `</span><span style="color: #DD0000">ResponseInterface</span><span style="color: #007700">` </span><span style="color: #0000BB">instance</span><span style="color: #007700">.</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="526"></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="527"></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">invokeAction</span><span style="color: #007700">(</span><span style="color: #0000BB">Closure $action</span><span style="color: #007700">, array </span><span style="color: #0000BB">$args</span><span style="color: #007700">): </span><span style="color: #0000BB">void</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="528"></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="529"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$action</span><span style="color: #007700">(...</span><span style="color: #0000BB">$args</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="530"></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">!== </span><span style="color: #0000BB">null </span><span style="color: #007700">&& !</span><span style="color: #0000BB">$result </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="531"></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">UnexpectedValueException</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="532"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'Controller actions can only return ResponseInterface instance or null. '</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="533"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">. </span><span style="color: #DD0000">'Got %s instead.'</span><span style="color: #007700">,</span></span></code></td>
</tr>
</table>
<div id="stack-args-2" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-3" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Controller/ControllerFactory.php&line=79">CORE/src/Controller/ControllerFactory.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-3">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="75"></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="76"></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="77"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $action </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">getAction</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="78"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $args </span><span style="color: #007700">= </span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">getRequest</span><span style="color: #007700">()-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'pass'</span><span style="color: #007700">));</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="79"></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">invokeAction</span><span style="color: #007700">(</span><span style="color: #0000BB">$action</span><span style="color: #007700">, </span><span style="color: #0000BB">$args</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="80"></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="81"></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="82"></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">ResponseInterface</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="83"></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">$result</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-3" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-4" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/BaseApplication.php&line=251">CORE/src/Http/BaseApplication.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-4">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="247"></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="248"></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="249"></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">controllerFactory</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></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="250"></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="251"></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">controllerFactory</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="252"></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="253"></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="254"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-4" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-5" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/Runner.php&line=77">CORE/src/Http/Runner.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-5">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="73"></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">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="74"></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="75"></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="76"></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">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></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">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="78"></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="79"></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="80"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= new </span><span style="color: #0000BB">Response</span><span style="color: #007700">([</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="81"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'body' </span><span style="color: #007700">=> </span><span style="color: #DD0000">'Middleware queue was exhausted without returning a response '</span></span></code></td>
</tr>
</table>
<div id="stack-args-5" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-6" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/Middleware/CsrfProtectionMiddleware.php&line=146">CORE/src/Http/Middleware/CsrfProtectionMiddleware.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-6">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="142"></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">$method </span><span style="color: #007700">=== </span><span style="color: #DD0000">'GET' </span><span style="color: #007700">&& </span><span style="color: #0000BB">$cookieData </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="143"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $token </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">createToken</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="144"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $request </span><span style="color: #007700">= </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">withAttribute</span><span style="color: #007700">(</span><span style="color: #DD0000">'csrfToken'</span><span style="color: #007700">, </span><span style="color: #0000BB">$token</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="145"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/** @var mixed $response */</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="146"></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">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="147"></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="148"></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">_addTokenCookie</span><span style="color: #007700">(</span><span style="color: #0000BB">$token</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="149"></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="150"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-6" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-7" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/Runner.php&line=73">CORE/src/Http/Runner.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-7">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<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">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></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">queue</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="72"></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="73"></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">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</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="74"></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="75"></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="76"></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">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></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">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-7" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-8" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/Middleware/BodyParserMiddleware.php&line=159">CORE/src/Http/Middleware/BodyParserMiddleware.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-8">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<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">*/</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="156"></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">process</span><span style="color: #007700">(</span><span style="color: #0000BB">ServerRequestInterface $request</span><span style="color: #007700">, </span><span style="color: #0000BB">RequestHandlerInterface $handler</span><span style="color: #007700">): </span><span style="color: #0000BB">ResponseInterface</span></span></code></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"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">in_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getMethod</span><span style="color: #007700">(), </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">methods</span><span style="color: #007700">, </span><span style="color: #0000BB">true</span><span style="color: #007700">)) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="159"></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">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="160"></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="161"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">[</span><span style="color: #0000BB">$type</span><span style="color: #007700">] = </span><span style="color: #0000BB">explode</span><span style="color: #007700">(</span><span style="color: #DD0000">';'</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getHeaderLine</span><span style="color: #007700">(</span><span style="color: #DD0000">'Content-Type'</span><span style="color: #007700">));</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="162"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $type </span><span style="color: #007700">= </span><span style="color: #0000BB">strtolower</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="163"></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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">parsers</span><span style="color: #007700">[</span><span style="color: #0000BB">$type</span><span style="color: #007700">])) {</span></span></code></td>
</tr>
</table>
<div id="stack-args-8" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-9" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/Runner.php&line=73">CORE/src/Http/Runner.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-9">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<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">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></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">queue</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="72"></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="73"></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">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</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="74"></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="75"></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="76"></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">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></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">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-9" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-10" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Routing/Middleware/RoutingMiddleware.php&line=166">CORE/src/Routing/Middleware/RoutingMiddleware.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-10">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="162"></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="163"></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="164"></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="165"></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="166"></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">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="167"></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="168"></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="169"></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="170"></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-10" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-11" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/Runner.php&line=73">CORE/src/Http/Runner.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-11">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<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">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></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">queue</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="72"></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="73"></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">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</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="74"></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="75"></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="76"></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">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></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">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-11" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-12" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Routing/Middleware/AssetMiddleware.php&line=68">CORE/src/Routing/Middleware/AssetMiddleware.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-12">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="64"></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">process</span><span style="color: #007700">(</span><span style="color: #0000BB">ServerRequestInterface $request</span><span style="color: #007700">, </span><span style="color: #0000BB">RequestHandlerInterface $handler</span><span style="color: #007700">): </span><span style="color: #0000BB">ResponseInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></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="66"></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="67"></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="68"></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">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></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">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></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="71"></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="72"></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">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-12" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-13" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/Runner.php&line=73">CORE/src/Http/Runner.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-13">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<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">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></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">queue</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="72"></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="73"></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">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</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="74"></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="75"></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="76"></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">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></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">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-13" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-14" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Error/Middleware/ErrorHandlerMiddleware.php&line=121">CORE/src/Error/Middleware/ErrorHandlerMiddleware.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-14">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="117"></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="118"></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">process</span><span style="color: #007700">(</span><span style="color: #0000BB">ServerRequestInterface $request</span><span style="color: #007700">, </span><span style="color: #0000BB">RequestHandlerInterface $handler</span><span style="color: #007700">): </span><span style="color: #0000BB">ResponseInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="119"></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="120"></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="121"></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">$handler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<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">} catch (</span><span style="color: #0000BB">RedirectException $exception</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">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">handleRedirect</span><span style="color: #007700">(</span><span style="color: #0000BB">$exception</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 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="125"></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></code></td>
</tr>
</table>
<div id="stack-args-14" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-15" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/Runner.php&line=73">CORE/src/Http/Runner.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-15">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<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">if (</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">valid</span><span style="color: #007700">()) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="70"></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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">current</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="71"></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">queue</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="72"></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="73"></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">$middleware</span><span style="color: #007700">-></span><span style="color: #0000BB">process</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</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="74"></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="75"></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="76"></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">fallbackHandler</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="77"></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">fallbackHandler</span><span style="color: #007700">-></span><span style="color: #0000BB">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></td>
</tr>
</table>
<div id="stack-args-15" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-16" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/Runner.php&line=58">CORE/src/Http/Runner.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-16">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="54"></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">queue </span><span style="color: #007700">= </span><span style="color: #0000BB">$queue</span><span style="color: #007700">;</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"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">queue</span><span style="color: #007700">-></span><span style="color: #0000BB">rewind</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"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">fallbackHandler </span><span style="color: #007700">= </span><span style="color: #0000BB">$fallbackHandler</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="57"></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="58"></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">handle</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span></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 style="color: #007700">}</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"></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: #FF8000">/**</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">* </span><span style="color: #0000BB">Handle incoming server request </span><span style="color: #007700">and return </span><span style="color: #0000BB">a response</span><span style="color: #007700">.</span></span></code></td>
</tr>
</table>
<div id="stack-args-16" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-17" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/vendor/cakephp/cakephp/src/Http/Server.php&line=90">CORE/src/Http/Server.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-17">Toggle Arguments</a>
</div>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="86"></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="87"></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="88"></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="89"></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="90"></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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">app</span><span style="color: #007700">);</span></span></code></span></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></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">if (</span><span style="color: #0000BB">$request </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">ServerRequest</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"> $request</span><span style="color: #007700">-></span><span style="color: #0000BB">getSession</span><span style="color: #007700">()-></span><span style="color: #0000BB">close</span><span style="color: #007700">();</span></span></code></td>
</tr>
<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>
</table>
<div id="stack-args-17" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div id="stack-frame-18" style="display:none;" class="stack-details">
<div class="stack-frame-header">
<span class="stack-frame-file">
<a href="phpstorm://open?file=/home/yuasa/dealer/www.kamajayatrilaksana.com/public/webroot/index.php&line=40">ROOT/webroot/index.php</a> </span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-18">Toggle Arguments</a>
</div>
<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" class="cake-debug" style="display: none;">
<h4>Arguments</h4>
<div class="cake-debug">No arguments</div>
</div>
</div>
<div class="error-suggestion">
<strong>Error in: </strong>
ROOT/vendor/cakephp/cakephp/src/ORM/Table.php, line 1816<h3>Could this be caused by using Auto-Tables?</h3>
<p>
Some of the Table objects in your application were created by instantiating "<strong>Cake\ORM\Table</strong>"
instead of any other specific subclass.
</p>
<p>This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:</p>
<ul>
<li>The class for the specified table does not exist.</li>
<li>The Table was created with a typo: <strong><em>$this->getTableLocator()->get('Articles');</em></strong></li>
<li>The class file has a typo in the name or incorrect namespace: <strong><em>class Articles extends Table</em></strong></li>
<li>The file containing the class has a typo or incorrect casing: <strong><em>Articles.php</em></strong></li>
<li>The Table was used using associations but the association has a typo: <strong><em>$this->belongsTo('Articles')</em></strong></li>
<li>The table class resides in a Plugin but <strong><em>no plugin notation</em></strong> was used in the association definition.</li>
</ul>
<br/>
<p>Please try correcting the issue for the following table aliases:</p>
<ul>
<li><strong>Thumbs</strong></li>
<li><strong>Thumb2</strong></li>
<li><strong>Users</strong></li>
<li><strong>ArticleCategoriesCategories</strong></li>
<li><strong>ImageBig</strong></li>
<li><strong>Tags</strong></li>
</ul>
<br/>
</div>
<p class="customize">
If you want to customize this error message, create
<em>templates/Error/error500.php</em>
</p>
</div>
</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();
});
bindEvent('.header-title a', 'click', function(event) {
event.preventDefault();
var text = '';
each(this.parentNode.childNodes, function(el) {
if (el.nodeName !== 'A') {
text += el.textContent.trim();
}
});
// Use execCommand(copy) as it has the widest support.
var textArea = document.createElement("textarea");
textArea.value = text;
document.body.appendChild(textArea);
textArea.focus();
textArea.select();
var el = this;
try {
document.execCommand('copy');
// Show a success icon and then revert
var original = el.innerText;
el.innerText = '\ud83c\udf70';
setTimeout(function () {
el.innerText = original;
}, 1000);
} catch (err) {
alert('Unable to update clipboard ' + err);
}
document.body.removeChild(textArea);
this.parentNode.parentNode.scrollIntoView(true);
});
});
</script>
</body>
</html>
'
protected _statusCodes => [
(int) 100 => 'Continue' ,
(int) 101 => 'Switching Protocols' ,
(int) 102 => 'Processing' ,
(int) 200 => 'OK' ,
(int) 201 => 'Created' ,
(int) 202 => 'Accepted' ,
(int) 203 => 'Non-Authoritative Information' ,
(int) 204 => 'No Content' ,
(int) 205 => 'Reset Content' ,
(int) 206 => 'Partial Content' ,
(int) 207 => 'Multi-status' ,
(int) 208 => 'Already Reported' ,
(int) 226 => 'IM used' ,
(int) 300 => 'Multiple Choices' ,
(int) 301 => 'Moved Permanently' ,
(int) 302 => 'Found' ,
(int) 303 => 'See Other' ,
(int) 304 => 'Not Modified' ,
(int) 305 => 'Use Proxy' ,
(int) 306 => '(Unused)' ,
(int) 307 => 'Temporary Redirect' ,
(int) 308 => 'Permanent Redirect' ,
(int) 400 => 'Bad Request' ,
(int) 401 => 'Unauthorized' ,
(int) 402 => 'Payment Required' ,
(int) 403 => 'Forbidden' ,
(int) 404 => 'Not Found' ,
(int) 405 => 'Method Not Allowed' ,
(int) 406 => 'Not Acceptable' ,
(int) 407 => 'Proxy Authentication Required' ,
(int) 408 => 'Request Timeout' ,
(int) 409 => 'Conflict' ,
(int) 410 => 'Gone' ,
(int) 411 => 'Length Required' ,
(int) 412 => 'Precondition Failed' ,
(int) 413 => 'Request Entity Too Large' ,
(int) 414 => 'Request-URI Too Large' ,
(int) 415 => 'Unsupported Media Type' ,
(int) 416 => 'Requested range not satisfiable' ,
(int) 417 => 'Expectation Failed' ,
(int) 418 => 'I'm a teapot' ,
(int) 421 => 'Misdirected Request' ,
(int) 422 => 'Unprocessable Entity' ,
(int) 423 => 'Locked' ,
(int) 424 => 'Failed Dependency' ,
(int) 425 => 'Unordered Collection' ,
(int) 426 => 'Upgrade Required' ,
(int) 428 => 'Precondition Required' ,
(int) 429 => 'Too Many Requests' ,
(int) 431 => 'Request Header Fields Too Large' ,
(int) 444 => 'Connection Closed Without Response' ,
(int) 451 => 'Unavailable For Legal Reasons' ,
(int) 499 => 'Client Closed Request' ,
(int) 500 => 'Internal Server Error' ,
(int) 501 => 'Not Implemented' ,
(int) 502 => 'Bad Gateway' ,
(int) 503 => 'Service Unavailable' ,
(int) 504 => 'Gateway Timeout' ,
(int) 505 => 'Unsupported Version' ,
(int) 506 => 'Variant Also Negotiates' ,
(int) 507 => 'Insufficient Storage' ,
(int) 508 => 'Loop Detected' ,
(int) 510 => 'Not Extended' ,
(int) 511 => 'Network Authentication Required' ,
(int) 599 => 'Network Connect Timeout Error' ,
]
protected _mimeTypes => [
'html' => [
'' => [maximum depth reached] ,
] ,
'json' => 'application/json' ,
'xml' => [
'' => [maximum depth reached] ,
] ,
'xhtml' => [
'' => [maximum depth reached] ,
] ,
'webp' => 'image/webp' ,
'rss' => 'application/rss+xml' ,
'ai' => 'application/postscript' ,
'bcpio' => 'application/x-bcpio' ,
'bin' => 'application/octet-stream' ,
'ccad' => 'application/clariscad' ,
'cdf' => 'application/x-netcdf' ,
'class' => 'application/octet-stream' ,
'cpio' => 'application/x-cpio' ,
'cpt' => 'application/mac-compactpro' ,
'csh' => 'application/x-csh' ,
'csv' => [
'' => [maximum depth reached] ,
] ,
'dcr' => 'application/x-director' ,
'dir' => 'application/x-director' ,
'dms' => 'application/octet-stream' ,
'doc' => 'application/msword' ,
'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' ,
'drw' => 'application/drafting' ,
'dvi' => 'application/x-dvi' ,
'dwg' => 'application/acad' ,
'dxf' => 'application/dxf' ,
'dxr' => 'application/x-director' ,
'eot' => 'application/vnd.ms-fontobject' ,
'eps' => 'application/postscript' ,
'exe' => 'application/octet-stream' ,
'ez' => 'application/andrew-inset' ,
'flv' => 'video/x-flv' ,
'gtar' => 'application/x-gtar' ,
'gz' => 'application/x-gzip' ,
'bz2' => 'application/x-bzip' ,
'7z' => 'application/x-7z-compressed' ,
'hdf' => 'application/x-hdf' ,
'hqx' => 'application/mac-binhex40' ,
'ico' => 'image/x-icon' ,
'ips' => 'application/x-ipscript' ,
'ipx' => 'application/x-ipix' ,
'js' => 'application/javascript' ,
'jsonapi' => 'application/vnd.api+json' ,
'latex' => 'application/x-latex' ,
'lha' => 'application/octet-stream' ,
'lsp' => 'application/x-lisp' ,
'lzh' => 'application/octet-stream' ,
'man' => 'application/x-troff-man' ,
'me' => 'application/x-troff-me' ,
'mif' => 'application/vnd.mif' ,
'ms' => 'application/x-troff-ms' ,
'nc' => 'application/x-netcdf' ,
'oda' => 'application/oda' ,
'otf' => 'font/otf' ,
'pdf' => 'application/pdf' ,
'pgn' => 'application/x-chess-pgn' ,
'pot' => 'application/vnd.ms-powerpoint' ,
'pps' => 'application/vnd.ms-powerpoint' ,
'ppt' => 'application/vnd.ms-powerpoint' ,
'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation' ,
'ppz' => 'application/vnd.ms-powerpoint' ,
'pre' => 'application/x-freelance' ,
'prt' => 'application/pro_eng' ,
'ps' => 'application/postscript' ,
'roff' => 'application/x-troff' ,
'scm' => 'application/x-lotusscreencam' ,
'set' => 'application/set' ,
'sh' => 'application/x-sh' ,
'shar' => 'application/x-shar' ,
'sit' => 'application/x-stuffit' ,
'skd' => 'application/x-koan' ,
'skm' => 'application/x-koan' ,
'skp' => 'application/x-koan' ,
'skt' => 'application/x-koan' ,
'smi' => 'application/smil' ,
'smil' => 'application/smil' ,
'sol' => 'application/solids' ,
'spl' => 'application/x-futuresplash' ,
'src' => 'application/x-wais-source' ,
'step' => 'application/STEP' ,
'stl' => 'application/SLA' ,
'stp' => 'application/STEP' ,
'sv4cpio' => 'application/x-sv4cpio' ,
'sv4crc' => 'application/x-sv4crc' ,
'svg' => 'image/svg+xml' ,
'svgz' => 'image/svg+xml' ,
'swf' => 'application/x-shockwave-flash' ,
't' => 'application/x-troff' ,
'tar' => 'application/x-tar' ,
'tcl' => 'application/x-tcl' ,
'tex' => 'application/x-tex' ,
'texi' => 'application/x-texinfo' ,
'texinfo' => 'application/x-texinfo' ,
'tr' => 'application/x-troff' ,
'tsp' => 'application/dsptype' ,
'ttc' => 'font/ttf' ,
'ttf' => 'font/ttf' ,
'unv' => 'application/i-deas' ,
'ustar' => 'application/x-ustar' ,
'vcd' => 'application/x-cdlink' ,
'vda' => 'application/vda' ,
'xlc' => 'application/vnd.ms-excel' ,
'xll' => 'application/vnd.ms-excel' ,
'xlm' => 'application/vnd.ms-excel' ,
'xls' => 'application/vnd.ms-excel' ,
'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' ,
'xlw' => 'application/vnd.ms-excel' ,
'zip' => 'application/zip' ,
'aif' => 'audio/x-aiff' ,
'aifc' => 'audio/x-aiff' ,
'aiff' => 'audio/x-aiff' ,
'au' => 'audio/basic' ,
'kar' => 'audio/midi' ,
'mid' => 'audio/midi' ,
'midi' => 'audio/midi' ,
'mp2' => 'audio/mpeg' ,
'mp3' => 'audio/mpeg' ,
'mpga' => 'audio/mpeg' ,
'ogg' => 'audio/ogg' ,
'oga' => 'audio/ogg' ,
'spx' => 'audio/ogg' ,
'ra' => 'audio/x-realaudio' ,
'ram' => 'audio/x-pn-realaudio' ,
'rm' => 'audio/x-pn-realaudio' ,
'rpm' => 'audio/x-pn-realaudio-plugin' ,
'snd' => 'audio/basic' ,
'tsi' => 'audio/TSP-audio' ,
'wav' => 'audio/x-wav' ,
'aac' => 'audio/aac' ,
'asc' => 'text/plain' ,
'c' => 'text/plain' ,
'cc' => 'text/plain' ,
'css' => 'text/css' ,
'etx' => 'text/x-setext' ,
'f' => 'text/plain' ,
'f90' => 'text/plain' ,
'h' => 'text/plain' ,
'hh' => 'text/plain' ,
'htm' => [
'' => [maximum depth reached] ,
] ,
'ics' => 'text/calendar' ,
'm' => 'text/plain' ,
'rtf' => 'text/rtf' ,
'rtx' => 'text/richtext' ,
'sgm' => 'text/sgml' ,
'sgml' => 'text/sgml' ,
'tsv' => 'text/tab-separated-values' ,
'tpl' => 'text/template' ,
'txt' => 'text/plain' ,
'text' => 'text/plain' ,
'avi' => 'video/x-msvideo' ,
'fli' => 'video/x-fli' ,
'mov' => 'video/quicktime' ,
'movie' => 'video/x-sgi-movie' ,
'mpe' => 'video/mpeg' ,
'mpeg' => 'video/mpeg' ,
'mpg' => 'video/mpeg' ,
'qt' => 'video/quicktime' ,
'viv' => 'video/vnd.vivo' ,
'vivo' => 'video/vnd.vivo' ,
'ogv' => 'video/ogg' ,
'webm' => 'video/webm' ,
'mp4' => 'video/mp4' ,
'm4v' => 'video/mp4' ,
'f4v' => 'video/mp4' ,
'f4p' => 'video/mp4' ,
'm4a' => 'audio/mp4' ,
'f4a' => 'audio/mp4' ,
'f4b' => 'audio/mp4' ,
'gif' => 'image/gif' ,
'ief' => 'image/ief' ,
'jpg' => 'image/jpeg' ,
'jpeg' => 'image/jpeg' ,
'jpe' => 'image/jpeg' ,
'pbm' => 'image/x-portable-bitmap' ,
'pgm' => 'image/x-portable-graymap' ,
'png' => 'image/png' ,
'pnm' => 'image/x-portable-anymap' ,
'ppm' => 'image/x-portable-pixmap' ,
'ras' => 'image/cmu-raster' ,
'rgb' => 'image/x-rgb' ,
'tif' => 'image/tiff' ,
'tiff' => 'image/tiff' ,
'xbm' => 'image/x-xbitmap' ,
'xpm' => 'image/x-xpixmap' ,
'xwd' => 'image/x-xwindowdump' ,
'psd' => [
'' => [maximum depth reached] ,
] ,
'ice' => 'x-conference/x-cooltalk' ,
'iges' => 'model/iges' ,
'igs' => 'model/iges' ,
'mesh' => 'model/mesh' ,
'msh' => 'model/mesh' ,
'silo' => 'model/mesh' ,
'vrml' => 'model/vrml' ,
'wrl' => 'model/vrml' ,
'mime' => 'www/mime' ,
'pdb' => 'chemical/x-pdb' ,
'xyz' => 'chemical/x-pdb' ,
'javascript' => 'application/javascript' ,
'form' => 'application/x-www-form-urlencoded' ,
'file' => 'multipart/form-data' ,
'xhtml-mobile' => 'application/vnd.wap.xhtml+xml' ,
'atom' => 'application/atom+xml' ,
'amf' => 'application/x-amf' ,
'wap' => [
'' => [maximum depth reached] ,
] ,
'wml' => 'text/vnd.wap.wml' ,
'wmlscript' => 'text/vnd.wap.wmlscript' ,
'wbmp' => 'image/vnd.wap.wbmp' ,
'woff' => 'application/x-font-woff' ,
'appcache' => 'text/cache-manifest' ,
'manifest' => 'text/cache-manifest' ,
'htc' => 'text/x-component' ,
'rdf' => 'application/xml' ,
'crx' => 'application/x-chrome-extension' ,
'oex' => 'application/x-opera-extension' ,
'xpi' => 'application/x-xpinstall' ,
'safariextz' => 'application/octet-stream' ,
'webapp' => 'application/x-web-app-manifest+json' ,
'vcf' => 'text/x-vcard' ,
'vtt' => 'text/vtt' ,
'mkv' => 'video/x-matroska' ,
'pkpass' => 'application/vnd.apple.pkpass' ,
'ajax' => 'text/html' ,
'bmp' => 'image/bmp' ,
]
protected _status => (int) 500
protected _file => null
protected _fileRange => [
]
protected _charset => 'UTF-8'
protected _cacheDirectives => [
]
protected _cookies => object( Cake\Http\Cookie\CookieCollection ) id: 1 {}
protected _reasonPhrase => 'Internal Server Error'
protected _streamMode => 'wb+'
protected _streamTarget => 'php://memory'
protected headers => [
'Content-Type' => [
'' => [maximum depth reached] ,
] ,
]
protected headerNames => [
'content-type' => 'Content-Type' ,
]
private protocol => '1.1'
private stream => object( Laminas\Diactoros\Stream ) id: 2 {
}
}
$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 197
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 75
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 128
[main] - ROOT/webroot/index.php, line 40
Error: Argument 1 passed to Cake\ORM\Table::save() must implement interface Cake\Datasource\EntityInterface, instance of stdClass given, called in /home/yuasa/dealer/www.kamajayatrilaksana.com/public/src/Controller/NewsController.php on line 95
* @ param array|\ ArrayAccess |\ Cake \ ORM \ SaveOptionsBuilder $options The options to use when saving .
* @return \ Cake \ Datasource \ EntityInterface | false
* @ throws \ Cake \ ORM \ Exception \ RolledbackTransactionException If the transaction is aborted in the afterSave event .
*/
public function save ( EntityInterface $entity , $options = [])
{
if ( $options instanceof SaveOptionsBuilder ) {
$options = $options -> toArray ();
}
Arguments
// tambah view count dan last seen
$article -> view_count += 1 ;
$article -> last_view = FrozenTime :: now ();
$this -> Articles -> save ( $article );
// get relatedNews
$relatedArticles = $this -> Articles -> getRelatedNewsByCategories ( $this -> defaultCompany -> id , $article -> article_categories , 3 , $article -> id );
$titleNow = $this -> defaultCompany -> name . " : Berita - " . $article -> title ;
* @ throws \ UnexpectedValueException If return value of action is not ` null ` or ` ResponseInterface ` instance .
*/
public function invokeAction ( Closure $action , array $args ): void
{
$result = $action (... $args );
if ( $result !== null && ! $result instanceof ResponseInterface ) {
throw new UnexpectedValueException ( sprintf (
'Controller actions can only return ResponseInterface instance or null. '
. 'Got %s instead.' ,
}
$action = $controller -> getAction ();
$args = array_values ( $controller -> getRequest ()-> getParam ( 'pass' ));
$controller -> invokeAction ( $action , $args );
$result = $controller -> shutdownProcess ();
if ( $result instanceof ResponseInterface ) {
return $result ;
}
$controller = $this -> controllerFactory -> create ( $request );
return $this -> controllerFactory -> invoke ( $controller );
}
}
return $middleware -> process ( $request , $this );
}
if ( $this -> fallbackHandler ) {
return $this -> fallbackHandler -> handle ( $request );
}
$response = new Response ([
'body' => 'Middleware queue was exhausted without returning a response '
if ( $method === 'GET' && $cookieData === null ) {
$token = $this -> createToken ();
$request = $request -> withAttribute ( 'csrfToken' , $token );
/** @var mixed $response */
$response = $handler -> handle ( $request );
return $this -> _addTokenCookie ( $token , $request , $response );
}
if ( $this -> queue -> valid ()) {
$middleware = $this -> queue -> current ();
$this -> queue -> next ();
return $middleware -> process ( $request , $this );
}
if ( $this -> fallbackHandler ) {
return $this -> fallbackHandler -> handle ( $request );
*/
public function process ( ServerRequestInterface $request , RequestHandlerInterface $handler ): ResponseInterface
{
if (! in_array ( $request -> getMethod (), $this -> methods , true )) {
return $handler -> handle ( $request );
}
[ $type ] = explode ( ';' , $request -> getHeaderLine ( 'Content-Type' ));
$type = strtolower ( $type );
if (!isset( $this -> parsers [ $type ])) {
if ( $this -> queue -> valid ()) {
$middleware = $this -> queue -> current ();
$this -> queue -> next ();
return $middleware -> process ( $request , $this );
}
if ( $this -> fallbackHandler ) {
return $this -> fallbackHandler -> handle ( $request );
);
}
$matching = Router :: getRouteCollection ()-> getMiddleware ( $middleware );
if (! $matching ) {
return $handler -> handle ( $request );
}
$middleware = new MiddlewareQueue ( $matching );
$runner = new Runner ();
if ( $this -> queue -> valid ()) {
$middleware = $this -> queue -> current ();
$this -> queue -> next ();
return $middleware -> process ( $request , $this );
}
if ( $this -> fallbackHandler ) {
return $this -> fallbackHandler -> handle ( $request );
public function process ( ServerRequestInterface $request , RequestHandlerInterface $handler ): ResponseInterface
{
$url = $request -> getUri ()-> getPath ();
if ( strpos ( $url , '..' ) !== false || strpos ( $url , '.' ) === false ) {
return $handler -> handle ( $request );
}
if ( strpos ( $url , '/.' ) !== false ) {
return $handler -> handle ( $request );
if ( $this -> queue -> valid ()) {
$middleware = $this -> queue -> current ();
$this -> queue -> next ();
return $middleware -> process ( $request , $this );
}
if ( $this -> fallbackHandler ) {
return $this -> fallbackHandler -> handle ( $request );
*/
public function process ( ServerRequestInterface $request , RequestHandlerInterface $handler ): ResponseInterface
{
try {
return $handler -> handle ( $request );
} catch ( RedirectException $exception ) {
return $this -> handleRedirect ( $exception );
} catch ( Throwable $exception ) {
return $this -> handleException ( $exception , $request );
if ( $this -> queue -> valid ()) {
$middleware = $this -> queue -> current ();
$this -> queue -> next ();
return $middleware -> process ( $request , $this );
}
if ( $this -> fallbackHandler ) {
return $this -> fallbackHandler -> handle ( $request );
$this -> queue = $queue ;
$this -> queue -> rewind ();
$this -> fallbackHandler = $fallbackHandler ;
return $this -> handle ( $request );
}
/**
* Handle incoming server request and return a response .
}
$this -> dispatchEvent ( 'Server.buildMiddleware' , [ 'middleware' => $middleware ]);
$response = $this -> runner -> run ( $middleware , $request , $this -> app );
if ( $request instanceof ServerRequest ) {
$request -> getSession ()-> close ();
}
// Bind your application to the server.
$server = new Server (new Application ( dirname ( __DIR__ ) . '/config' ));
// Run the request/response through the application and emit the response.
$server -> emit ( $server -> run ());
Error in:
ROOT/vendor/cakephp/cakephp/src/ORM/Table.php, line 1816
Could this be caused by using Auto-Tables?
Some of the Table objects in your application were created by instantiating "Cake\ORM\Table "
instead of any other specific subclass.
This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:
The class for the specified table does not exist.
The Table was created with a typo: $this->getTableLocator()->get('Articles');
The class file has a typo in the name or incorrect namespace: class Articles extends Table
The file containing the class has a typo or incorrect casing: Articles.php
The Table was used using associations but the association has a typo: $this->belongsTo('Articles')
The table class resides in a Plugin but no plugin notation was used in the association definition.
Please try correcting the issue for the following table aliases:
Thumbs
Thumb2
Users
ArticleCategoriesCategories
ImageBig
Tags
If you want to customize this error message, create
templates/Error/error500.php