Notice (8) : Undefined index: HTTP_ACCEPT_LANGUAGE [APP/Controller/AppController.php , line 283 ]Code Context $selectedLang = $this -> session -> read ( 'language' );
$acceptLang = substr ( $_SERVER [ 'HTTP_ACCEPT_LANGUAGE' ], 0 , 2 );
$selectedLang = 'en' App\Controller\AppController::setLanguage() - APP/Controller/AppController.php, line 283
App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 189
App\Controller\ProductsController::beforeFilter() - APP/Controller/ProductsController.php, line 38
Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 351
Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 328
Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 112
Cake\Controller\Controller::startupProcess() - CORE/src/Controller/Controller.php, line 673
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 115
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 66
[main] - ROOT/webroot/index.php, line 165 Notice (8) : Trying to access array offset on value of type null [APP/Controller/ProductsController.php , line 2769 ]Code Context $this -> request -> data [ 'wishlist' ] = 1 ;
$this -> request -> data [ 'email' ] = $user [ 'email' ];
$this -> request -> data [ 'user_id' ] = $this -> Auth -> user ( 'id' );
$prod_id = '218715'
$user = null App\Controller\ProductsController::addtowishlist() - APP/Controller/ProductsController.php, line 2769
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 606
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 66
[main] - ROOT/webroot/index.php, line 165 Warning (512) : Unable to emit headers. Headers sent in file=/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Error/Debugger.php line=855 [CORE/src/Http/ResponseEmitter.php , line 53 ]Code Context if ( Configure :: read ( 'debug' )) {
trigger_error ( $message , E_USER_WARNING );
} else {
$response = object(Cake\Http\Response) {
'status' => (int) 500,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => '<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Error: Database Error </title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/> <style>
body {
font: 14px helvetica, arial, sans-serif;
color: #222;
background-color: #f8f8f8;
padding:0;
margin: 0;
max-height: 100%;
}
.code-dump,
pre {
background: #fefefe;
border: 1px solid #ddd;
padding: 5px;
white-space: pre-wrap;
}
header {
background-color: #C3232D;
color: #ffffff;
padding: 16px 10px;
border-bottom: 3px solid #626262;
}
.header-title {
margin: 0;
font-weight: normal;
font-size: 30px;
line-height: 64px;
}
.header-type {
opacity: 0.75;
display: block;
font-size: 16px;
line-height: 1;
}
.header-help {
font-size: 12px;
line-height: 1;
position: absolute;
top: 30px;
right: 16px;
}
.header-help a {
color: #fff;
}
.error-nav {
float: left;
width: 30%;
}
.error-contents {
padding: 10px 1%;
float: right;
width: 68%;
}
.error,
.error-subheading {
font-size: 18px;
margin-top: 0;
padding: 10px;
border: 1px solid #EDBD26;
}
.error-subheading {
background: #1798A5;
color: #fff;
border: 1px solid #02808C;
}
.error {
background: #ffd54f;
}
.customize {
opacity: 0.6;
}
.stack-trace {
list-style: none;
margin: 0;
padding: 0;
}
.stack-frame {
padding: 10px;
border-bottom: 1px solid #212121;
}
.stack-frame:last-child {
border-bottom: none;
}
.stack-frame a {
display: block;
color: #212121;
text-decoration: none;
}
.stack-frame.active {
background: #e5e5e5;
}
.stack-frame a:hover {
text-decoration: underline;
}
.stack-file,
.stack-function {
display: block;
margin-bottom: 5px;
}
.stack-frame-file,
.stack-file {
font-family: consolas, monospace;
}
.stack-function {
font-weight: bold;
}
.stack-file {
font-size: 0.9em;
word-wrap: break-word;
}
.stack-details {
background: #ececec;
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
border: 1px solid #ababab;
padding: 10px;
margin-bottom: 18px;
}
.stack-frame-args {
float: right;
}
.toggle-link {
color: #1798A5;
text-decoration: none;
}
.toggle-link:hover {
text-decoration: underline;
}
.toggle-vendor-frames {
padding: 5px;
display: block;
text-align: center;
}
.code-excerpt {
width: 100%;
margin: 5px 0;
background: #fefefe;
}
.code-highlight {
display: block;
background: #fff59d;
}
.excerpt-line {
padding-left: 2px;
}
.excerpt-number {
background: #f6f6f6;
width: 50px;
text-align: right;
color: #666;
border-right: 1px solid #ddd;
padding: 2px;
}
.excerpt-number:after {
content: attr(data-number);
}
table {
text-align: left;
}
th, td {
padding: 4px;
}
th {
border-bottom: 1px solid #ccc;
}
</style>
</head>
<body>
<header>
<h1 class="header-title">
Database Error <span class="header-type">PDOException</span>
</h1>
<div class="header-help">
<a target="_blank" href="https://book.cakephp.org/3/">Documentation</a>
<a target="_blank" href="https://api.cakephp.org/">API</a>
</div>
</header>
<div class="error-contents">
<p class="error-subheading">
<strong>Error: </strong>
SQLSTATE[HY000]: General error: 1364 Field 'email' doesn't have a default value </p>
<div id="stack-frame-0" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Database/Statement/MysqlStatement.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-0">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="33"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $connection </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_driver</span><span style="color: #007700">-></span><span style="color: #0000BB">getConnection</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="34"></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="35"></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="36"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $connection</span><span style="color: #007700">-></span><span style="color: #0000BB">setAttribute</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">MYSQL_ATTR_USE_BUFFERED_QUERY</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_bufferResults</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="37"></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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_statement</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span></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 style="color: #007700">} finally {</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"> $connection</span><span style="color: #007700">-></span><span style="color: #0000BB">setAttribute</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">MYSQL_ATTR_USE_BUFFERED_QUERY</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="40"></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="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-0" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-1" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Database/Connection.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-1">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="338"></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="339"></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">getDisconnectRetry</span><span style="color: #007700">()-></span><span style="color: #0000BB">run</span><span style="color: #007700">(function () use (</span><span style="color: #0000BB">$query</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="340"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $statement </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="341"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">getValueBinder</span><span style="color: #007700">()-></span><span style="color: #0000BB">attachTo</span><span style="color: #007700">(</span><span style="color: #0000BB">$statement</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="342"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $statement</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="343"></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="344"></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">$statement</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="345"></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="346"></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-1" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-2" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Core/Retry/CommandRetry.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-2">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $lastException </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="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">do {</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"> </span><span style="color: #007700">try {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></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">$action</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Exception $e</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $lastException </span><span style="color: #007700">= </span><span style="color: #0000BB">$e</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 style="color: #007700">if (!</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">strategy</span><span style="color: #007700">-></span><span style="color: #0000BB">shouldRetry</span><span style="color: #007700">(</span><span style="color: #0000BB">$e</span><span style="color: #007700">, </span><span style="color: #0000BB">$retryCount</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"> </span><span style="color: #007700">throw </span><span style="color: #0000BB">$e</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-2" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-3" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Database/Connection.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-3">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="341"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">getValueBinder</span><span style="color: #007700">()-></span><span style="color: #0000BB">attachTo</span><span style="color: #007700">(</span><span style="color: #0000BB">$statement</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="342"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $statement</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="343"></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="344"></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">$statement</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="345"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">});</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="346"></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="347"></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="348"></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="349"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Executes a SQL statement </span><span style="color: #007700">and </span><span style="color: #0000BB">returns the Statement object </span><span style="color: #007700">as </span><span style="color: #0000BB">result</span><span style="color: #007700">.</span></span></code></td>
</tr>
</table>
<div id="stack-args-3" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-4" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Database/Query.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-4">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="214"></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">Database</span><span style="color: #007700">\</span><span style="color: #0000BB">StatementInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="215"></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="216"></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">execute</span><span style="color: #007700">()</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="217"></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="218"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $statement </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_connection</span><span style="color: #007700">-></span><span style="color: #0000BB">run</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="219"></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">_iterator </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_decorateStatement</span><span style="color: #007700">(</span><span style="color: #0000BB">$statement</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="220"></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">_dirty </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="221"></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="222"></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">_iterator</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-4" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-5" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-5">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="2156"></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="2157"></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="2158"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $statement </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">query</span><span style="color: #007700">()-></span><span style="color: #0000BB">insert</span><span style="color: #007700">(</span><span style="color: #0000BB">array_keys</span><span style="color: #007700">(</span><span style="color: #0000BB">$data</span><span style="color: #007700">))</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2159"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">-></span><span style="color: #0000BB">values</span><span style="color: #007700">(</span><span style="color: #0000BB">$data</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2160"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2161"></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="2162"></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">$statement</span><span style="color: #007700">-></span><span style="color: #0000BB">rowCount</span><span style="color: #007700">() !== </span><span style="color: #0000BB">0</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2163"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $success </span><span style="color: #007700">= </span><span style="color: #0000BB">$entity</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2164"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $entity</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #0000BB">$filteredKeys</span><span style="color: #007700">, [</span><span style="color: #DD0000">'guard' </span><span style="color: #007700">=> </span><span style="color: #0000BB">false</span><span style="color: #007700">]);</span></span></code></td>
</tr>
</table>
<div id="stack-args-5" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-6" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-6">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="2048"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $data </span><span style="color: #007700">= </span><span style="color: #0000BB">$entity</span><span style="color: #007700">-></span><span style="color: #0000BB">extract</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getSchema</span><span style="color: #007700">()-></span><span style="color: #0000BB">columns</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="2049"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $isNew </span><span style="color: #007700">= </span><span style="color: #0000BB">$entity</span><span style="color: #007700">-></span><span style="color: #0000BB">isNew</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2050"></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="2051"></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">$isNew</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2052"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $success </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_insert</span><span style="color: #007700">(</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$data</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2053"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2054"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $success </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_update</span><span style="color: #007700">(</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$data</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2055"></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="2056"></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" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-7" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-7">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1961"></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">$entity</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1962"></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="1963"></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="1964"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $success </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_executeTransaction</span><span style="color: #007700">(function () use (</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$options</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1965"></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">_processSave</span><span style="color: #007700">(</span><span style="color: #0000BB">$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="1966"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}, </span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'atomic'</span><span style="color: #007700">]);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1967"></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="1968"></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">$success</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1969"></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">_transactionCommitted</span><span style="color: #007700">(</span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'atomic'</span><span style="color: #007700">], </span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'_primary'</span><span style="color: #007700">])) {</span></span></code></td>
</tr>
</table>
<div id="stack-args-7" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-8" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-8">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1666"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_executeTransaction</span><span style="color: #007700">(callable </span><span style="color: #0000BB">$worker</span><span style="color: #007700">, </span><span style="color: #0000BB">$atomic </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="1667"></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="1668"></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">$atomic</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1669"></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">getConnection</span><span style="color: #007700">()-></span><span style="color: #0000BB">transactional</span><span style="color: #007700">(function () use (</span><span style="color: #0000BB">$worker</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1670"></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">$worker</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1671"></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="1672"></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="1673"></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="1674"></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">$worker</span><span style="color: #007700">();</span></span></code></td>
</tr>
</table>
<div id="stack-args-8" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-9" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Database/Connection.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-9">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="737"></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="738"></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">begin</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="739"></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="740"></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="741"></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">$transaction</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="742"></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 $e</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="743"></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">rollback</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="744"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw </span><span style="color: #0000BB">$e</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="745"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Exception $e</span><span style="color: #007700">) {</span></span></code></td>
</tr>
</table>
<div id="stack-args-9" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-10" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-10">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1667"></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="1668"></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">$atomic</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1669"></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">getConnection</span><span style="color: #007700">()-></span><span style="color: #0000BB">transactional</span><span style="color: #007700">(function () use (</span><span style="color: #0000BB">$worker</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1670"></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">$worker</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1671"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">});</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1672"></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="1673"></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="1674"></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">$worker</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1675"></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-10" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-11" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-11">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1962"></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="1963"></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="1964"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $success </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_executeTransaction</span><span style="color: #007700">(function () use (</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$options</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1965"></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">_processSave</span><span style="color: #007700">(</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$options</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1966"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}, </span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'atomic'</span><span style="color: #007700">]);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1967"></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="1968"></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">$success</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1969"></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">_transactionCommitted</span><span style="color: #007700">(</span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'atomic'</span><span style="color: #007700">], </span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'_primary'</span><span style="color: #007700">])) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1970"></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">'Model.afterSaveCommit'</span><span style="color: #007700">, </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'entity'</span><span style="color: #007700">, </span><span style="color: #DD0000">'options'</span><span style="color: #007700">));</span></span></code></td>
</tr>
</table>
<div id="stack-args-11" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-12" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/src/Controller/ProductsController.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-12">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="2769"></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">request</span><span style="color: #007700">-></span><span style="color: #0000BB">data</span><span style="color: #007700">[</span><span style="color: #DD0000">'email'</span><span style="color: #007700">] = </span><span style="color: #0000BB">$user</span><span style="color: #007700">[</span><span style="color: #DD0000">'email'</span><span style="color: #007700">];</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2770"></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">request</span><span style="color: #007700">-></span><span style="color: #0000BB">data</span><span style="color: #007700">[</span><span style="color: #DD0000">'user_id'</span><span style="color: #007700">] = </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Auth</span><span style="color: #007700">-></span><span style="color: #0000BB">user</span><span style="color: #007700">(</span><span style="color: #DD0000">'id'</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2771"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $item </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">WishlistProducts</span><span style="color: #007700">-></span><span style="color: #0000BB">newEntity</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2772"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $item </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">WishlistProducts</span><span style="color: #007700">-></span><span style="color: #0000BB">patchEntity</span><span style="color: #007700">(</span><span style="color: #0000BB">$item</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">data</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2773"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$printerlist </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">WishlistProducts</span><span style="color: #007700">-></span><span style="color: #0000BB">save</span><span style="color: #007700">(</span><span style="color: #0000BB">$item</span><span style="color: #007700">)) {</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2774"></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">Flash</span><span style="color: #007700">-></span><span style="color: #0000BB">success</span><span style="color: #007700">(</span><span style="color: #0000BB">__</span><span style="color: #007700">(</span><span style="color: #DD0000">'The notification has been saved.'</span><span style="color: #007700">));</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2775"></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">redirect</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">referer</span><span style="color: #007700">());</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2776"></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="2777"></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">redirect</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">referer</span><span style="color: #007700">());</span></span></code></td>
</tr>
</table>
<div id="stack-args-12" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-13" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Controller/Controller.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-13">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="602"></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="603"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/** @var callable $callable */</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="604"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $callable </span><span style="color: #007700">= [</span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'action'</span><span style="color: #007700">)];</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="605"></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="606"></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">$callable</span><span style="color: #007700">(...</span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'pass'</span><span style="color: #007700">)));</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="607"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">Response</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="608"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">response </span><span style="color: #007700">= </span><span style="color: #0000BB">$result</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="609"></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="610"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-13" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-14" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-14">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="116"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">Response</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<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">return </span><span style="color: #0000BB">$result</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">}</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></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="120"></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">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeAction</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="121"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$response </span><span style="color: #007700">!== </span><span style="color: #0000BB">null </span><span style="color: #007700">&& !(</span><span style="color: #0000BB">$response </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">Response</span><span style="color: #007700">)) {</span></span></code></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">throw new </span><span style="color: #0000BB">LogicException</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller actions can only return Cake\Http\Response or null.'</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="123"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="124"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-14" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-15" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-15">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">factory</span><span style="color: #007700">-></span><span style="color: #0000BB">create</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'return'</span><span style="color: #007700">)) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="96"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="97"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="98"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-15" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-16" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Routing/Dispatcher.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-16">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'Dispatcher is deprecated. You should update your application to use ' </span><span style="color: #007700">.</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'the Http\Server implementation instead.'</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">);</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"> $actionDispatcher </span><span style="color: #007700">= new </span><span style="color: #0000BB">ActionDispatcher</span><span style="color: #007700">(</span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">(), </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_filters</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></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">$actionDispatcher</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="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">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'return'</span><span style="color: #007700">, </span><span style="color: #0000BB">null</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="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">-></span><span style="color: #0000BB">body</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</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>
</table>
<div id="stack-args-16" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-17" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/webroot/index.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-17">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="161"></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="162"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">$dispatcher </span><span style="color: #007700">= </span><span style="color: #0000BB">DispatcherFactory</span><span style="color: #007700">::</span><span style="color: #0000BB">create</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">$dispatcher</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatch</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"> ServerRequest</span><span style="color: #007700">::</span><span style="color: #0000BB">createFromGlobals</span><span style="color: #007700">(),</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="165"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">Response</span><span style="color: #007700">()</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="166"></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="167"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-17" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div class="error-suggestion">
<p class="notice">
If you are using SQL keywords as table column names, you can enable identifier
quoting for your database connection in config/app.php.
</p>
<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('Atricles');</em></strong></li>
<li>The class file has a typo in the name or incorrect namespace: <strong><em>class Atricles extends Table</em></strong></li>
<li>The file containing the class has a typo or incorrect casing: <strong><em>Atricles.php</em></strong></li>
<li>The Table was used using associations but the association has a typo: <strong><em>$this->belongsTo('Atricles')</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>Extra_gtins</strong></li>
<li><strong>WishlistProducts</strong></li>
</ul>
<br/>
</div>
<p class="customize">
If you want to customize this error message, create
<em>src/Template/Error/pdo_error.ctp</em>
</p>
</div>
<div class="error-nav">
<a href="#" class="toggle-link toggle-vendor-frames">toggle vendor stack frames</a>
<ul class="stack-trace">
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-0">
<span class="stack-function">⟩ PDOStatement->execute</span>
<span class="stack-file">
CORE/src/Database/Statement/MysqlStatement.php, line 37 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-1">
<span class="stack-function">⟩ Cake\Database\Statement\MysqlStatement->execute</span>
<span class="stack-file">
CORE/src/Database/Connection.php, line 342 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-2">
<span class="stack-function">⟩ Cake\Database\Connection->Cake\Database\{closure}</span>
<span class="stack-file">
CORE/src/Core/Retry/CommandRetry.php, line 67 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-3">
<span class="stack-function">⟩ Cake\Core\Retry\CommandRetry->run</span>
<span class="stack-file">
CORE/src/Database/Connection.php, line 345 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-4">
<span class="stack-function">⟩ Cake\Database\Connection->run</span>
<span class="stack-file">
CORE/src/Database/Query.php, line 218 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-5">
<span class="stack-function">⟩ Cake\Database\Query->execute</span>
<span class="stack-file">
CORE/src/ORM/Table.php, line 2160 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-6">
<span class="stack-function">⟩ Cake\ORM\Table->_insert</span>
<span class="stack-file">
CORE/src/ORM/Table.php, line 2052 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-7">
<span class="stack-function">⟩ Cake\ORM\Table->_processSave</span>
<span class="stack-file">
CORE/src/ORM/Table.php, line 1965 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-8">
<span class="stack-function">⟩ Cake\ORM\Table->Cake\ORM\{closure}</span>
<span class="stack-file">
CORE/src/ORM/Table.php, line 1670 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-9">
<span class="stack-function">⟩ Cake\ORM\Table->Cake\ORM\{closure}</span>
<span class="stack-file">
CORE/src/Database/Connection.php, line 741 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-10">
<span class="stack-function">⟩ Cake\Database\Connection->transactional</span>
<span class="stack-file">
CORE/src/ORM/Table.php, line 1671 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-11">
<span class="stack-function">⟩ Cake\ORM\Table->_executeTransaction</span>
<span class="stack-file">
CORE/src/ORM/Table.php, line 1966 </span>
</a>
</li>
<li class="stack-frame app-frame">
<a href="#" data-target="stack-frame-12">
<span class="stack-function">⟩ Cake\ORM\Table->save</span>
<span class="stack-file">
APP/Controller/ProductsController.php, line 2773 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-13">
<span class="stack-function">⟩ App\Controller\ProductsController->addtowishlist</span>
<span class="stack-file">
CORE/src/Controller/Controller.php, line 606 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-14">
<span class="stack-function">⟩ Cake\Controller\Controller->invokeAction</span>
<span class="stack-file">
CORE/src/Http/ActionDispatcher.php, line 120 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-15">
<span class="stack-function">⟩ Cake\Http\ActionDispatcher->_invoke</span>
<span class="stack-file">
CORE/src/Http/ActionDispatcher.php, line 94 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-16">
<span class="stack-function">⟩ Cake\Http\ActionDispatcher->dispatch</span>
<span class="stack-file">
CORE/src/Routing/Dispatcher.php, line 66 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-17">
<span class="stack-function">⟩ Cake\Routing\Dispatcher->dispatch</span>
<span class="stack-file">
ROOT/webroot/index.php, line 165 </span>
</a>
</li>
</ul>
</div>
<script type="text/javascript">
function bindEvent(selector, eventName, listener) {
var els = document.querySelectorAll(selector);
for (var i = 0, len = els.length; i < len; i++) {
els[i].addEventListener(eventName, listener, false);
}
}
function toggleElement(el) {
if (el.style.display === 'none') {
el.style.display = 'block';
} else {
el.style.display = 'none';
}
}
function each(els, cb) {
var i, len;
for (i = 0, len = els.length; i < len; i++) {
cb(els[i], i);
}
}
window.addEventListener('load', function() {
bindEvent('.stack-frame-args', 'click', function(event) {
var target = this.dataset['target'];
var el = document.getElementById(target);
toggleElement(el);
event.preventDefault();
});
var details = document.querySelectorAll('.stack-details');
var frames = document.querySelectorAll('.stack-frame');
bindEvent('.stack-frame a', 'click', function(event) {
each(frames, function(el) {
el.classList.remove('active');
});
this.parentNode.classList.add('active');
each(details, function(el) {
el.style.display = 'none';
});
var target = document.getElementById(this.dataset['target']);
toggleElement(target);
event.preventDefault();
});
bindEvent('.toggle-vendor-frames', 'click', function(event) {
each(frames, function(el) {
if (el.classList.contains('vendor-frame')) {
toggleElement(el);
}
});
event.preventDefault();
});
});
</script>
</body>
</html>
'
}
$maxBufferLength = (int) 8192
$file = '/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Error/Debugger.php'
$line = (int) 855
$message = 'Unable to emit headers. Headers sent in file=/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Error/Debugger.php line=855' Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 53
Cake\Error\ErrorHandler::_sendResponse() - CORE/src/Error/ErrorHandler.php, line 199
Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 139
Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 202
Cake\Error\BaseErrorHandler::wrapAndHandleException() - CORE/src/Error/BaseErrorHandler.php, line 186
[main] - [internal], line ?? Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/html/exceltoner/vendor/cakephp/cakephp/src/Error/Debugger.php:855) [CORE/src/Http/ResponseEmitter.php , line 154 ]Code Context $response -> getStatusCode (),
( $reasonPhrase ? ' ' . $reasonPhrase : '' )
));
$response = object(Cake\Http\Response) {
'status' => (int) 500,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => '<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Error: Database Error </title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/> <style>
body {
font: 14px helvetica, arial, sans-serif;
color: #222;
background-color: #f8f8f8;
padding:0;
margin: 0;
max-height: 100%;
}
.code-dump,
pre {
background: #fefefe;
border: 1px solid #ddd;
padding: 5px;
white-space: pre-wrap;
}
header {
background-color: #C3232D;
color: #ffffff;
padding: 16px 10px;
border-bottom: 3px solid #626262;
}
.header-title {
margin: 0;
font-weight: normal;
font-size: 30px;
line-height: 64px;
}
.header-type {
opacity: 0.75;
display: block;
font-size: 16px;
line-height: 1;
}
.header-help {
font-size: 12px;
line-height: 1;
position: absolute;
top: 30px;
right: 16px;
}
.header-help a {
color: #fff;
}
.error-nav {
float: left;
width: 30%;
}
.error-contents {
padding: 10px 1%;
float: right;
width: 68%;
}
.error,
.error-subheading {
font-size: 18px;
margin-top: 0;
padding: 10px;
border: 1px solid #EDBD26;
}
.error-subheading {
background: #1798A5;
color: #fff;
border: 1px solid #02808C;
}
.error {
background: #ffd54f;
}
.customize {
opacity: 0.6;
}
.stack-trace {
list-style: none;
margin: 0;
padding: 0;
}
.stack-frame {
padding: 10px;
border-bottom: 1px solid #212121;
}
.stack-frame:last-child {
border-bottom: none;
}
.stack-frame a {
display: block;
color: #212121;
text-decoration: none;
}
.stack-frame.active {
background: #e5e5e5;
}
.stack-frame a:hover {
text-decoration: underline;
}
.stack-file,
.stack-function {
display: block;
margin-bottom: 5px;
}
.stack-frame-file,
.stack-file {
font-family: consolas, monospace;
}
.stack-function {
font-weight: bold;
}
.stack-file {
font-size: 0.9em;
word-wrap: break-word;
}
.stack-details {
background: #ececec;
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
border: 1px solid #ababab;
padding: 10px;
margin-bottom: 18px;
}
.stack-frame-args {
float: right;
}
.toggle-link {
color: #1798A5;
text-decoration: none;
}
.toggle-link:hover {
text-decoration: underline;
}
.toggle-vendor-frames {
padding: 5px;
display: block;
text-align: center;
}
.code-excerpt {
width: 100%;
margin: 5px 0;
background: #fefefe;
}
.code-highlight {
display: block;
background: #fff59d;
}
.excerpt-line {
padding-left: 2px;
}
.excerpt-number {
background: #f6f6f6;
width: 50px;
text-align: right;
color: #666;
border-right: 1px solid #ddd;
padding: 2px;
}
.excerpt-number:after {
content: attr(data-number);
}
table {
text-align: left;
}
th, td {
padding: 4px;
}
th {
border-bottom: 1px solid #ccc;
}
</style>
</head>
<body>
<header>
<h1 class="header-title">
Database Error <span class="header-type">PDOException</span>
</h1>
<div class="header-help">
<a target="_blank" href="https://book.cakephp.org/3/">Documentation</a>
<a target="_blank" href="https://api.cakephp.org/">API</a>
</div>
</header>
<div class="error-contents">
<p class="error-subheading">
<strong>Error: </strong>
SQLSTATE[HY000]: General error: 1364 Field 'email' doesn't have a default value </p>
<div id="stack-frame-0" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Database/Statement/MysqlStatement.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-0">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="33"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $connection </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_driver</span><span style="color: #007700">-></span><span style="color: #0000BB">getConnection</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="34"></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="35"></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="36"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $connection</span><span style="color: #007700">-></span><span style="color: #0000BB">setAttribute</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">MYSQL_ATTR_USE_BUFFERED_QUERY</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_bufferResults</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="37"></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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_statement</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span></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 style="color: #007700">} finally {</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"> $connection</span><span style="color: #007700">-></span><span style="color: #0000BB">setAttribute</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">MYSQL_ATTR_USE_BUFFERED_QUERY</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="40"></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="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-0" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-1" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Database/Connection.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-1">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="338"></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="339"></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">getDisconnectRetry</span><span style="color: #007700">()-></span><span style="color: #0000BB">run</span><span style="color: #007700">(function () use (</span><span style="color: #0000BB">$query</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="340"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $statement </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="341"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">getValueBinder</span><span style="color: #007700">()-></span><span style="color: #0000BB">attachTo</span><span style="color: #007700">(</span><span style="color: #0000BB">$statement</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="342"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $statement</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="343"></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="344"></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">$statement</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="345"></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="346"></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-1" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-2" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Core/Retry/CommandRetry.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-2">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $lastException </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="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">do {</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"> </span><span style="color: #007700">try {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></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">$action</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Exception $e</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $lastException </span><span style="color: #007700">= </span><span style="color: #0000BB">$e</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 style="color: #007700">if (!</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">strategy</span><span style="color: #007700">-></span><span style="color: #0000BB">shouldRetry</span><span style="color: #007700">(</span><span style="color: #0000BB">$e</span><span style="color: #007700">, </span><span style="color: #0000BB">$retryCount</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"> </span><span style="color: #007700">throw </span><span style="color: #0000BB">$e</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-2" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-3" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Database/Connection.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-3">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="341"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">getValueBinder</span><span style="color: #007700">()-></span><span style="color: #0000BB">attachTo</span><span style="color: #007700">(</span><span style="color: #0000BB">$statement</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="342"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $statement</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="343"></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="344"></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">$statement</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="345"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">});</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="346"></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="347"></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="348"></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="349"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Executes a SQL statement </span><span style="color: #007700">and </span><span style="color: #0000BB">returns the Statement object </span><span style="color: #007700">as </span><span style="color: #0000BB">result</span><span style="color: #007700">.</span></span></code></td>
</tr>
</table>
<div id="stack-args-3" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-4" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Database/Query.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-4">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="214"></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">Database</span><span style="color: #007700">\</span><span style="color: #0000BB">StatementInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="215"></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="216"></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">execute</span><span style="color: #007700">()</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="217"></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="218"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $statement </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_connection</span><span style="color: #007700">-></span><span style="color: #0000BB">run</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="219"></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">_iterator </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_decorateStatement</span><span style="color: #007700">(</span><span style="color: #0000BB">$statement</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="220"></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">_dirty </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="221"></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="222"></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">_iterator</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-4" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-5" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-5">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="2156"></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="2157"></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="2158"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $statement </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">query</span><span style="color: #007700">()-></span><span style="color: #0000BB">insert</span><span style="color: #007700">(</span><span style="color: #0000BB">array_keys</span><span style="color: #007700">(</span><span style="color: #0000BB">$data</span><span style="color: #007700">))</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2159"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">-></span><span style="color: #0000BB">values</span><span style="color: #007700">(</span><span style="color: #0000BB">$data</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2160"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2161"></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="2162"></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">$statement</span><span style="color: #007700">-></span><span style="color: #0000BB">rowCount</span><span style="color: #007700">() !== </span><span style="color: #0000BB">0</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2163"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $success </span><span style="color: #007700">= </span><span style="color: #0000BB">$entity</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2164"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $entity</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #0000BB">$filteredKeys</span><span style="color: #007700">, [</span><span style="color: #DD0000">'guard' </span><span style="color: #007700">=> </span><span style="color: #0000BB">false</span><span style="color: #007700">]);</span></span></code></td>
</tr>
</table>
<div id="stack-args-5" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-6" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-6">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="2048"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $data </span><span style="color: #007700">= </span><span style="color: #0000BB">$entity</span><span style="color: #007700">-></span><span style="color: #0000BB">extract</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getSchema</span><span style="color: #007700">()-></span><span style="color: #0000BB">columns</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="2049"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $isNew </span><span style="color: #007700">= </span><span style="color: #0000BB">$entity</span><span style="color: #007700">-></span><span style="color: #0000BB">isNew</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2050"></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="2051"></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">$isNew</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2052"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $success </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_insert</span><span style="color: #007700">(</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$data</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2053"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2054"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $success </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_update</span><span style="color: #007700">(</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$data</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2055"></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="2056"></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" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-7" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-7">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1961"></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">$entity</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1962"></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="1963"></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="1964"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $success </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_executeTransaction</span><span style="color: #007700">(function () use (</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$options</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1965"></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">_processSave</span><span style="color: #007700">(</span><span style="color: #0000BB">$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="1966"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}, </span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'atomic'</span><span style="color: #007700">]);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1967"></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="1968"></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">$success</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1969"></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">_transactionCommitted</span><span style="color: #007700">(</span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'atomic'</span><span style="color: #007700">], </span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'_primary'</span><span style="color: #007700">])) {</span></span></code></td>
</tr>
</table>
<div id="stack-args-7" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-8" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-8">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1666"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_executeTransaction</span><span style="color: #007700">(callable </span><span style="color: #0000BB">$worker</span><span style="color: #007700">, </span><span style="color: #0000BB">$atomic </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="1667"></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="1668"></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">$atomic</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1669"></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">getConnection</span><span style="color: #007700">()-></span><span style="color: #0000BB">transactional</span><span style="color: #007700">(function () use (</span><span style="color: #0000BB">$worker</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1670"></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">$worker</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1671"></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="1672"></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="1673"></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="1674"></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">$worker</span><span style="color: #007700">();</span></span></code></td>
</tr>
</table>
<div id="stack-args-8" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-9" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Database/Connection.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-9">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="737"></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="738"></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">begin</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="739"></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="740"></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="741"></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">$transaction</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="742"></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 $e</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="743"></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">rollback</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="744"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw </span><span style="color: #0000BB">$e</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="745"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Exception $e</span><span style="color: #007700">) {</span></span></code></td>
</tr>
</table>
<div id="stack-args-9" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-10" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-10">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1667"></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="1668"></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">$atomic</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1669"></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">getConnection</span><span style="color: #007700">()-></span><span style="color: #0000BB">transactional</span><span style="color: #007700">(function () use (</span><span style="color: #0000BB">$worker</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1670"></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">$worker</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1671"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">});</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1672"></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="1673"></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="1674"></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">$worker</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1675"></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-10" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-11" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-11">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1962"></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="1963"></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="1964"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $success </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_executeTransaction</span><span style="color: #007700">(function () use (</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$options</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1965"></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">_processSave</span><span style="color: #007700">(</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$options</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1966"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}, </span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'atomic'</span><span style="color: #007700">]);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1967"></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="1968"></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">$success</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1969"></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">_transactionCommitted</span><span style="color: #007700">(</span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'atomic'</span><span style="color: #007700">], </span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'_primary'</span><span style="color: #007700">])) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1970"></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">'Model.afterSaveCommit'</span><span style="color: #007700">, </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'entity'</span><span style="color: #007700">, </span><span style="color: #DD0000">'options'</span><span style="color: #007700">));</span></span></code></td>
</tr>
</table>
<div id="stack-args-11" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-12" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/src/Controller/ProductsController.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-12">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="2769"></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">request</span><span style="color: #007700">-></span><span style="color: #0000BB">data</span><span style="color: #007700">[</span><span style="color: #DD0000">'email'</span><span style="color: #007700">] = </span><span style="color: #0000BB">$user</span><span style="color: #007700">[</span><span style="color: #DD0000">'email'</span><span style="color: #007700">];</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2770"></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">request</span><span style="color: #007700">-></span><span style="color: #0000BB">data</span><span style="color: #007700">[</span><span style="color: #DD0000">'user_id'</span><span style="color: #007700">] = </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Auth</span><span style="color: #007700">-></span><span style="color: #0000BB">user</span><span style="color: #007700">(</span><span style="color: #DD0000">'id'</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2771"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $item </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">WishlistProducts</span><span style="color: #007700">-></span><span style="color: #0000BB">newEntity</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2772"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $item </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">WishlistProducts</span><span style="color: #007700">-></span><span style="color: #0000BB">patchEntity</span><span style="color: #007700">(</span><span style="color: #0000BB">$item</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">data</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2773"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$printerlist </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">WishlistProducts</span><span style="color: #007700">-></span><span style="color: #0000BB">save</span><span style="color: #007700">(</span><span style="color: #0000BB">$item</span><span style="color: #007700">)) {</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2774"></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">Flash</span><span style="color: #007700">-></span><span style="color: #0000BB">success</span><span style="color: #007700">(</span><span style="color: #0000BB">__</span><span style="color: #007700">(</span><span style="color: #DD0000">'The notification has been saved.'</span><span style="color: #007700">));</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2775"></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">redirect</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">referer</span><span style="color: #007700">());</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2776"></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="2777"></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">redirect</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">referer</span><span style="color: #007700">());</span></span></code></td>
</tr>
</table>
<div id="stack-args-12" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-13" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Controller/Controller.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-13">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="602"></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="603"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/** @var callable $callable */</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="604"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $callable </span><span style="color: #007700">= [</span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'action'</span><span style="color: #007700">)];</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="605"></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="606"></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">$callable</span><span style="color: #007700">(...</span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'pass'</span><span style="color: #007700">)));</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="607"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">Response</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="608"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">response </span><span style="color: #007700">= </span><span style="color: #0000BB">$result</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="609"></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="610"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-13" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-14" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-14">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="116"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">Response</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<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">return </span><span style="color: #0000BB">$result</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">}</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></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="120"></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">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeAction</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="121"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$response </span><span style="color: #007700">!== </span><span style="color: #0000BB">null </span><span style="color: #007700">&& !(</span><span style="color: #0000BB">$response </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">Response</span><span style="color: #007700">)) {</span></span></code></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">throw new </span><span style="color: #0000BB">LogicException</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller actions can only return Cake\Http\Response or null.'</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="123"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="124"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-14" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-15" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-15">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">factory</span><span style="color: #007700">-></span><span style="color: #0000BB">create</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'return'</span><span style="color: #007700">)) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="96"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="97"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="98"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-15" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-16" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Routing/Dispatcher.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-16">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'Dispatcher is deprecated. You should update your application to use ' </span><span style="color: #007700">.</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'the Http\Server implementation instead.'</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">);</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"> $actionDispatcher </span><span style="color: #007700">= new </span><span style="color: #0000BB">ActionDispatcher</span><span style="color: #007700">(</span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">(), </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_filters</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></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">$actionDispatcher</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="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">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'return'</span><span style="color: #007700">, </span><span style="color: #0000BB">null</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="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">-></span><span style="color: #0000BB">body</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</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>
</table>
<div id="stack-args-16" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-17" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/webroot/index.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-17">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="161"></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="162"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">$dispatcher </span><span style="color: #007700">= </span><span style="color: #0000BB">DispatcherFactory</span><span style="color: #007700">::</span><span style="color: #0000BB">create</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">$dispatcher</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatch</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"> ServerRequest</span><span style="color: #007700">::</span><span style="color: #0000BB">createFromGlobals</span><span style="color: #007700">(),</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="165"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">Response</span><span style="color: #007700">()</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="166"></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="167"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-17" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div class="error-suggestion">
<p class="notice">
If you are using SQL keywords as table column names, you can enable identifier
quoting for your database connection in config/app.php.
</p>
<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('Atricles');</em></strong></li>
<li>The class file has a typo in the name or incorrect namespace: <strong><em>class Atricles extends Table</em></strong></li>
<li>The file containing the class has a typo or incorrect casing: <strong><em>Atricles.php</em></strong></li>
<li>The Table was used using associations but the association has a typo: <strong><em>$this->belongsTo('Atricles')</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>Extra_gtins</strong></li>
<li><strong>WishlistProducts</strong></li>
</ul>
<br/>
</div>
<p class="customize">
If you want to customize this error message, create
<em>src/Template/Error/pdo_error.ctp</em>
</p>
</div>
<div class="error-nav">
<a href="#" class="toggle-link toggle-vendor-frames">toggle vendor stack frames</a>
<ul class="stack-trace">
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-0">
<span class="stack-function">⟩ PDOStatement->execute</span>
<span class="stack-file">
CORE/src/Database/Statement/MysqlStatement.php, line 37 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-1">
<span class="stack-function">⟩ Cake\Database\Statement\MysqlStatement->execute</span>
<span class="stack-file">
CORE/src/Database/Connection.php, line 342 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-2">
<span class="stack-function">⟩ Cake\Database\Connection->Cake\Database\{closure}</span>
<span class="stack-file">
CORE/src/Core/Retry/CommandRetry.php, line 67 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-3">
<span class="stack-function">⟩ Cake\Core\Retry\CommandRetry->run</span>
<span class="stack-file">
CORE/src/Database/Connection.php, line 345 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-4">
<span class="stack-function">⟩ Cake\Database\Connection->run</span>
<span class="stack-file">
CORE/src/Database/Query.php, line 218 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-5">
<span class="stack-function">⟩ Cake\Database\Query->execute</span>
<span class="stack-file">
CORE/src/ORM/Table.php, line 2160 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-6">
<span class="stack-function">⟩ Cake\ORM\Table->_insert</span>
<span class="stack-file">
CORE/src/ORM/Table.php, line 2052 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-7">
<span class="stack-function">⟩ Cake\ORM\Table->_processSave</span>
<span class="stack-file">
CORE/src/ORM/Table.php, line 1965 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-8">
<span class="stack-function">⟩ Cake\ORM\Table->Cake\ORM\{closure}</span>
<span class="stack-file">
CORE/src/ORM/Table.php, line 1670 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-9">
<span class="stack-function">⟩ Cake\ORM\Table->Cake\ORM\{closure}</span>
<span class="stack-file">
CORE/src/Database/Connection.php, line 741 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-10">
<span class="stack-function">⟩ Cake\Database\Connection->transactional</span>
<span class="stack-file">
CORE/src/ORM/Table.php, line 1671 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-11">
<span class="stack-function">⟩ Cake\ORM\Table->_executeTransaction</span>
<span class="stack-file">
CORE/src/ORM/Table.php, line 1966 </span>
</a>
</li>
<li class="stack-frame app-frame">
<a href="#" data-target="stack-frame-12">
<span class="stack-function">⟩ Cake\ORM\Table->save</span>
<span class="stack-file">
APP/Controller/ProductsController.php, line 2773 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-13">
<span class="stack-function">⟩ App\Controller\ProductsController->addtowishlist</span>
<span class="stack-file">
CORE/src/Controller/Controller.php, line 606 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-14">
<span class="stack-function">⟩ Cake\Controller\Controller->invokeAction</span>
<span class="stack-file">
CORE/src/Http/ActionDispatcher.php, line 120 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-15">
<span class="stack-function">⟩ Cake\Http\ActionDispatcher->_invoke</span>
<span class="stack-file">
CORE/src/Http/ActionDispatcher.php, line 94 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-16">
<span class="stack-function">⟩ Cake\Http\ActionDispatcher->dispatch</span>
<span class="stack-file">
CORE/src/Routing/Dispatcher.php, line 66 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-17">
<span class="stack-function">⟩ Cake\Routing\Dispatcher->dispatch</span>
<span class="stack-file">
ROOT/webroot/index.php, line 165 </span>
</a>
</li>
</ul>
</div>
<script type="text/javascript">
function bindEvent(selector, eventName, listener) {
var els = document.querySelectorAll(selector);
for (var i = 0, len = els.length; i < len; i++) {
els[i].addEventListener(eventName, listener, false);
}
}
function toggleElement(el) {
if (el.style.display === 'none') {
el.style.display = 'block';
} else {
el.style.display = 'none';
}
}
function each(els, cb) {
var i, len;
for (i = 0, len = els.length; i < len; i++) {
cb(els[i], i);
}
}
window.addEventListener('load', function() {
bindEvent('.stack-frame-args', 'click', function(event) {
var target = this.dataset['target'];
var el = document.getElementById(target);
toggleElement(el);
event.preventDefault();
});
var details = document.querySelectorAll('.stack-details');
var frames = document.querySelectorAll('.stack-frame');
bindEvent('.stack-frame a', 'click', function(event) {
each(frames, function(el) {
el.classList.remove('active');
});
this.parentNode.classList.add('active');
each(details, function(el) {
el.style.display = 'none';
});
var target = document.getElementById(this.dataset['target']);
toggleElement(target);
event.preventDefault();
});
bindEvent('.toggle-vendor-frames', 'click', function(event) {
each(frames, function(el) {
if (el.classList.contains('vendor-frame')) {
toggleElement(el);
}
});
event.preventDefault();
});
});
</script>
</body>
</html>
'
}
$reasonPhrase = 'Internal Server Error' header - [internal], line ??
Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 154
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 59
Cake\Error\ErrorHandler::_sendResponse() - CORE/src/Error/ErrorHandler.php, line 199
Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 139
Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 202
Cake\Error\BaseErrorHandler::wrapAndHandleException() - CORE/src/Error/BaseErrorHandler.php, line 186
[main] - [internal], line ?? Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/html/exceltoner/vendor/cakephp/cakephp/src/Error/Debugger.php:855) [CORE/src/Http/ResponseEmitter.php , line 183 ]Code Context foreach ( $values as $value ) {
header ( sprintf (
'%s: %s' ,
$response = object(Cake\Http\Response) {
'status' => (int) 500,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => '<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Error: Database Error </title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/> <style>
body {
font: 14px helvetica, arial, sans-serif;
color: #222;
background-color: #f8f8f8;
padding:0;
margin: 0;
max-height: 100%;
}
.code-dump,
pre {
background: #fefefe;
border: 1px solid #ddd;
padding: 5px;
white-space: pre-wrap;
}
header {
background-color: #C3232D;
color: #ffffff;
padding: 16px 10px;
border-bottom: 3px solid #626262;
}
.header-title {
margin: 0;
font-weight: normal;
font-size: 30px;
line-height: 64px;
}
.header-type {
opacity: 0.75;
display: block;
font-size: 16px;
line-height: 1;
}
.header-help {
font-size: 12px;
line-height: 1;
position: absolute;
top: 30px;
right: 16px;
}
.header-help a {
color: #fff;
}
.error-nav {
float: left;
width: 30%;
}
.error-contents {
padding: 10px 1%;
float: right;
width: 68%;
}
.error,
.error-subheading {
font-size: 18px;
margin-top: 0;
padding: 10px;
border: 1px solid #EDBD26;
}
.error-subheading {
background: #1798A5;
color: #fff;
border: 1px solid #02808C;
}
.error {
background: #ffd54f;
}
.customize {
opacity: 0.6;
}
.stack-trace {
list-style: none;
margin: 0;
padding: 0;
}
.stack-frame {
padding: 10px;
border-bottom: 1px solid #212121;
}
.stack-frame:last-child {
border-bottom: none;
}
.stack-frame a {
display: block;
color: #212121;
text-decoration: none;
}
.stack-frame.active {
background: #e5e5e5;
}
.stack-frame a:hover {
text-decoration: underline;
}
.stack-file,
.stack-function {
display: block;
margin-bottom: 5px;
}
.stack-frame-file,
.stack-file {
font-family: consolas, monospace;
}
.stack-function {
font-weight: bold;
}
.stack-file {
font-size: 0.9em;
word-wrap: break-word;
}
.stack-details {
background: #ececec;
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
border: 1px solid #ababab;
padding: 10px;
margin-bottom: 18px;
}
.stack-frame-args {
float: right;
}
.toggle-link {
color: #1798A5;
text-decoration: none;
}
.toggle-link:hover {
text-decoration: underline;
}
.toggle-vendor-frames {
padding: 5px;
display: block;
text-align: center;
}
.code-excerpt {
width: 100%;
margin: 5px 0;
background: #fefefe;
}
.code-highlight {
display: block;
background: #fff59d;
}
.excerpt-line {
padding-left: 2px;
}
.excerpt-number {
background: #f6f6f6;
width: 50px;
text-align: right;
color: #666;
border-right: 1px solid #ddd;
padding: 2px;
}
.excerpt-number:after {
content: attr(data-number);
}
table {
text-align: left;
}
th, td {
padding: 4px;
}
th {
border-bottom: 1px solid #ccc;
}
</style>
</head>
<body>
<header>
<h1 class="header-title">
Database Error <span class="header-type">PDOException</span>
</h1>
<div class="header-help">
<a target="_blank" href="https://book.cakephp.org/3/">Documentation</a>
<a target="_blank" href="https://api.cakephp.org/">API</a>
</div>
</header>
<div class="error-contents">
<p class="error-subheading">
<strong>Error: </strong>
SQLSTATE[HY000]: General error: 1364 Field 'email' doesn't have a default value </p>
<div id="stack-frame-0" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Database/Statement/MysqlStatement.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-0">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="33"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $connection </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_driver</span><span style="color: #007700">-></span><span style="color: #0000BB">getConnection</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="34"></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="35"></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="36"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $connection</span><span style="color: #007700">-></span><span style="color: #0000BB">setAttribute</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">MYSQL_ATTR_USE_BUFFERED_QUERY</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_bufferResults</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="37"></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">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_statement</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span></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 style="color: #007700">} finally {</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"> $connection</span><span style="color: #007700">-></span><span style="color: #0000BB">setAttribute</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">MYSQL_ATTR_USE_BUFFERED_QUERY</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="40"></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="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-0" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-1" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Database/Connection.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-1">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="338"></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="339"></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">getDisconnectRetry</span><span style="color: #007700">()-></span><span style="color: #0000BB">run</span><span style="color: #007700">(function () use (</span><span style="color: #0000BB">$query</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="340"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $statement </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="341"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">getValueBinder</span><span style="color: #007700">()-></span><span style="color: #0000BB">attachTo</span><span style="color: #007700">(</span><span style="color: #0000BB">$statement</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="342"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $statement</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="343"></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="344"></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">$statement</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="345"></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="346"></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-1" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-2" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Core/Retry/CommandRetry.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-2">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $lastException </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="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="65"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">do {</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"> </span><span style="color: #007700">try {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="67"></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">$action</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Exception $e</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $lastException </span><span style="color: #007700">= </span><span style="color: #0000BB">$e</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 style="color: #007700">if (!</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">strategy</span><span style="color: #007700">-></span><span style="color: #0000BB">shouldRetry</span><span style="color: #007700">(</span><span style="color: #0000BB">$e</span><span style="color: #007700">, </span><span style="color: #0000BB">$retryCount</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"> </span><span style="color: #007700">throw </span><span style="color: #0000BB">$e</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-2" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-3" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Database/Connection.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-3">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="341"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">getValueBinder</span><span style="color: #007700">()-></span><span style="color: #0000BB">attachTo</span><span style="color: #007700">(</span><span style="color: #0000BB">$statement</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="342"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $statement</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="343"></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="344"></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">$statement</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="345"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">});</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="346"></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="347"></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="348"></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="349"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* </span><span style="color: #0000BB">Executes a SQL statement </span><span style="color: #007700">and </span><span style="color: #0000BB">returns the Statement object </span><span style="color: #007700">as </span><span style="color: #0000BB">result</span><span style="color: #007700">.</span></span></code></td>
</tr>
</table>
<div id="stack-args-3" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-4" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Database/Query.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-4">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="214"></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">Database</span><span style="color: #007700">\</span><span style="color: #0000BB">StatementInterface</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="215"></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="216"></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">execute</span><span style="color: #007700">()</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="217"></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="218"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $statement </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_connection</span><span style="color: #007700">-></span><span style="color: #0000BB">run</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="219"></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">_iterator </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_decorateStatement</span><span style="color: #007700">(</span><span style="color: #0000BB">$statement</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="220"></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">_dirty </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="221"></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="222"></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">_iterator</span><span style="color: #007700">;</span></span></code></td>
</tr>
</table>
<div id="stack-args-4" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-5" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-5">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="2156"></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="2157"></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="2158"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $statement </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">query</span><span style="color: #007700">()-></span><span style="color: #0000BB">insert</span><span style="color: #007700">(</span><span style="color: #0000BB">array_keys</span><span style="color: #007700">(</span><span style="color: #0000BB">$data</span><span style="color: #007700">))</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2159"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">-></span><span style="color: #0000BB">values</span><span style="color: #007700">(</span><span style="color: #0000BB">$data</span><span style="color: #007700">)</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2160"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2161"></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="2162"></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">$statement</span><span style="color: #007700">-></span><span style="color: #0000BB">rowCount</span><span style="color: #007700">() !== </span><span style="color: #0000BB">0</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2163"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $success </span><span style="color: #007700">= </span><span style="color: #0000BB">$entity</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2164"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $entity</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #0000BB">$filteredKeys</span><span style="color: #007700">, [</span><span style="color: #DD0000">'guard' </span><span style="color: #007700">=> </span><span style="color: #0000BB">false</span><span style="color: #007700">]);</span></span></code></td>
</tr>
</table>
<div id="stack-args-5" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-6" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-6">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="2048"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $data </span><span style="color: #007700">= </span><span style="color: #0000BB">$entity</span><span style="color: #007700">-></span><span style="color: #0000BB">extract</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getSchema</span><span style="color: #007700">()-></span><span style="color: #0000BB">columns</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="2049"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $isNew </span><span style="color: #007700">= </span><span style="color: #0000BB">$entity</span><span style="color: #007700">-></span><span style="color: #0000BB">isNew</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2050"></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="2051"></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">$isNew</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2052"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $success </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_insert</span><span style="color: #007700">(</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$data</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2053"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2054"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $success </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_update</span><span style="color: #007700">(</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$data</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2055"></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="2056"></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" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-7" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-7">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1961"></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">$entity</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1962"></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="1963"></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="1964"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $success </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_executeTransaction</span><span style="color: #007700">(function () use (</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$options</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1965"></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">_processSave</span><span style="color: #007700">(</span><span style="color: #0000BB">$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="1966"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}, </span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'atomic'</span><span style="color: #007700">]);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1967"></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="1968"></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">$success</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1969"></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">_transactionCommitted</span><span style="color: #007700">(</span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'atomic'</span><span style="color: #007700">], </span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'_primary'</span><span style="color: #007700">])) {</span></span></code></td>
</tr>
</table>
<div id="stack-args-7" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-8" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-8">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1666"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_executeTransaction</span><span style="color: #007700">(callable </span><span style="color: #0000BB">$worker</span><span style="color: #007700">, </span><span style="color: #0000BB">$atomic </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="1667"></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="1668"></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">$atomic</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1669"></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">getConnection</span><span style="color: #007700">()-></span><span style="color: #0000BB">transactional</span><span style="color: #007700">(function () use (</span><span style="color: #0000BB">$worker</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1670"></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">$worker</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1671"></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="1672"></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="1673"></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="1674"></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">$worker</span><span style="color: #007700">();</span></span></code></td>
</tr>
</table>
<div id="stack-args-8" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-9" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Database/Connection.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-9">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="737"></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="738"></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">begin</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="739"></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="740"></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="741"></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">$transaction</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="742"></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 $e</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="743"></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">rollback</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="744"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">throw </span><span style="color: #0000BB">$e</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="745"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">Exception $e</span><span style="color: #007700">) {</span></span></code></td>
</tr>
</table>
<div id="stack-args-9" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-10" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-10">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1667"></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="1668"></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">$atomic</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1669"></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">getConnection</span><span style="color: #007700">()-></span><span style="color: #0000BB">transactional</span><span style="color: #007700">(function () use (</span><span style="color: #0000BB">$worker</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1670"></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">$worker</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1671"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">});</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1672"></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="1673"></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="1674"></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">$worker</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1675"></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-10" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-11" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/ORM/Table.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-11">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="1962"></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="1963"></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="1964"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $success </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_executeTransaction</span><span style="color: #007700">(function () use (</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$options</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1965"></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">_processSave</span><span style="color: #007700">(</span><span style="color: #0000BB">$entity</span><span style="color: #007700">, </span><span style="color: #0000BB">$options</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1966"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}, </span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'atomic'</span><span style="color: #007700">]);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1967"></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="1968"></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">$success</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1969"></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">_transactionCommitted</span><span style="color: #007700">(</span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'atomic'</span><span style="color: #007700">], </span><span style="color: #0000BB">$options</span><span style="color: #007700">[</span><span style="color: #DD0000">'_primary'</span><span style="color: #007700">])) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="1970"></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">'Model.afterSaveCommit'</span><span style="color: #007700">, </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'entity'</span><span style="color: #007700">, </span><span style="color: #DD0000">'options'</span><span style="color: #007700">));</span></span></code></td>
</tr>
</table>
<div id="stack-args-11" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-12" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/src/Controller/ProductsController.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-12">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="2769"></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">request</span><span style="color: #007700">-></span><span style="color: #0000BB">data</span><span style="color: #007700">[</span><span style="color: #DD0000">'email'</span><span style="color: #007700">] = </span><span style="color: #0000BB">$user</span><span style="color: #007700">[</span><span style="color: #DD0000">'email'</span><span style="color: #007700">];</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2770"></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">request</span><span style="color: #007700">-></span><span style="color: #0000BB">data</span><span style="color: #007700">[</span><span style="color: #DD0000">'user_id'</span><span style="color: #007700">] = </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Auth</span><span style="color: #007700">-></span><span style="color: #0000BB">user</span><span style="color: #007700">(</span><span style="color: #DD0000">'id'</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2771"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $item </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">WishlistProducts</span><span style="color: #007700">-></span><span style="color: #0000BB">newEntity</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2772"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $item </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">WishlistProducts</span><span style="color: #007700">-></span><span style="color: #0000BB">patchEntity</span><span style="color: #007700">(</span><span style="color: #0000BB">$item</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">data</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2773"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$printerlist </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">WishlistProducts</span><span style="color: #007700">-></span><span style="color: #0000BB">save</span><span style="color: #007700">(</span><span style="color: #0000BB">$item</span><span style="color: #007700">)) {</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2774"></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">Flash</span><span style="color: #007700">-></span><span style="color: #0000BB">success</span><span style="color: #007700">(</span><span style="color: #0000BB">__</span><span style="color: #007700">(</span><span style="color: #DD0000">'The notification has been saved.'</span><span style="color: #007700">));</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2775"></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">redirect</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">referer</span><span style="color: #007700">());</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="2776"></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="2777"></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">redirect</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">referer</span><span style="color: #007700">());</span></span></code></td>
</tr>
</table>
<div id="stack-args-12" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-13" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Controller/Controller.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-13">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="602"></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="603"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/** @var callable $callable */</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="604"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $callable </span><span style="color: #007700">= [</span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'action'</span><span style="color: #007700">)];</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="605"></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="606"></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">$callable</span><span style="color: #007700">(...</span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'pass'</span><span style="color: #007700">)));</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="607"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">Response</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="608"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">response </span><span style="color: #007700">= </span><span style="color: #0000BB">$result</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="609"></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="610"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-13" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-14" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-14">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="116"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">Response</span><span style="color: #007700">) {</span></span></code></td>
</tr>
<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">return </span><span style="color: #0000BB">$result</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">}</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></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="120"></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">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeAction</span><span style="color: #007700">();</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="121"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$response </span><span style="color: #007700">!== </span><span style="color: #0000BB">null </span><span style="color: #007700">&& !(</span><span style="color: #0000BB">$response </span><span style="color: #007700">instanceof </span><span style="color: #0000BB">Response</span><span style="color: #007700">)) {</span></span></code></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">throw new </span><span style="color: #0000BB">LogicException</span><span style="color: #007700">(</span><span style="color: #DD0000">'Controller actions can only return Cake\Http\Response or null.'</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="123"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="124"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-14" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-15" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-15">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="90"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="91"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> $controller </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">factory</span><span style="color: #007700">-></span><span style="color: #0000BB">create</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="92"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="93"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="94"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $response </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_invoke</span><span style="color: #007700">(</span><span style="color: #0000BB">$controller</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="95"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'return'</span><span style="color: #007700">)) {</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="96"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">;</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="97"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="98"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-15" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-16" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Routing/Dispatcher.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-16">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="62"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'Dispatcher is deprecated. You should update your application to use ' </span><span style="color: #007700">.</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="63"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'the Http\Server implementation instead.'</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="64"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">);</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"> $actionDispatcher </span><span style="color: #007700">= new </span><span style="color: #0000BB">ActionDispatcher</span><span style="color: #007700">(</span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventManager</span><span style="color: #007700">(), </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_filters</span><span style="color: #007700">);</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="66"></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">$actionDispatcher</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatch</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="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">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">getParam</span><span style="color: #007700">(</span><span style="color: #DD0000">'return'</span><span style="color: #007700">, </span><span style="color: #0000BB">null</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="68"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$response</span><span style="color: #007700">-></span><span style="color: #0000BB">body</span><span style="color: #007700">();</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="69"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</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>
</table>
<div id="stack-args-16" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div id="stack-frame-17" style="display:none;" class="stack-details">
<span class="stack-frame-file">/var/www/html/exceltoner/webroot/index.php</span>
<a href="#" class="toggle-link stack-frame-args" data-target="stack-args-17">toggle arguments</a>
<table class="code-excerpt" cellspacing="0" cellpadding="0">
<tr>
<td class="excerpt-number" data-number="161"></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="162"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB">$dispatcher </span><span style="color: #007700">= </span><span style="color: #0000BB">DispatcherFactory</span><span style="color: #007700">::</span><span style="color: #0000BB">create</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">$dispatcher</span><span style="color: #007700">-></span><span style="color: #0000BB">dispatch</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"> ServerRequest</span><span style="color: #007700">::</span><span style="color: #0000BB">createFromGlobals</span><span style="color: #007700">(),</span></span></code></td>
</tr>
<tr>
<td class="excerpt-number" data-number="165"></td>
<td class="excerpt-line"><span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">new </span><span style="color: #0000BB">Response</span><span style="color: #007700">()</span></span></code></span></td>
</tr>
<tr>
<td class="excerpt-number" data-number="166"></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="167"></td>
<td class="excerpt-line"><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></td>
</tr>
</table>
<div id="stack-args-17" style="display: none;">
<pre>No arguments</pre>
</div>
</div>
<div class="error-suggestion">
<p class="notice">
If you are using SQL keywords as table column names, you can enable identifier
quoting for your database connection in config/app.php.
</p>
<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('Atricles');</em></strong></li>
<li>The class file has a typo in the name or incorrect namespace: <strong><em>class Atricles extends Table</em></strong></li>
<li>The file containing the class has a typo or incorrect casing: <strong><em>Atricles.php</em></strong></li>
<li>The Table was used using associations but the association has a typo: <strong><em>$this->belongsTo('Atricles')</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>Extra_gtins</strong></li>
<li><strong>WishlistProducts</strong></li>
</ul>
<br/>
</div>
<p class="customize">
If you want to customize this error message, create
<em>src/Template/Error/pdo_error.ctp</em>
</p>
</div>
<div class="error-nav">
<a href="#" class="toggle-link toggle-vendor-frames">toggle vendor stack frames</a>
<ul class="stack-trace">
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-0">
<span class="stack-function">⟩ PDOStatement->execute</span>
<span class="stack-file">
CORE/src/Database/Statement/MysqlStatement.php, line 37 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-1">
<span class="stack-function">⟩ Cake\Database\Statement\MysqlStatement->execute</span>
<span class="stack-file">
CORE/src/Database/Connection.php, line 342 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-2">
<span class="stack-function">⟩ Cake\Database\Connection->Cake\Database\{closure}</span>
<span class="stack-file">
CORE/src/Core/Retry/CommandRetry.php, line 67 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-3">
<span class="stack-function">⟩ Cake\Core\Retry\CommandRetry->run</span>
<span class="stack-file">
CORE/src/Database/Connection.php, line 345 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-4">
<span class="stack-function">⟩ Cake\Database\Connection->run</span>
<span class="stack-file">
CORE/src/Database/Query.php, line 218 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-5">
<span class="stack-function">⟩ Cake\Database\Query->execute</span>
<span class="stack-file">
CORE/src/ORM/Table.php, line 2160 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-6">
<span class="stack-function">⟩ Cake\ORM\Table->_insert</span>
<span class="stack-file">
CORE/src/ORM/Table.php, line 2052 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-7">
<span class="stack-function">⟩ Cake\ORM\Table->_processSave</span>
<span class="stack-file">
CORE/src/ORM/Table.php, line 1965 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-8">
<span class="stack-function">⟩ Cake\ORM\Table->Cake\ORM\{closure}</span>
<span class="stack-file">
CORE/src/ORM/Table.php, line 1670 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-9">
<span class="stack-function">⟩ Cake\ORM\Table->Cake\ORM\{closure}</span>
<span class="stack-file">
CORE/src/Database/Connection.php, line 741 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-10">
<span class="stack-function">⟩ Cake\Database\Connection->transactional</span>
<span class="stack-file">
CORE/src/ORM/Table.php, line 1671 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-11">
<span class="stack-function">⟩ Cake\ORM\Table->_executeTransaction</span>
<span class="stack-file">
CORE/src/ORM/Table.php, line 1966 </span>
</a>
</li>
<li class="stack-frame app-frame">
<a href="#" data-target="stack-frame-12">
<span class="stack-function">⟩ Cake\ORM\Table->save</span>
<span class="stack-file">
APP/Controller/ProductsController.php, line 2773 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-13">
<span class="stack-function">⟩ App\Controller\ProductsController->addtowishlist</span>
<span class="stack-file">
CORE/src/Controller/Controller.php, line 606 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-14">
<span class="stack-function">⟩ Cake\Controller\Controller->invokeAction</span>
<span class="stack-file">
CORE/src/Http/ActionDispatcher.php, line 120 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-15">
<span class="stack-function">⟩ Cake\Http\ActionDispatcher->_invoke</span>
<span class="stack-file">
CORE/src/Http/ActionDispatcher.php, line 94 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-16">
<span class="stack-function">⟩ Cake\Http\ActionDispatcher->dispatch</span>
<span class="stack-file">
CORE/src/Routing/Dispatcher.php, line 66 </span>
</a>
</li>
<li class="stack-frame vendor-frame">
<a href="#" data-target="stack-frame-17">
<span class="stack-function">⟩ Cake\Routing\Dispatcher->dispatch</span>
<span class="stack-file">
ROOT/webroot/index.php, line 165 </span>
</a>
</li>
</ul>
</div>
<script type="text/javascript">
function bindEvent(selector, eventName, listener) {
var els = document.querySelectorAll(selector);
for (var i = 0, len = els.length; i < len; i++) {
els[i].addEventListener(eventName, listener, false);
}
}
function toggleElement(el) {
if (el.style.display === 'none') {
el.style.display = 'block';
} else {
el.style.display = 'none';
}
}
function each(els, cb) {
var i, len;
for (i = 0, len = els.length; i < len; i++) {
cb(els[i], i);
}
}
window.addEventListener('load', function() {
bindEvent('.stack-frame-args', 'click', function(event) {
var target = this.dataset['target'];
var el = document.getElementById(target);
toggleElement(el);
event.preventDefault();
});
var details = document.querySelectorAll('.stack-details');
var frames = document.querySelectorAll('.stack-frame');
bindEvent('.stack-frame a', 'click', function(event) {
each(frames, function(el) {
el.classList.remove('active');
});
this.parentNode.classList.add('active');
each(details, function(el) {
el.style.display = 'none';
});
var target = document.getElementById(this.dataset['target']);
toggleElement(target);
event.preventDefault();
});
bindEvent('.toggle-vendor-frames', 'click', function(event) {
each(frames, function(el) {
if (el.classList.contains('vendor-frame')) {
toggleElement(el);
}
});
event.preventDefault();
});
});
</script>
</body>
</html>
'
}
$cookies = []
$values = [
(int) 0 => 'text/html; charset=UTF-8'
]
$name = 'Content-Type'
$first = true
$value = 'text/html; charset=UTF-8' header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 183
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 60
Cake\Error\ErrorHandler::_sendResponse() - CORE/src/Error/ErrorHandler.php, line 199
Cake\Error\ErrorHandler::_displayException() - CORE/src/Error/ErrorHandler.php, line 139
Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 202
Cake\Error\BaseErrorHandler::wrapAndHandleException() - CORE/src/Error/BaseErrorHandler.php, line 186
[main] - [internal], line ??
Error: Database Error
Error:
SQLSTATE[HY000]: General error: 1364 Field 'email' doesn't have a default value
/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Database/Statement/MysqlStatement.php
toggle arguments
$connection = $this -> _driver -> getConnection ();
try {
$connection -> setAttribute ( PDO :: MYSQL_ATTR_USE_BUFFERED_QUERY , $this -> _bufferResults );
$result = $this -> _statement -> execute ( $params );
} finally {
$connection -> setAttribute ( PDO :: MYSQL_ATTR_USE_BUFFERED_QUERY , true );
}
/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Database/Connection.php
toggle arguments
{
return $this -> getDisconnectRetry ()-> run (function () use ( $query ) {
$statement = $this -> prepare ( $query );
$query -> getValueBinder ()-> attachTo ( $statement );
$statement -> execute ();
return $statement ;
});
}
/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Core/Retry/CommandRetry.php
toggle arguments
$lastException = null ;
do {
try {
return $action ();
} catch ( Exception $e ) {
$lastException = $e ;
if (! $this -> strategy -> shouldRetry ( $e , $retryCount )) {
throw $e ;
/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Database/Connection.php
toggle arguments
$query -> getValueBinder ()-> attachTo ( $statement );
$statement -> execute ();
return $statement ;
});
}
/**
* Executes a SQL statement and returns the Statement object as result .
/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Database/Query.php
toggle arguments
* @return \ Cake \ Database \ StatementInterface
*/
public function execute ()
{
$statement = $this -> _connection -> run ( $this );
$this -> _iterator = $this -> _decorateStatement ( $statement );
$this -> _dirty = false ;
return $this -> _iterator ;
/var/www/html/exceltoner/vendor/cakephp/cakephp/src/ORM/Table.php
toggle arguments
}
$statement = $this -> query ()-> insert ( array_keys ( $data ))
-> values ( $data )
-> execute ();
if ( $statement -> rowCount () !== 0 ) {
$success = $entity ;
$entity -> set ( $filteredKeys , [ 'guard' => false ]);
/var/www/html/exceltoner/vendor/cakephp/cakephp/src/ORM/Table.php
toggle arguments
$data = $entity -> extract ( $this -> getSchema ()-> columns (), true );
$isNew = $entity -> isNew ();
if ( $isNew ) {
$success = $this -> _insert ( $entity , $data );
} else {
$success = $this -> _update ( $entity , $data );
}
/var/www/html/exceltoner/vendor/cakephp/cakephp/src/ORM/Table.php
toggle arguments
return $entity ;
}
$success = $this -> _executeTransaction (function () use ( $entity , $options ) {
return $this -> _processSave ( $entity , $options );
}, $options [ 'atomic' ]);
if ( $success ) {
if ( $this -> _transactionCommitted ( $options [ 'atomic' ], $options [ '_primary' ])) {
/var/www/html/exceltoner/vendor/cakephp/cakephp/src/ORM/Table.php
toggle arguments
protected function _executeTransaction (callable $worker , $atomic = true )
{
if ( $atomic ) {
return $this -> getConnection ()-> transactional (function () use ( $worker ) {
return $worker ();
});
}
return $worker ();
/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Database/Connection.php
toggle arguments
{
$this -> begin ();
try {
$result = $transaction ( $this );
} catch ( Throwable $e ) {
$this -> rollback ( false );
throw $e ;
} catch ( Exception $e ) {
/var/www/html/exceltoner/vendor/cakephp/cakephp/src/ORM/Table.php
toggle arguments
{
if ( $atomic ) {
return $this -> getConnection ()-> transactional (function () use ( $worker ) {
return $worker ();
});
}
return $worker ();
}
/var/www/html/exceltoner/vendor/cakephp/cakephp/src/ORM/Table.php
toggle arguments
}
$success = $this -> _executeTransaction (function () use ( $entity , $options ) {
return $this -> _processSave ( $entity , $options );
}, $options [ 'atomic' ]);
if ( $success ) {
if ( $this -> _transactionCommitted ( $options [ 'atomic' ], $options [ '_primary' ])) {
$this -> dispatchEvent ( 'Model.afterSaveCommit' , compact ( 'entity' , 'options' ));
/var/www/html/exceltoner/src/Controller/ProductsController.php
toggle arguments
$this -> request -> data [ 'email' ] = $user [ 'email' ];
$this -> request -> data [ 'user_id' ] = $this -> Auth -> user ( 'id' );
$item = $this -> WishlistProducts -> newEntity ();
$item = $this -> WishlistProducts -> patchEntity ( $item , $this -> request -> data );
if ( $printerlist = $this -> WishlistProducts -> save ( $item )) {
$this -> Flash -> success ( __ ( 'The notification has been saved.' ));
return $this -> redirect ( $this -> referer ());
}
return $this -> redirect ( $this -> referer ());
/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Controller/Controller.php
toggle arguments
}
/** @var callable $callable */
$callable = [ $this , $request -> getParam ( 'action' )];
$result = $callable (... array_values ( $request -> getParam ( 'pass' )));
if ( $result instanceof Response ) {
$this -> response = $result ;
}
/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php
toggle arguments
if ( $result instanceof Response ) {
return $result ;
}
$response = $controller -> invokeAction ();
if ( $response !== null && !( $response instanceof Response )) {
throw new LogicException ( 'Controller actions can only return Cake\Http\Response or null.' );
}
/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Http/ActionDispatcher.php
toggle arguments
} else {
$controller = $this -> factory -> create ( $request , $response );
}
$response = $this -> _invoke ( $controller );
if ( $request -> getParam ( 'return' )) {
return $response ;
}
/var/www/html/exceltoner/vendor/cakephp/cakephp/src/Routing/Dispatcher.php
toggle arguments
'Dispatcher is deprecated. You should update your application to use ' .
'the Http\Server implementation instead.'
);
$actionDispatcher = new ActionDispatcher ( null , $this -> getEventManager (), $this -> _filters );
$response = $actionDispatcher -> dispatch ( $request , $response );
if ( $request -> getParam ( 'return' , null ) !== null ) {
return $response -> body ();
}
/var/www/html/exceltoner/webroot/index.php
toggle arguments
$dispatcher = DispatcherFactory :: create ();
$dispatcher -> dispatch (
ServerRequest :: createFromGlobals (),
new Response ()
);
If you are using SQL keywords as table column names, you can enable identifier
quoting for your database connection in config/app.php.
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('Atricles');
The class file has a typo in the name or incorrect namespace: class Atricles extends Table
The file containing the class has a typo or incorrect casing: Atricles.php
The Table was used using associations but the association has a typo: $this->belongsTo('Atricles')
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:
Extra_gtins
WishlistProducts
If you want to customize this error message, create
src/Template/Error/pdo_error.ctp
toggle vendor stack frames
〉 PDOStatement->execute
CORE/src/Database/Statement/MysqlStatement.php, line 37
〉 Cake\Database\Statement\MysqlStatement->execute
CORE/src/Database/Connection.php, line 342
〉 Cake\Database\Connection->Cake\Database\{closure}
CORE/src/Core/Retry/CommandRetry.php, line 67
〉 Cake\Core\Retry\CommandRetry->run
CORE/src/Database/Connection.php, line 345
〉 Cake\Database\Connection->run
CORE/src/Database/Query.php, line 218
〉 Cake\Database\Query->execute
CORE/src/ORM/Table.php, line 2160
〉 Cake\ORM\Table->_insert
CORE/src/ORM/Table.php, line 2052
〉 Cake\ORM\Table->_processSave
CORE/src/ORM/Table.php, line 1965
〉 Cake\ORM\Table->Cake\ORM\{closure}
CORE/src/ORM/Table.php, line 1670
〉 Cake\ORM\Table->Cake\ORM\{closure}
CORE/src/Database/Connection.php, line 741
〉 Cake\Database\Connection->transactional
CORE/src/ORM/Table.php, line 1671
〉 Cake\ORM\Table->_executeTransaction
CORE/src/ORM/Table.php, line 1966
〉 Cake\ORM\Table->save
APP/Controller/ProductsController.php, line 2773
〉 App\Controller\ProductsController->addtowishlist
CORE/src/Controller/Controller.php, line 606
〉 Cake\Controller\Controller->invokeAction
CORE/src/Http/ActionDispatcher.php, line 120
〉 Cake\Http\ActionDispatcher->_invoke
CORE/src/Http/ActionDispatcher.php, line 94
〉 Cake\Http\ActionDispatcher->dispatch
CORE/src/Routing/Dispatcher.php, line 66
〉 Cake\Routing\Dispatcher->dispatch
ROOT/webroot/index.php, line 165