JSFiddle - React, Tailwind, and code Playground
by Mubasshir Pawle
HTML
<h2>Database Error</h2>
<p class="error">
<strong>Error: </strong>
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'OrdersDespatch.products_type_id' in 'where clause'</p>
<p class="notice">
<strong>SQL Query: </strong>
SELECT `OrdersDespatch`.`id`, `OrdersDespatch`.`order_id`, `OrdersDespatch`.`products_types_despatch_id`, `OrdersDespatch`.`step_number`, `OrdersDespatch`.`type_of_instruction`, `OrdersDespatch`.`instructions`, `OrdersDespatch`.`can_delete`, `OrdersDespatch`.`created_by`, `OrdersDespatch`.`created_timestamp` FROM `big_impex`.`orders_despatches` AS `OrdersDespatch` WHERE `OrdersDespatch`.`order_id` = 2 AND `OrdersDespatch`.`products_type_id` = '1' </p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create app/View/Errors/pdo_error.ctp</p>
<h3>Stack Trace</h3>
<ul class="cake-stack-trace">
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/Model/Datasource/DboSource.php line 458</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">PDOStatement->execute(array)</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $query </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">prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$prepareOptions</span><span style="color:...