Notice (8): Undefined index: services-for-professionals [APP/Controller/EventsController.php, line 44]Notice (8): Undefined variable: description_for_layout [APP/View/Layouts/default.ctp, line 6]Code Contextif ($filter && $filter != 'all') {
$eventTypesByUrl = $this->EventType->listEventTypesByUrl();
$conditions['Event.event_type_' . $eventTypesByUrl[$filter]] = 1;
$filter = 'services-for-professionals' $conditions = array( 'Event.published' => (int) 1, 'Event.event_start_date >' => '2024-11-20 13:30:43', 'Event.event_end_date >' => '2024-11-20 13:30:43' ) $eventTypesByUrl = array( 'workshop-for-parents' => '1', 'workshop-for-professionals' => '2', 'social-skills-group' => '3', 'conference' => '5' )EventsController::index() - APP/Controller/EventsController.php, line 44 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160 [main] - /home/peatni/app/public_html/index.php, line 95
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="<?php echo $description_for_layout; ?>">
$viewFile = '/home/peatni/app/private/app/View/Layouts/default.ctp' $dataForView = array( 'isLoggedIn' => (int) 0, 'code' => (int) 500, 'url' => '/events/filter/services-for-professionals', 'name' => 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Event.event_type_' in 'where clause'', 'error' => object(PDOException) { errorInfo => array( [maximum depth reached] ) queryString => 'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' [protected] message => 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Event.event_type_' in 'where clause'' [protected] code => '42S22' [protected] file => '/home/peatni/app/private/lib/Cake/Model/Datasource/DboSource.php' [protected] line => (int) 458 }, '_serialize' => array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name', (int) 3 => 'error' ), 'content_for_layout' => '<h2>Database Error</h2> <p class="error"> <strong>Error: </strong> SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Event.event_type_' in 'where clause'</p> <p class="notice"> <strong>SQL Query: </strong> SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999 </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: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">setFetchMode</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">FETCH_LAZY</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$query</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> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_results </span><span style="color: #007700">= </span><span style="color: #0000BB">$query</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Model/Datasource/DboSource.php line 424</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->_execute(string, array)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $options </span><span style="color: #007700">+= array(</span><span style="color: #DD0000">'log' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fullDebug</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $t </span><span style="color: #007700">= </span><span style="color: #0000BB">microtime</span><span style="color: #007700">(</span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><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">_execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Datasource/DboSource.php line 665</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">DboSource->execute(string, array, array)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$cache </span><span style="color: #007700">&& (</span><span style="color: #0000BB">$cached </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getQueryCache</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">)) !== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$cached</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <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">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, array(), </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' array() array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Model/Datasource/DboSource.php line 1077</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">DboSource->fetchAll(string, boolean)</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"></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">generateAssociationQuery</span><span style="color: #007700">(</span><span style="color: #0000BB">$model</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 style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">, </span><span style="color: #0000BB">false</span><span style="color: #007700">, </span><span style="color: #0000BB">$null</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $resultSet </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fetchAll</span><span style="color: #007700">(</span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$model</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheQueries</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' false</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Model/Model.php line 2902</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">DboSource->read(Event, array)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return array</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">) {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()-></span><span style="color: #0000BB">read</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></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">resetAssociations</span><span style="color: #007700">();</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>object(Event) { name => 'Event' validate => array([maximum depth reached]) hasMany => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'events' id => false data => array([maximum depth reached]) schemaName => 'peatni_1' table => 'events' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Event' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'all' recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) findMethods => array( [maximum depth reached] ) Attachment => object(Attachment) {} Booking => object(Booking) {} [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } array( 'conditions' => array( 'Event.published' => (int) 1, 'Event.event_start_date >' => '2024-11-20 13:30:43', 'Event.event_end_date >' => '2024-11-20 13:30:43', 'Event.event_type_' => (int) 1 ), 'fields' => null, 'joins' => array(), 'limit' => (int) 999, 'offset' => null, 'order' => array( (int) 0 => 'Event.event_start_date ASC' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'maxLimit' => (int) 999, 'paramType' => 'named' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/Model.php line 2874</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Model->_readDataSource(string, array)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <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">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre>'all' array( 'conditions' => array( 'Event.published' => (int) 1, 'Event.event_start_date >' => '2024-11-20 13:30:43', 'Event.event_end_date >' => '2024-11-20 13:30:43', 'Event.event_type_' => (int) 1 ), 'fields' => null, 'joins' => array(), 'limit' => (int) 999, 'offset' => null, 'order' => array( (int) 0 => 'Event.event_start_date ASC' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'maxLimit' => (int) 999, 'paramType' => 'named' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Controller/Component/PaginatorComponent.php line 196</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Model->find(string, array)</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$recursive </span><span style="color: #007700">!= </span><span style="color: #0000BB">$object</span><span style="color: #007700">-></span><span style="color: #0000BB">recursive</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $parameters</span><span style="color: #007700">[</span><span style="color: #DD0000">'recursive'</span><span style="color: #007700">] = </span><span style="color: #0000BB">$recursive</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$object</span><span style="color: #007700">-></span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$parameters</span><span style="color: #007700">, </span><span style="color: #0000BB">$extra</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>'all' array( 'conditions' => array( 'Event.published' => (int) 1, 'Event.event_start_date >' => '2024-11-20 13:30:43', 'Event.event_end_date >' => '2024-11-20 13:30:43', 'Event.event_type_' => (int) 1 ), 'fields' => null, 'order' => 'Event.event_start_date ASC', 'limit' => (int) 999, 'page' => (int) 1, 'maxLimit' => (int) 999, 'paramType' => 'named' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">CORE/Cake/Controller/Controller.php line 1079</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">PaginatorComponent->paginate(string, array, array)</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">deprecated Will be removed in 3.0</span><span style="color: #007700">. Use </span><span style="color: #0000BB">PaginatorComponent instead</span><span style="color: #007700">.</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">paginate</span><span style="color: #007700">(</span><span style="color: #0000BB">$object </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">$scope </span><span style="color: #007700">= array(), </span><span style="color: #0000BB">$whitelist </span><span style="color: #007700">= array()) {</span></span></code> <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">Components</span><span style="color: #007700">-></span><span style="color: #0000BB">load</span><span style="color: #007700">(</span><span style="color: #DD0000">'Paginator'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">paginate</span><span style="color: #007700">)-></span><span style="color: #0000BB">paginate</span><span style="color: #007700">(</span><span style="color: #0000BB">$object</span><span style="color: #007700">, </span><span style="color: #0000BB">$scope</span><span style="color: #007700">, </span><span style="color: #0000BB">$whitelist</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>'Event' array() array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/EventsController.php line 55</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">Controller->paginate(string)</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'filter'</span><span style="color: #007700">, </span><span style="color: #0000BB">$filter</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'page'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Page</span><span style="color: #007700">-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">null</span><span style="color: #007700">, (int) </span><span style="color: #0000BB">15</span><span style="color: #007700">));</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'events'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">paginate</span><span style="color: #007700">(</span><span style="color: #DD0000">'Event'</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'eventTypes'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">EventType</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventTypes</span><span style="color: #007700">());</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>'Event'</pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">EventsController->index(string)</a> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre>'services-for-professionals'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-10')">CORE/Cake/Controller/Controller.php line 490</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">ReflectionMethod->invokeArgs(EventsController, array)</a> <div id="file-excerpt-10" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'action' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'action'</span><span style="color: #007700">]</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$method</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeArgs</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">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'pass'</span><span style="color: #007700">]);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre>object(EventsController) { name => 'Events' uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Events' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Event' modelKey => 'event' validationErrors => null Acl => object(AclComponent) {} Auth => object(AuthComponent) {} Session => object(SessionComponent) {} Postman => object(PostmanComponent) {} Purifier => object(PurifierComponent) {} EventType => object(EventType) {} Page => object(Page) {} Event => object(Event) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => 'services-for-professionals' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">CORE/Cake/Routing/Dispatcher.php line 185</a> → <a href="#" onclick="traceToggle(event, 'trace-args-11')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-11" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $render </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">;</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeAction</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span> <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">CakeResponse</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'events/filter/services-for-professionals' base => '' webroot => '/' here => '/events/filter/services-for-professionals' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">CORE/Cake/Routing/Dispatcher.php line 160</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">Dispatcher->_invoke(EventsController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <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 style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-12" class="cake-code-dump" style="display: none;"><pre>object(EventsController) { name => 'Events' uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Events' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Event' modelKey => 'event' validationErrors => null Acl => object(AclComponent) {} Auth => object(AuthComponent) {} Session => object(SessionComponent) {} Postman => object(PostmanComponent) {} Purifier => object(PurifierComponent) {} EventType => object(EventType) {} Page => object(Page) {} Event => object(Event) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'events/filter/services-for-professionals' base => '' webroot => '/' here => '/events/filter/services-for-professionals' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">/home/peatni/app/public_html/index.php line 95</a> → <a href="#" onclick="traceToggle(event, 'trace-args-13')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-13" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">App</span><span style="color: #007700">::</span><span style="color: #0000BB">uses</span><span style="color: #007700">(</span><span style="color: #DD0000">'Dispatcher'</span><span style="color: #007700">, </span><span style="color: #DD0000">'Routing'</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher </span><span style="color: #007700">= new </span><span style="color: #0000BB">Dispatcher</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><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">(new </span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(), new </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'charset' </span><span style="color: #007700">=> </span><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #DD0000">'App.encoding'</span><span style="color: #007700">))));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-13" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'events/filter/services-for-professionals' base => '' webroot => '/' here => '/events/filter/services-for-professionals' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> </ul> <script type="text/javascript"> function traceToggle(event, id) { var el = document.getElementById(id); el.style.display = (el.style.display === 'block') ? 'none' : 'block'; event.preventDefault(); return false; } </script> ', 'scripts_for_layout' => '', 'title_for_layout' => 'Errors' ) $isLoggedIn = (int) 0 $code = (int) 500 $url = '/events/filter/services-for-professionals' $name = 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Event.event_type_' in 'where clause'' $error = object(PDOException) { errorInfo => array( (int) 0 => '42S22', (int) 1 => (int) 1054, (int) 2 => 'Unknown column 'Event.event_type_' in 'where clause'' ) queryString => 'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' [protected] message => 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Event.event_type_' in 'where clause'' [protected] code => '42S22' [protected] file => '/home/peatni/app/private/lib/Cake/Model/Datasource/DboSource.php' [protected] line => (int) 458 } $_serialize = array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name', (int) 3 => 'error' ) $content_for_layout = '<h2>Database Error</h2> <p class="error"> <strong>Error: </strong> SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Event.event_type_' in 'where clause'</p> <p class="notice"> <strong>SQL Query: </strong> SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999 </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: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">setFetchMode</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">FETCH_LAZY</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$query</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> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_results </span><span style="color: #007700">= </span><span style="color: #0000BB">$query</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Model/Datasource/DboSource.php line 424</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->_execute(string, array)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $options </span><span style="color: #007700">+= array(</span><span style="color: #DD0000">'log' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fullDebug</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $t </span><span style="color: #007700">= </span><span style="color: #0000BB">microtime</span><span style="color: #007700">(</span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><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">_execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Datasource/DboSource.php line 665</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">DboSource->execute(string, array, array)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$cache </span><span style="color: #007700">&& (</span><span style="color: #0000BB">$cached </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getQueryCache</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">)) !== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$cached</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <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">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, array(), </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' array() array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Model/Datasource/DboSource.php line 1077</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">DboSource->fetchAll(string, boolean)</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"></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">generateAssociationQuery</span><span style="color: #007700">(</span><span style="color: #0000BB">$model</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 style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">, </span><span style="color: #0000BB">false</span><span style="color: #007700">, </span><span style="color: #0000BB">$null</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $resultSet </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fetchAll</span><span style="color: #007700">(</span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$model</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheQueries</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' false</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Model/Model.php line 2902</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">DboSource->read(Event, array)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return array</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">) {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()-></span><span style="color: #0000BB">read</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></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">resetAssociations</span><span style="color: #007700">();</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>object(Event) { name => 'Event' validate => array([maximum depth reached]) hasMany => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'events' id => false data => array([maximum depth reached]) schemaName => 'peatni_1' table => 'events' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Event' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'all' recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) findMethods => array( [maximum depth reached] ) Attachment => object(Attachment) {} Booking => object(Booking) {} [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } array( 'conditions' => array( 'Event.published' => (int) 1, 'Event.event_start_date >' => '2024-11-20 13:30:43', 'Event.event_end_date >' => '2024-11-20 13:30:43', 'Event.event_type_' => (int) 1 ), 'fields' => null, 'joins' => array(), 'limit' => (int) 999, 'offset' => null, 'order' => array( (int) 0 => 'Event.event_start_date ASC' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'maxLimit' => (int) 999, 'paramType' => 'named' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/Model.php line 2874</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Model->_readDataSource(string, array)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <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">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre>'all' array( 'conditions' => array( 'Event.published' => (int) 1, 'Event.event_start_date >' => '2024-11-20 13:30:43', 'Event.event_end_date >' => '2024-11-20 13:30:43', 'Event.event_type_' => (int) 1 ), 'fields' => null, 'joins' => array(), 'limit' => (int) 999, 'offset' => null, 'order' => array( (int) 0 => 'Event.event_start_date ASC' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'maxLimit' => (int) 999, 'paramType' => 'named' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Controller/Component/PaginatorComponent.php line 196</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Model->find(string, array)</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$recursive </span><span style="color: #007700">!= </span><span style="color: #0000BB">$object</span><span style="color: #007700">-></span><span style="color: #0000BB">recursive</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $parameters</span><span style="color: #007700">[</span><span style="color: #DD0000">'recursive'</span><span style="color: #007700">] = </span><span style="color: #0000BB">$recursive</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$object</span><span style="color: #007700">-></span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$parameters</span><span style="color: #007700">, </span><span style="color: #0000BB">$extra</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>'all' array( 'conditions' => array( 'Event.published' => (int) 1, 'Event.event_start_date >' => '2024-11-20 13:30:43', 'Event.event_end_date >' => '2024-11-20 13:30:43', 'Event.event_type_' => (int) 1 ), 'fields' => null, 'order' => 'Event.event_start_date ASC', 'limit' => (int) 999, 'page' => (int) 1, 'maxLimit' => (int) 999, 'paramType' => 'named' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">CORE/Cake/Controller/Controller.php line 1079</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">PaginatorComponent->paginate(string, array, array)</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">deprecated Will be removed in 3.0</span><span style="color: #007700">. Use </span><span style="color: #0000BB">PaginatorComponent instead</span><span style="color: #007700">.</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">paginate</span><span style="color: #007700">(</span><span style="color: #0000BB">$object </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">$scope </span><span style="color: #007700">= array(), </span><span style="color: #0000BB">$whitelist </span><span style="color: #007700">= array()) {</span></span></code> <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">Components</span><span style="color: #007700">-></span><span style="color: #0000BB">load</span><span style="color: #007700">(</span><span style="color: #DD0000">'Paginator'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">paginate</span><span style="color: #007700">)-></span><span style="color: #0000BB">paginate</span><span style="color: #007700">(</span><span style="color: #0000BB">$object</span><span style="color: #007700">, </span><span style="color: #0000BB">$scope</span><span style="color: #007700">, </span><span style="color: #0000BB">$whitelist</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>'Event' array() array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/EventsController.php line 55</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">Controller->paginate(string)</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'filter'</span><span style="color: #007700">, </span><span style="color: #0000BB">$filter</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'page'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Page</span><span style="color: #007700">-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">null</span><span style="color: #007700">, (int) </span><span style="color: #0000BB">15</span><span style="color: #007700">));</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'events'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">paginate</span><span style="color: #007700">(</span><span style="color: #DD0000">'Event'</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'eventTypes'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">EventType</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventTypes</span><span style="color: #007700">());</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>'Event'</pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">EventsController->index(string)</a> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre>'services-for-professionals'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-10')">CORE/Cake/Controller/Controller.php line 490</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">ReflectionMethod->invokeArgs(EventsController, array)</a> <div id="file-excerpt-10" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'action' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'action'</span><span style="color: #007700">]</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$method</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeArgs</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">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'pass'</span><span style="color: #007700">]);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre>object(EventsController) { name => 'Events' uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Events' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Event' modelKey => 'event' validationErrors => null Acl => object(AclComponent) {} Auth => object(AuthComponent) {} Session => object(SessionComponent) {} Postman => object(PostmanComponent) {} Purifier => object(PurifierComponent) {} EventType => object(EventType) {} Page => object(Page) {} Event => object(Event) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => 'services-for-professionals' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">CORE/Cake/Routing/Dispatcher.php line 185</a> → <a href="#" onclick="traceToggle(event, 'trace-args-11')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-11" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $render </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">;</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeAction</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span> <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">CakeResponse</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'events/filter/services-for-professionals' base => '' webroot => '/' here => '/events/filter/services-for-professionals' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">CORE/Cake/Routing/Dispatcher.php line 160</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">Dispatcher->_invoke(EventsController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <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 style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-12" class="cake-code-dump" style="display: none;"><pre>object(EventsController) { name => 'Events' uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Events' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Event' modelKey => 'event' validationErrors => null Acl => object(AclComponent) {} Auth => object(AuthComponent) {} Session => object(SessionComponent) {} Postman => object(PostmanComponent) {} Purifier => object(PurifierComponent) {} EventType => object(EventType) {} Page => object(Page) {} Event => object(Event) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'events/filter/services-for-professionals' base => '' webroot => '/' here => '/events/filter/services-for-professionals' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">/home/peatni/app/public_html/index.php line 95</a> → <a href="#" onclick="traceToggle(event, 'trace-args-13')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-13" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">App</span><span style="color: #007700">::</span><span style="color: #0000BB">uses</span><span style="color: #007700">(</span><span style="color: #DD0000">'Dispatcher'</span><span style="color: #007700">, </span><span style="color: #DD0000">'Routing'</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher </span><span style="color: #007700">= new </span><span style="color: #0000BB">Dispatcher</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><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">(new </span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(), new </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'charset' </span><span style="color: #007700">=> </span><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #DD0000">'App.encoding'</span><span style="color: #007700">))));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-13" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'events/filter/services-for-professionals' base => '' webroot => '/' here => '/events/filter/services-for-professionals' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> </ul> <script type="text/javascript"> function traceToggle(event, id) { var el = document.getElementById(id); el.style.display = (el.style.display === 'block') ? 'none' : 'block'; event.preventDefault(); return false; } </script> ' $scripts_for_layout = '' $title_for_layout = 'Errors'
include - APP/View/Layouts/default.ctp, line 6 View::_evaluate() - CORE/Cake/View/View.php, line 935 View::_render() - CORE/Cake/View/View.php, line 897 View::renderLayout() - CORE/Cake/View/View.php, line 529 View::render() - CORE/Cake/View/View.php, line 474 Controller::render() - CORE/Cake/Controller/Controller.php, line 952 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 273 ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 262 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 175 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 120 [main] - [internal], line ??
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="<?php echo $description_for_layout; ?>">
<meta name="keywords" content="<?php echo $keywords_for_layout; ?>">
$viewFile = '/home/peatni/app/private/app/View/Layouts/default.ctp' $dataForView = array( 'isLoggedIn' => (int) 0, 'code' => (int) 500, 'url' => '/events/filter/services-for-professionals', 'name' => 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Event.event_type_' in 'where clause'', 'error' => object(PDOException) { errorInfo => array( [maximum depth reached] ) queryString => 'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' [protected] message => 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Event.event_type_' in 'where clause'' [protected] code => '42S22' [protected] file => '/home/peatni/app/private/lib/Cake/Model/Datasource/DboSource.php' [protected] line => (int) 458 }, '_serialize' => array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name', (int) 3 => 'error' ), 'content_for_layout' => '<h2>Database Error</h2> <p class="error"> <strong>Error: </strong> SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Event.event_type_' in 'where clause'</p> <p class="notice"> <strong>SQL Query: </strong> SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999 </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: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">setFetchMode</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">FETCH_LAZY</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$query</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> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_results </span><span style="color: #007700">= </span><span style="color: #0000BB">$query</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Model/Datasource/DboSource.php line 424</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->_execute(string, array)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $options </span><span style="color: #007700">+= array(</span><span style="color: #DD0000">'log' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fullDebug</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $t </span><span style="color: #007700">= </span><span style="color: #0000BB">microtime</span><span style="color: #007700">(</span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><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">_execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Datasource/DboSource.php line 665</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">DboSource->execute(string, array, array)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$cache </span><span style="color: #007700">&& (</span><span style="color: #0000BB">$cached </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getQueryCache</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">)) !== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$cached</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <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">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, array(), </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' array() array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Model/Datasource/DboSource.php line 1077</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">DboSource->fetchAll(string, boolean)</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"></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">generateAssociationQuery</span><span style="color: #007700">(</span><span style="color: #0000BB">$model</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 style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">, </span><span style="color: #0000BB">false</span><span style="color: #007700">, </span><span style="color: #0000BB">$null</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $resultSet </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fetchAll</span><span style="color: #007700">(</span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$model</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheQueries</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' false</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Model/Model.php line 2902</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">DboSource->read(Event, array)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return array</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">) {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()-></span><span style="color: #0000BB">read</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></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">resetAssociations</span><span style="color: #007700">();</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>object(Event) { name => 'Event' validate => array([maximum depth reached]) hasMany => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'events' id => false data => array([maximum depth reached]) schemaName => 'peatni_1' table => 'events' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Event' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'all' recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) findMethods => array( [maximum depth reached] ) Attachment => object(Attachment) {} Booking => object(Booking) {} [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } array( 'conditions' => array( 'Event.published' => (int) 1, 'Event.event_start_date >' => '2024-11-20 13:30:43', 'Event.event_end_date >' => '2024-11-20 13:30:43', 'Event.event_type_' => (int) 1 ), 'fields' => null, 'joins' => array(), 'limit' => (int) 999, 'offset' => null, 'order' => array( (int) 0 => 'Event.event_start_date ASC' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'maxLimit' => (int) 999, 'paramType' => 'named' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/Model.php line 2874</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Model->_readDataSource(string, array)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <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">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre>'all' array( 'conditions' => array( 'Event.published' => (int) 1, 'Event.event_start_date >' => '2024-11-20 13:30:43', 'Event.event_end_date >' => '2024-11-20 13:30:43', 'Event.event_type_' => (int) 1 ), 'fields' => null, 'joins' => array(), 'limit' => (int) 999, 'offset' => null, 'order' => array( (int) 0 => 'Event.event_start_date ASC' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'maxLimit' => (int) 999, 'paramType' => 'named' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Controller/Component/PaginatorComponent.php line 196</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Model->find(string, array)</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$recursive </span><span style="color: #007700">!= </span><span style="color: #0000BB">$object</span><span style="color: #007700">-></span><span style="color: #0000BB">recursive</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $parameters</span><span style="color: #007700">[</span><span style="color: #DD0000">'recursive'</span><span style="color: #007700">] = </span><span style="color: #0000BB">$recursive</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$object</span><span style="color: #007700">-></span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$parameters</span><span style="color: #007700">, </span><span style="color: #0000BB">$extra</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>'all' array( 'conditions' => array( 'Event.published' => (int) 1, 'Event.event_start_date >' => '2024-11-20 13:30:43', 'Event.event_end_date >' => '2024-11-20 13:30:43', 'Event.event_type_' => (int) 1 ), 'fields' => null, 'order' => 'Event.event_start_date ASC', 'limit' => (int) 999, 'page' => (int) 1, 'maxLimit' => (int) 999, 'paramType' => 'named' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">CORE/Cake/Controller/Controller.php line 1079</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">PaginatorComponent->paginate(string, array, array)</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">deprecated Will be removed in 3.0</span><span style="color: #007700">. Use </span><span style="color: #0000BB">PaginatorComponent instead</span><span style="color: #007700">.</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">paginate</span><span style="color: #007700">(</span><span style="color: #0000BB">$object </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">$scope </span><span style="color: #007700">= array(), </span><span style="color: #0000BB">$whitelist </span><span style="color: #007700">= array()) {</span></span></code> <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">Components</span><span style="color: #007700">-></span><span style="color: #0000BB">load</span><span style="color: #007700">(</span><span style="color: #DD0000">'Paginator'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">paginate</span><span style="color: #007700">)-></span><span style="color: #0000BB">paginate</span><span style="color: #007700">(</span><span style="color: #0000BB">$object</span><span style="color: #007700">, </span><span style="color: #0000BB">$scope</span><span style="color: #007700">, </span><span style="color: #0000BB">$whitelist</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>'Event' array() array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/EventsController.php line 55</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">Controller->paginate(string)</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'filter'</span><span style="color: #007700">, </span><span style="color: #0000BB">$filter</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'page'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Page</span><span style="color: #007700">-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">null</span><span style="color: #007700">, (int) </span><span style="color: #0000BB">15</span><span style="color: #007700">));</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'events'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">paginate</span><span style="color: #007700">(</span><span style="color: #DD0000">'Event'</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'eventTypes'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">EventType</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventTypes</span><span style="color: #007700">());</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>'Event'</pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">EventsController->index(string)</a> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre>'services-for-professionals'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-10')">CORE/Cake/Controller/Controller.php line 490</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">ReflectionMethod->invokeArgs(EventsController, array)</a> <div id="file-excerpt-10" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'action' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'action'</span><span style="color: #007700">]</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$method</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeArgs</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">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'pass'</span><span style="color: #007700">]);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre>object(EventsController) { name => 'Events' uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Events' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Event' modelKey => 'event' validationErrors => null Acl => object(AclComponent) {} Auth => object(AuthComponent) {} Session => object(SessionComponent) {} Postman => object(PostmanComponent) {} Purifier => object(PurifierComponent) {} EventType => object(EventType) {} Page => object(Page) {} Event => object(Event) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => 'services-for-professionals' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">CORE/Cake/Routing/Dispatcher.php line 185</a> → <a href="#" onclick="traceToggle(event, 'trace-args-11')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-11" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $render </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">;</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeAction</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span> <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">CakeResponse</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'events/filter/services-for-professionals' base => '' webroot => '/' here => '/events/filter/services-for-professionals' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">CORE/Cake/Routing/Dispatcher.php line 160</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">Dispatcher->_invoke(EventsController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <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 style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-12" class="cake-code-dump" style="display: none;"><pre>object(EventsController) { name => 'Events' uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Events' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Event' modelKey => 'event' validationErrors => null Acl => object(AclComponent) {} Auth => object(AuthComponent) {} Session => object(SessionComponent) {} Postman => object(PostmanComponent) {} Purifier => object(PurifierComponent) {} EventType => object(EventType) {} Page => object(Page) {} Event => object(Event) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'events/filter/services-for-professionals' base => '' webroot => '/' here => '/events/filter/services-for-professionals' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">/home/peatni/app/public_html/index.php line 95</a> → <a href="#" onclick="traceToggle(event, 'trace-args-13')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-13" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">App</span><span style="color: #007700">::</span><span style="color: #0000BB">uses</span><span style="color: #007700">(</span><span style="color: #DD0000">'Dispatcher'</span><span style="color: #007700">, </span><span style="color: #DD0000">'Routing'</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher </span><span style="color: #007700">= new </span><span style="color: #0000BB">Dispatcher</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><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">(new </span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(), new </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'charset' </span><span style="color: #007700">=> </span><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #DD0000">'App.encoding'</span><span style="color: #007700">))));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-13" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'events/filter/services-for-professionals' base => '' webroot => '/' here => '/events/filter/services-for-professionals' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> </ul> <script type="text/javascript"> function traceToggle(event, id) { var el = document.getElementById(id); el.style.display = (el.style.display === 'block') ? 'none' : 'block'; event.preventDefault(); return false; } </script> ', 'scripts_for_layout' => '', 'title_for_layout' => 'Errors' ) $isLoggedIn = (int) 0 $code = (int) 500 $url = '/events/filter/services-for-professionals' $name = 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Event.event_type_' in 'where clause'' $error = object(PDOException) { errorInfo => array( (int) 0 => '42S22', (int) 1 => (int) 1054, (int) 2 => 'Unknown column 'Event.event_type_' in 'where clause'' ) queryString => 'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' [protected] message => 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Event.event_type_' in 'where clause'' [protected] code => '42S22' [protected] file => '/home/peatni/app/private/lib/Cake/Model/Datasource/DboSource.php' [protected] line => (int) 458 } $_serialize = array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name', (int) 3 => 'error' ) $content_for_layout = '<h2>Database Error</h2> <p class="error"> <strong>Error: </strong> SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Event.event_type_' in 'where clause'</p> <p class="notice"> <strong>SQL Query: </strong> SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999 </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: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">setFetchMode</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">FETCH_LAZY</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$query</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> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_results </span><span style="color: #007700">= </span><span style="color: #0000BB">$query</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Model/Datasource/DboSource.php line 424</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->_execute(string, array)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $options </span><span style="color: #007700">+= array(</span><span style="color: #DD0000">'log' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fullDebug</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $t </span><span style="color: #007700">= </span><span style="color: #0000BB">microtime</span><span style="color: #007700">(</span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><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">_execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Datasource/DboSource.php line 665</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">DboSource->execute(string, array, array)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$cache </span><span style="color: #007700">&& (</span><span style="color: #0000BB">$cached </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getQueryCache</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">)) !== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$cached</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <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">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, array(), </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' array() array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Model/Datasource/DboSource.php line 1077</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">DboSource->fetchAll(string, boolean)</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"></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">generateAssociationQuery</span><span style="color: #007700">(</span><span style="color: #0000BB">$model</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 style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">, </span><span style="color: #0000BB">false</span><span style="color: #007700">, </span><span style="color: #0000BB">$null</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $resultSet </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fetchAll</span><span style="color: #007700">(</span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$model</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheQueries</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' false</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Model/Model.php line 2902</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">DboSource->read(Event, array)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return array</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">) {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()-></span><span style="color: #0000BB">read</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></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">resetAssociations</span><span style="color: #007700">();</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>object(Event) { name => 'Event' validate => array([maximum depth reached]) hasMany => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'events' id => false data => array([maximum depth reached]) schemaName => 'peatni_1' table => 'events' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Event' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'all' recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) findMethods => array( [maximum depth reached] ) Attachment => object(Attachment) {} Booking => object(Booking) {} [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } array( 'conditions' => array( 'Event.published' => (int) 1, 'Event.event_start_date >' => '2024-11-20 13:30:43', 'Event.event_end_date >' => '2024-11-20 13:30:43', 'Event.event_type_' => (int) 1 ), 'fields' => null, 'joins' => array(), 'limit' => (int) 999, 'offset' => null, 'order' => array( (int) 0 => 'Event.event_start_date ASC' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'maxLimit' => (int) 999, 'paramType' => 'named' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/Model.php line 2874</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Model->_readDataSource(string, array)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <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">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre>'all' array( 'conditions' => array( 'Event.published' => (int) 1, 'Event.event_start_date >' => '2024-11-20 13:30:43', 'Event.event_end_date >' => '2024-11-20 13:30:43', 'Event.event_type_' => (int) 1 ), 'fields' => null, 'joins' => array(), 'limit' => (int) 999, 'offset' => null, 'order' => array( (int) 0 => 'Event.event_start_date ASC' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'maxLimit' => (int) 999, 'paramType' => 'named' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Controller/Component/PaginatorComponent.php line 196</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Model->find(string, array)</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$recursive </span><span style="color: #007700">!= </span><span style="color: #0000BB">$object</span><span style="color: #007700">-></span><span style="color: #0000BB">recursive</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $parameters</span><span style="color: #007700">[</span><span style="color: #DD0000">'recursive'</span><span style="color: #007700">] = </span><span style="color: #0000BB">$recursive</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$object</span><span style="color: #007700">-></span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$parameters</span><span style="color: #007700">, </span><span style="color: #0000BB">$extra</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>'all' array( 'conditions' => array( 'Event.published' => (int) 1, 'Event.event_start_date >' => '2024-11-20 13:30:43', 'Event.event_end_date >' => '2024-11-20 13:30:43', 'Event.event_type_' => (int) 1 ), 'fields' => null, 'order' => 'Event.event_start_date ASC', 'limit' => (int) 999, 'page' => (int) 1, 'maxLimit' => (int) 999, 'paramType' => 'named' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">CORE/Cake/Controller/Controller.php line 1079</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">PaginatorComponent->paginate(string, array, array)</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">deprecated Will be removed in 3.0</span><span style="color: #007700">. Use </span><span style="color: #0000BB">PaginatorComponent instead</span><span style="color: #007700">.</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">paginate</span><span style="color: #007700">(</span><span style="color: #0000BB">$object </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">$scope </span><span style="color: #007700">= array(), </span><span style="color: #0000BB">$whitelist </span><span style="color: #007700">= array()) {</span></span></code> <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">Components</span><span style="color: #007700">-></span><span style="color: #0000BB">load</span><span style="color: #007700">(</span><span style="color: #DD0000">'Paginator'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">paginate</span><span style="color: #007700">)-></span><span style="color: #0000BB">paginate</span><span style="color: #007700">(</span><span style="color: #0000BB">$object</span><span style="color: #007700">, </span><span style="color: #0000BB">$scope</span><span style="color: #007700">, </span><span style="color: #0000BB">$whitelist</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>'Event' array() array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/EventsController.php line 55</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">Controller->paginate(string)</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'filter'</span><span style="color: #007700">, </span><span style="color: #0000BB">$filter</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'page'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Page</span><span style="color: #007700">-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">null</span><span style="color: #007700">, (int) </span><span style="color: #0000BB">15</span><span style="color: #007700">));</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'events'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">paginate</span><span style="color: #007700">(</span><span style="color: #DD0000">'Event'</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'eventTypes'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">EventType</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventTypes</span><span style="color: #007700">());</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>'Event'</pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">EventsController->index(string)</a> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre>'services-for-professionals'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-10')">CORE/Cake/Controller/Controller.php line 490</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">ReflectionMethod->invokeArgs(EventsController, array)</a> <div id="file-excerpt-10" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'action' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'action'</span><span style="color: #007700">]</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$method</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeArgs</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">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'pass'</span><span style="color: #007700">]);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre>object(EventsController) { name => 'Events' uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Events' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Event' modelKey => 'event' validationErrors => null Acl => object(AclComponent) {} Auth => object(AuthComponent) {} Session => object(SessionComponent) {} Postman => object(PostmanComponent) {} Purifier => object(PurifierComponent) {} EventType => object(EventType) {} Page => object(Page) {} Event => object(Event) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => 'services-for-professionals' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">CORE/Cake/Routing/Dispatcher.php line 185</a> → <a href="#" onclick="traceToggle(event, 'trace-args-11')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-11" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $render </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">;</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeAction</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span> <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">CakeResponse</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'events/filter/services-for-professionals' base => '' webroot => '/' here => '/events/filter/services-for-professionals' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">CORE/Cake/Routing/Dispatcher.php line 160</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">Dispatcher->_invoke(EventsController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <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 style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-12" class="cake-code-dump" style="display: none;"><pre>object(EventsController) { name => 'Events' uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Events' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Event' modelKey => 'event' validationErrors => null Acl => object(AclComponent) {} Auth => object(AuthComponent) {} Session => object(SessionComponent) {} Postman => object(PostmanComponent) {} Purifier => object(PurifierComponent) {} EventType => object(EventType) {} Page => object(Page) {} Event => object(Event) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'events/filter/services-for-professionals' base => '' webroot => '/' here => '/events/filter/services-for-professionals' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">/home/peatni/app/public_html/index.php line 95</a> → <a href="#" onclick="traceToggle(event, 'trace-args-13')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-13" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">App</span><span style="color: #007700">::</span><span style="color: #0000BB">uses</span><span style="color: #007700">(</span><span style="color: #DD0000">'Dispatcher'</span><span style="color: #007700">, </span><span style="color: #DD0000">'Routing'</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher </span><span style="color: #007700">= new </span><span style="color: #0000BB">Dispatcher</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><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">(new </span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(), new </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'charset' </span><span style="color: #007700">=> </span><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #DD0000">'App.encoding'</span><span style="color: #007700">))));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-13" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'events/filter/services-for-professionals' base => '' webroot => '/' here => '/events/filter/services-for-professionals' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> </ul> <script type="text/javascript"> function traceToggle(event, id) { var el = document.getElementById(id); el.style.display = (el.style.display === 'block') ? 'none' : 'block'; event.preventDefault(); return false; } </script> ' $scripts_for_layout = '' $title_for_layout = 'Errors'
include - APP/View/Layouts/default.ctp, line 7 View::_evaluate() - CORE/Cake/View/View.php, line 935 View::_render() - CORE/Cake/View/View.php, line 897 View::renderLayout() - CORE/Cake/View/View.php, line 529 View::render() - CORE/Cake/View/View.php, line 474 Controller::render() - CORE/Cake/Controller/Controller.php, line 952 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 273 ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 262 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 175 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 120 [main] - [internal], line ??
Notice (8): Undefined variable: mainNavigation [APP/View/Elements/header.ctp, line 40]Code Context
<?php $countPage = 0; ?>
<?php foreach ($mainNavigation as $navigationItem) { ?>
$viewFile = '/home/peatni/app/private/app/View/Elements/header.ctp' $dataForView = array( 'isLoggedIn' => (int) 0, 'code' => (int) 500, 'url' => '/events/filter/services-for-professionals', 'name' => 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Event.event_type_' in 'where clause'', 'error' => object(PDOException) { errorInfo => array( [maximum depth reached] ) queryString => 'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' [protected] message => 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Event.event_type_' in 'where clause'' [protected] code => '42S22' [protected] file => '/home/peatni/app/private/lib/Cake/Model/Datasource/DboSource.php' [protected] line => (int) 458 }, '_serialize' => array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name', (int) 3 => 'error' ), 'content_for_layout' => '<h2>Database Error</h2> <p class="error"> <strong>Error: </strong> SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Event.event_type_' in 'where clause'</p> <p class="notice"> <strong>SQL Query: </strong> SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999 </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: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">setFetchMode</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">FETCH_LAZY</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$query</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> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_results </span><span style="color: #007700">= </span><span style="color: #0000BB">$query</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Model/Datasource/DboSource.php line 424</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->_execute(string, array)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $options </span><span style="color: #007700">+= array(</span><span style="color: #DD0000">'log' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fullDebug</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $t </span><span style="color: #007700">= </span><span style="color: #0000BB">microtime</span><span style="color: #007700">(</span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><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">_execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Datasource/DboSource.php line 665</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">DboSource->execute(string, array, array)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$cache </span><span style="color: #007700">&& (</span><span style="color: #0000BB">$cached </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getQueryCache</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">)) !== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$cached</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <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">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, array(), </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' array() array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Model/Datasource/DboSource.php line 1077</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">DboSource->fetchAll(string, boolean)</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"></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">generateAssociationQuery</span><span style="color: #007700">(</span><span style="color: #0000BB">$model</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 style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">, </span><span style="color: #0000BB">false</span><span style="color: #007700">, </span><span style="color: #0000BB">$null</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $resultSet </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fetchAll</span><span style="color: #007700">(</span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$model</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheQueries</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' false</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Model/Model.php line 2902</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">DboSource->read(Event, array)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return array</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">) {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()-></span><span style="color: #0000BB">read</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></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">resetAssociations</span><span style="color: #007700">();</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>object(Event) { name => 'Event' validate => array([maximum depth reached]) hasMany => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'events' id => false data => array([maximum depth reached]) schemaName => 'peatni_1' table => 'events' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Event' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'all' recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) findMethods => array( [maximum depth reached] ) Attachment => object(Attachment) {} Booking => object(Booking) {} [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } array( 'conditions' => array( 'Event.published' => (int) 1, 'Event.event_start_date >' => '2024-11-20 13:30:43', 'Event.event_end_date >' => '2024-11-20 13:30:43', 'Event.event_type_' => (int) 1 ), 'fields' => null, 'joins' => array(), 'limit' => (int) 999, 'offset' => null, 'order' => array( (int) 0 => 'Event.event_start_date ASC' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'maxLimit' => (int) 999, 'paramType' => 'named' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/Model.php line 2874</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Model->_readDataSource(string, array)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <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">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre>'all' array( 'conditions' => array( 'Event.published' => (int) 1, 'Event.event_start_date >' => '2024-11-20 13:30:43', 'Event.event_end_date >' => '2024-11-20 13:30:43', 'Event.event_type_' => (int) 1 ), 'fields' => null, 'joins' => array(), 'limit' => (int) 999, 'offset' => null, 'order' => array( (int) 0 => 'Event.event_start_date ASC' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'maxLimit' => (int) 999, 'paramType' => 'named' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Controller/Component/PaginatorComponent.php line 196</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Model->find(string, array)</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$recursive </span><span style="color: #007700">!= </span><span style="color: #0000BB">$object</span><span style="color: #007700">-></span><span style="color: #0000BB">recursive</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $parameters</span><span style="color: #007700">[</span><span style="color: #DD0000">'recursive'</span><span style="color: #007700">] = </span><span style="color: #0000BB">$recursive</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$object</span><span style="color: #007700">-></span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$parameters</span><span style="color: #007700">, </span><span style="color: #0000BB">$extra</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>'all' array( 'conditions' => array( 'Event.published' => (int) 1, 'Event.event_start_date >' => '2024-11-20 13:30:43', 'Event.event_end_date >' => '2024-11-20 13:30:43', 'Event.event_type_' => (int) 1 ), 'fields' => null, 'order' => 'Event.event_start_date ASC', 'limit' => (int) 999, 'page' => (int) 1, 'maxLimit' => (int) 999, 'paramType' => 'named' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">CORE/Cake/Controller/Controller.php line 1079</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">PaginatorComponent->paginate(string, array, array)</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">deprecated Will be removed in 3.0</span><span style="color: #007700">. Use </span><span style="color: #0000BB">PaginatorComponent instead</span><span style="color: #007700">.</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">paginate</span><span style="color: #007700">(</span><span style="color: #0000BB">$object </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">$scope </span><span style="color: #007700">= array(), </span><span style="color: #0000BB">$whitelist </span><span style="color: #007700">= array()) {</span></span></code> <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">Components</span><span style="color: #007700">-></span><span style="color: #0000BB">load</span><span style="color: #007700">(</span><span style="color: #DD0000">'Paginator'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">paginate</span><span style="color: #007700">)-></span><span style="color: #0000BB">paginate</span><span style="color: #007700">(</span><span style="color: #0000BB">$object</span><span style="color: #007700">, </span><span style="color: #0000BB">$scope</span><span style="color: #007700">, </span><span style="color: #0000BB">$whitelist</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>'Event' array() array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/EventsController.php line 55</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">Controller->paginate(string)</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'filter'</span><span style="color: #007700">, </span><span style="color: #0000BB">$filter</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'page'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Page</span><span style="color: #007700">-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">null</span><span style="color: #007700">, (int) </span><span style="color: #0000BB">15</span><span style="color: #007700">));</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'events'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">paginate</span><span style="color: #007700">(</span><span style="color: #DD0000">'Event'</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'eventTypes'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">EventType</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventTypes</span><span style="color: #007700">());</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>'Event'</pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">EventsController->index(string)</a> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre>'services-for-professionals'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-10')">CORE/Cake/Controller/Controller.php line 490</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">ReflectionMethod->invokeArgs(EventsController, array)</a> <div id="file-excerpt-10" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'action' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'action'</span><span style="color: #007700">]</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$method</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeArgs</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">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'pass'</span><span style="color: #007700">]);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre>object(EventsController) { name => 'Events' uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Events' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Event' modelKey => 'event' validationErrors => null Acl => object(AclComponent) {} Auth => object(AuthComponent) {} Session => object(SessionComponent) {} Postman => object(PostmanComponent) {} Purifier => object(PurifierComponent) {} EventType => object(EventType) {} Page => object(Page) {} Event => object(Event) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => 'services-for-professionals' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">CORE/Cake/Routing/Dispatcher.php line 185</a> → <a href="#" onclick="traceToggle(event, 'trace-args-11')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-11" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $render </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">;</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeAction</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span> <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">CakeResponse</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'events/filter/services-for-professionals' base => '' webroot => '/' here => '/events/filter/services-for-professionals' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">CORE/Cake/Routing/Dispatcher.php line 160</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">Dispatcher->_invoke(EventsController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <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 style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-12" class="cake-code-dump" style="display: none;"><pre>object(EventsController) { name => 'Events' uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Events' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Event' modelKey => 'event' validationErrors => null Acl => object(AclComponent) {} Auth => object(AuthComponent) {} Session => object(SessionComponent) {} Postman => object(PostmanComponent) {} Purifier => object(PurifierComponent) {} EventType => object(EventType) {} Page => object(Page) {} Event => object(Event) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'events/filter/services-for-professionals' base => '' webroot => '/' here => '/events/filter/services-for-professionals' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">/home/peatni/app/public_html/index.php line 95</a> → <a href="#" onclick="traceToggle(event, 'trace-args-13')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-13" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">App</span><span style="color: #007700">::</span><span style="color: #0000BB">uses</span><span style="color: #007700">(</span><span style="color: #DD0000">'Dispatcher'</span><span style="color: #007700">, </span><span style="color: #DD0000">'Routing'</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher </span><span style="color: #007700">= new </span><span style="color: #0000BB">Dispatcher</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><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">(new </span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(), new </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'charset' </span><span style="color: #007700">=> </span><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #DD0000">'App.encoding'</span><span style="color: #007700">))));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-13" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'events/filter/services-for-professionals' base => '' webroot => '/' here => '/events/filter/services-for-professionals' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> </ul> <script type="text/javascript"> function traceToggle(event, id) { var el = document.getElementById(id); el.style.display = (el.style.display === 'block') ? 'none' : 'block'; event.preventDefault(); return false; } </script> ', 'scripts_for_layout' => '', 'title_for_layout' => 'Errors' ) $isLoggedIn = (int) 0 $code = (int) 500 $url = '/events/filter/services-for-professionals' $name = 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Event.event_type_' in 'where clause'' $error = object(PDOException) { errorInfo => array( (int) 0 => '42S22', (int) 1 => (int) 1054, (int) 2 => 'Unknown column 'Event.event_type_' in 'where clause'' ) queryString => 'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' [protected] message => 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Event.event_type_' in 'where clause'' [protected] code => '42S22' [protected] file => '/home/peatni/app/private/lib/Cake/Model/Datasource/DboSource.php' [protected] line => (int) 458 } $_serialize = array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name', (int) 3 => 'error' ) $content_for_layout = '<h2>Database Error</h2> <p class="error"> <strong>Error: </strong> SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Event.event_type_' in 'where clause'</p> <p class="notice"> <strong>SQL Query: </strong> SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999 </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: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">setFetchMode</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">FETCH_LAZY</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$query</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> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_results </span><span style="color: #007700">= </span><span style="color: #0000BB">$query</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Model/Datasource/DboSource.php line 424</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->_execute(string, array)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $options </span><span style="color: #007700">+= array(</span><span style="color: #DD0000">'log' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fullDebug</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $t </span><span style="color: #007700">= </span><span style="color: #0000BB">microtime</span><span style="color: #007700">(</span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><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">_execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Datasource/DboSource.php line 665</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">DboSource->execute(string, array, array)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$cache </span><span style="color: #007700">&& (</span><span style="color: #0000BB">$cached </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getQueryCache</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">)) !== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$cached</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <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">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, array(), </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' array() array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Model/Datasource/DboSource.php line 1077</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">DboSource->fetchAll(string, boolean)</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"></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">generateAssociationQuery</span><span style="color: #007700">(</span><span style="color: #0000BB">$model</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 style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">, </span><span style="color: #0000BB">false</span><span style="color: #007700">, </span><span style="color: #0000BB">$null</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $resultSet </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fetchAll</span><span style="color: #007700">(</span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$model</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheQueries</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' false</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Model/Model.php line 2902</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">DboSource->read(Event, array)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return array</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">) {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()-></span><span style="color: #0000BB">read</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></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">resetAssociations</span><span style="color: #007700">();</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>object(Event) { name => 'Event' validate => array([maximum depth reached]) hasMany => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'events' id => false data => array([maximum depth reached]) schemaName => 'peatni_1' table => 'events' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Event' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'all' recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) findMethods => array( [maximum depth reached] ) Attachment => object(Attachment) {} Booking => object(Booking) {} [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } array( 'conditions' => array( 'Event.published' => (int) 1, 'Event.event_start_date >' => '2024-11-20 13:30:43', 'Event.event_end_date >' => '2024-11-20 13:30:43', 'Event.event_type_' => (int) 1 ), 'fields' => null, 'joins' => array(), 'limit' => (int) 999, 'offset' => null, 'order' => array( (int) 0 => 'Event.event_start_date ASC' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'maxLimit' => (int) 999, 'paramType' => 'named' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/Model.php line 2874</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Model->_readDataSource(string, array)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <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">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre>'all' array( 'conditions' => array( 'Event.published' => (int) 1, 'Event.event_start_date >' => '2024-11-20 13:30:43', 'Event.event_end_date >' => '2024-11-20 13:30:43', 'Event.event_type_' => (int) 1 ), 'fields' => null, 'joins' => array(), 'limit' => (int) 999, 'offset' => null, 'order' => array( (int) 0 => 'Event.event_start_date ASC' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'maxLimit' => (int) 999, 'paramType' => 'named' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Controller/Component/PaginatorComponent.php line 196</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Model->find(string, array)</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$recursive </span><span style="color: #007700">!= </span><span style="color: #0000BB">$object</span><span style="color: #007700">-></span><span style="color: #0000BB">recursive</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $parameters</span><span style="color: #007700">[</span><span style="color: #DD0000">'recursive'</span><span style="color: #007700">] = </span><span style="color: #0000BB">$recursive</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$object</span><span style="color: #007700">-></span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$parameters</span><span style="color: #007700">, </span><span style="color: #0000BB">$extra</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>'all' array( 'conditions' => array( 'Event.published' => (int) 1, 'Event.event_start_date >' => '2024-11-20 13:30:43', 'Event.event_end_date >' => '2024-11-20 13:30:43', 'Event.event_type_' => (int) 1 ), 'fields' => null, 'order' => 'Event.event_start_date ASC', 'limit' => (int) 999, 'page' => (int) 1, 'maxLimit' => (int) 999, 'paramType' => 'named' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">CORE/Cake/Controller/Controller.php line 1079</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">PaginatorComponent->paginate(string, array, array)</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">deprecated Will be removed in 3.0</span><span style="color: #007700">. Use </span><span style="color: #0000BB">PaginatorComponent instead</span><span style="color: #007700">.</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">paginate</span><span style="color: #007700">(</span><span style="color: #0000BB">$object </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">$scope </span><span style="color: #007700">= array(), </span><span style="color: #0000BB">$whitelist </span><span style="color: #007700">= array()) {</span></span></code> <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">Components</span><span style="color: #007700">-></span><span style="color: #0000BB">load</span><span style="color: #007700">(</span><span style="color: #DD0000">'Paginator'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">paginate</span><span style="color: #007700">)-></span><span style="color: #0000BB">paginate</span><span style="color: #007700">(</span><span style="color: #0000BB">$object</span><span style="color: #007700">, </span><span style="color: #0000BB">$scope</span><span style="color: #007700">, </span><span style="color: #0000BB">$whitelist</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>'Event' array() array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/EventsController.php line 55</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">Controller->paginate(string)</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'filter'</span><span style="color: #007700">, </span><span style="color: #0000BB">$filter</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'page'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Page</span><span style="color: #007700">-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">null</span><span style="color: #007700">, (int) </span><span style="color: #0000BB">15</span><span style="color: #007700">));</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'events'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">paginate</span><span style="color: #007700">(</span><span style="color: #DD0000">'Event'</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'eventTypes'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">EventType</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventTypes</span><span style="color: #007700">());</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>'Event'</pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">EventsController->index(string)</a> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre>'services-for-professionals'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-10')">CORE/Cake/Controller/Controller.php line 490</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">ReflectionMethod->invokeArgs(EventsController, array)</a> <div id="file-excerpt-10" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'action' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'action'</span><span style="color: #007700">]</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$method</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeArgs</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">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'pass'</span><span style="color: #007700">]);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre>object(EventsController) { name => 'Events' uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Events' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Event' modelKey => 'event' validationErrors => null Acl => object(AclComponent) {} Auth => object(AuthComponent) {} Session => object(SessionComponent) {} Postman => object(PostmanComponent) {} Purifier => object(PurifierComponent) {} EventType => object(EventType) {} Page => object(Page) {} Event => object(Event) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => 'services-for-professionals' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">CORE/Cake/Routing/Dispatcher.php line 185</a> → <a href="#" onclick="traceToggle(event, 'trace-args-11')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-11" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $render </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">;</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeAction</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span> <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">CakeResponse</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'events/filter/services-for-professionals' base => '' webroot => '/' here => '/events/filter/services-for-professionals' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">CORE/Cake/Routing/Dispatcher.php line 160</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">Dispatcher->_invoke(EventsController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <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 style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-12" class="cake-code-dump" style="display: none;"><pre>object(EventsController) { name => 'Events' uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Events' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Event' modelKey => 'event' validationErrors => null Acl => object(AclComponent) {} Auth => object(AuthComponent) {} Session => object(SessionComponent) {} Postman => object(PostmanComponent) {} Purifier => object(PurifierComponent) {} EventType => object(EventType) {} Page => object(Page) {} Event => object(Event) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'events/filter/services-for-professionals' base => '' webroot => '/' here => '/events/filter/services-for-professionals' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">/home/peatni/app/public_html/index.php line 95</a> → <a href="#" onclick="traceToggle(event, 'trace-args-13')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-13" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">App</span><span style="color: #007700">::</span><span style="color: #0000BB">uses</span><span style="color: #007700">(</span><span style="color: #DD0000">'Dispatcher'</span><span style="color: #007700">, </span><span style="color: #DD0000">'Routing'</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher </span><span style="color: #007700">= new </span><span style="color: #0000BB">Dispatcher</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><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">(new </span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(), new </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'charset' </span><span style="color: #007700">=> </span><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #DD0000">'App.encoding'</span><span style="color: #007700">))));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-13" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'events/filter/services-for-professionals' base => '' webroot => '/' here => '/events/filter/services-for-professionals' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> </ul> <script type="text/javascript"> function traceToggle(event, id) { var el = document.getElementById(id); el.style.display = (el.style.display === 'block') ? 'none' : 'block'; event.preventDefault(); return false; } </script> ' $scripts_for_layout = '' $title_for_layout = 'Errors' $countPage = (int) 0include - APP/View/Elements/header.ctp, line 40 View::_evaluate() - CORE/Cake/View/View.php, line 935 View::_render() - CORE/Cake/View/View.php, line 897 View::_renderElement() - CORE/Cake/View/View.php, line 1195 View::element() - CORE/Cake/View/View.php, line 412 include - APP/View/Layouts/default.ctp, line 40 View::_evaluate() - CORE/Cake/View/View.php, line 935 View::_render() - CORE/Cake/View/View.php, line 897 View::renderLayout() - CORE/Cake/View/View.php, line 529 View::render() - CORE/Cake/View/View.php, line 474 Controller::render() - CORE/Cake/Controller/Controller.php, line 952 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 273 ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 262 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 175 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 120 [main] - [internal], line ??
Warning (2): Invalid argument supplied for foreach() [APP/View/Elements/header.ctp, line 40]Code Context
<?php $countPage = 0; ?>
<?php foreach ($mainNavigation as $navigationItem) { ?>
$viewFile = '/home/peatni/app/private/app/View/Elements/header.ctp' $dataForView = array( 'isLoggedIn' => (int) 0, 'code' => (int) 500, 'url' => '/events/filter/services-for-professionals', 'name' => 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Event.event_type_' in 'where clause'', 'error' => object(PDOException) { errorInfo => array( [maximum depth reached] ) queryString => 'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' [protected] message => 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Event.event_type_' in 'where clause'' [protected] code => '42S22' [protected] file => '/home/peatni/app/private/lib/Cake/Model/Datasource/DboSource.php' [protected] line => (int) 458 }, '_serialize' => array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name', (int) 3 => 'error' ), 'content_for_layout' => '<h2>Database Error</h2> <p class="error"> <strong>Error: </strong> SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Event.event_type_' in 'where clause'</p> <p class="notice"> <strong>SQL Query: </strong> SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999 </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: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">setFetchMode</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">FETCH_LAZY</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$query</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> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_results </span><span style="color: #007700">= </span><span style="color: #0000BB">$query</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Model/Datasource/DboSource.php line 424</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->_execute(string, array)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $options </span><span style="color: #007700">+= array(</span><span style="color: #DD0000">'log' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fullDebug</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $t </span><span style="color: #007700">= </span><span style="color: #0000BB">microtime</span><span style="color: #007700">(</span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><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">_execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Datasource/DboSource.php line 665</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">DboSource->execute(string, array, array)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$cache </span><span style="color: #007700">&& (</span><span style="color: #0000BB">$cached </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getQueryCache</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">)) !== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$cached</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <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">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, array(), </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' array() array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Model/Datasource/DboSource.php line 1077</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">DboSource->fetchAll(string, boolean)</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"></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">generateAssociationQuery</span><span style="color: #007700">(</span><span style="color: #0000BB">$model</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 style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">, </span><span style="color: #0000BB">false</span><span style="color: #007700">, </span><span style="color: #0000BB">$null</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $resultSet </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fetchAll</span><span style="color: #007700">(</span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$model</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheQueries</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' false</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Model/Model.php line 2902</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">DboSource->read(Event, array)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return array</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">) {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()-></span><span style="color: #0000BB">read</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></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">resetAssociations</span><span style="color: #007700">();</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>object(Event) { name => 'Event' validate => array([maximum depth reached]) hasMany => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'events' id => false data => array([maximum depth reached]) schemaName => 'peatni_1' table => 'events' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Event' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'all' recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) findMethods => array( [maximum depth reached] ) Attachment => object(Attachment) {} Booking => object(Booking) {} [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } array( 'conditions' => array( 'Event.published' => (int) 1, 'Event.event_start_date >' => '2024-11-20 13:30:43', 'Event.event_end_date >' => '2024-11-20 13:30:43', 'Event.event_type_' => (int) 1 ), 'fields' => null, 'joins' => array(), 'limit' => (int) 999, 'offset' => null, 'order' => array( (int) 0 => 'Event.event_start_date ASC' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'maxLimit' => (int) 999, 'paramType' => 'named' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/Model.php line 2874</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Model->_readDataSource(string, array)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <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">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre>'all' array( 'conditions' => array( 'Event.published' => (int) 1, 'Event.event_start_date >' => '2024-11-20 13:30:43', 'Event.event_end_date >' => '2024-11-20 13:30:43', 'Event.event_type_' => (int) 1 ), 'fields' => null, 'joins' => array(), 'limit' => (int) 999, 'offset' => null, 'order' => array( (int) 0 => 'Event.event_start_date ASC' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'maxLimit' => (int) 999, 'paramType' => 'named' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Controller/Component/PaginatorComponent.php line 196</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Model->find(string, array)</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$recursive </span><span style="color: #007700">!= </span><span style="color: #0000BB">$object</span><span style="color: #007700">-></span><span style="color: #0000BB">recursive</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $parameters</span><span style="color: #007700">[</span><span style="color: #DD0000">'recursive'</span><span style="color: #007700">] = </span><span style="color: #0000BB">$recursive</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$object</span><span style="color: #007700">-></span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$parameters</span><span style="color: #007700">, </span><span style="color: #0000BB">$extra</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>'all' array( 'conditions' => array( 'Event.published' => (int) 1, 'Event.event_start_date >' => '2024-11-20 13:30:43', 'Event.event_end_date >' => '2024-11-20 13:30:43', 'Event.event_type_' => (int) 1 ), 'fields' => null, 'order' => 'Event.event_start_date ASC', 'limit' => (int) 999, 'page' => (int) 1, 'maxLimit' => (int) 999, 'paramType' => 'named' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">CORE/Cake/Controller/Controller.php line 1079</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">PaginatorComponent->paginate(string, array, array)</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">deprecated Will be removed in 3.0</span><span style="color: #007700">. Use </span><span style="color: #0000BB">PaginatorComponent instead</span><span style="color: #007700">.</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">paginate</span><span style="color: #007700">(</span><span style="color: #0000BB">$object </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">$scope </span><span style="color: #007700">= array(), </span><span style="color: #0000BB">$whitelist </span><span style="color: #007700">= array()) {</span></span></code> <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">Components</span><span style="color: #007700">-></span><span style="color: #0000BB">load</span><span style="color: #007700">(</span><span style="color: #DD0000">'Paginator'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">paginate</span><span style="color: #007700">)-></span><span style="color: #0000BB">paginate</span><span style="color: #007700">(</span><span style="color: #0000BB">$object</span><span style="color: #007700">, </span><span style="color: #0000BB">$scope</span><span style="color: #007700">, </span><span style="color: #0000BB">$whitelist</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>'Event' array() array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/EventsController.php line 55</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">Controller->paginate(string)</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'filter'</span><span style="color: #007700">, </span><span style="color: #0000BB">$filter</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'page'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Page</span><span style="color: #007700">-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">null</span><span style="color: #007700">, (int) </span><span style="color: #0000BB">15</span><span style="color: #007700">));</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'events'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">paginate</span><span style="color: #007700">(</span><span style="color: #DD0000">'Event'</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'eventTypes'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">EventType</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventTypes</span><span style="color: #007700">());</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>'Event'</pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">EventsController->index(string)</a> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre>'services-for-professionals'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-10')">CORE/Cake/Controller/Controller.php line 490</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">ReflectionMethod->invokeArgs(EventsController, array)</a> <div id="file-excerpt-10" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'action' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'action'</span><span style="color: #007700">]</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$method</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeArgs</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">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'pass'</span><span style="color: #007700">]);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre>object(EventsController) { name => 'Events' uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Events' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Event' modelKey => 'event' validationErrors => null Acl => object(AclComponent) {} Auth => object(AuthComponent) {} Session => object(SessionComponent) {} Postman => object(PostmanComponent) {} Purifier => object(PurifierComponent) {} EventType => object(EventType) {} Page => object(Page) {} Event => object(Event) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => 'services-for-professionals' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">CORE/Cake/Routing/Dispatcher.php line 185</a> → <a href="#" onclick="traceToggle(event, 'trace-args-11')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-11" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $render </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">;</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeAction</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span> <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">CakeResponse</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'events/filter/services-for-professionals' base => '' webroot => '/' here => '/events/filter/services-for-professionals' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">CORE/Cake/Routing/Dispatcher.php line 160</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">Dispatcher->_invoke(EventsController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <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 style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-12" class="cake-code-dump" style="display: none;"><pre>object(EventsController) { name => 'Events' uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Events' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Event' modelKey => 'event' validationErrors => null Acl => object(AclComponent) {} Auth => object(AuthComponent) {} Session => object(SessionComponent) {} Postman => object(PostmanComponent) {} Purifier => object(PurifierComponent) {} EventType => object(EventType) {} Page => object(Page) {} Event => object(Event) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'events/filter/services-for-professionals' base => '' webroot => '/' here => '/events/filter/services-for-professionals' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">/home/peatni/app/public_html/index.php line 95</a> → <a href="#" onclick="traceToggle(event, 'trace-args-13')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-13" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">App</span><span style="color: #007700">::</span><span style="color: #0000BB">uses</span><span style="color: #007700">(</span><span style="color: #DD0000">'Dispatcher'</span><span style="color: #007700">, </span><span style="color: #DD0000">'Routing'</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher </span><span style="color: #007700">= new </span><span style="color: #0000BB">Dispatcher</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><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">(new </span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(), new </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'charset' </span><span style="color: #007700">=> </span><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #DD0000">'App.encoding'</span><span style="color: #007700">))));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-13" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'events/filter/services-for-professionals' base => '' webroot => '/' here => '/events/filter/services-for-professionals' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> </ul> <script type="text/javascript"> function traceToggle(event, id) { var el = document.getElementById(id); el.style.display = (el.style.display === 'block') ? 'none' : 'block'; event.preventDefault(); return false; } </script> ', 'scripts_for_layout' => '', 'title_for_layout' => 'Errors' ) $isLoggedIn = (int) 0 $code = (int) 500 $url = '/events/filter/services-for-professionals' $name = 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Event.event_type_' in 'where clause'' $error = object(PDOException) { errorInfo => array( (int) 0 => '42S22', (int) 1 => (int) 1054, (int) 2 => 'Unknown column 'Event.event_type_' in 'where clause'' ) queryString => 'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' [protected] message => 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Event.event_type_' in 'where clause'' [protected] code => '42S22' [protected] file => '/home/peatni/app/private/lib/Cake/Model/Datasource/DboSource.php' [protected] line => (int) 458 } $_serialize = array( (int) 0 => 'code', (int) 1 => 'url', (int) 2 => 'name', (int) 3 => 'error' ) $content_for_layout = '<h2>Database Error</h2> <p class="error"> <strong>Error: </strong> SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Event.event_type_' in 'where clause'</p> <p class="notice"> <strong>SQL Query: </strong> SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999 </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: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">setFetchMode</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">FETCH_LAZY</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$query</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> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_results </span><span style="color: #007700">= </span><span style="color: #0000BB">$query</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre>array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Model/Datasource/DboSource.php line 424</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->_execute(string, array)</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $options </span><span style="color: #007700">+= array(</span><span style="color: #DD0000">'log' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fullDebug</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $t </span><span style="color: #007700">= </span><span style="color: #0000BB">microtime</span><span style="color: #007700">(</span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><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">_execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre>'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Datasource/DboSource.php line 665</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">DboSource->execute(string, array, array)</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$cache </span><span style="color: #007700">&& (</span><span style="color: #0000BB">$cached </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getQueryCache</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">)) !== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$cached</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <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">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, array(), </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre>'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' array() array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Model/Datasource/DboSource.php line 1077</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">DboSource->fetchAll(string, boolean)</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"></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">generateAssociationQuery</span><span style="color: #007700">(</span><span style="color: #0000BB">$model</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 style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">, </span><span style="color: #0000BB">false</span><span style="color: #007700">, </span><span style="color: #0000BB">$null</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $resultSet </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fetchAll</span><span style="color: #007700">(</span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$model</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheQueries</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre>'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' false</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Model/Model.php line 2902</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">DboSource->read(Event, array)</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return array</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">) {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()-></span><span style="color: #0000BB">read</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></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">resetAssociations</span><span style="color: #007700">();</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre>object(Event) { name => 'Event' validate => array([maximum depth reached]) hasMany => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'events' id => false data => array([maximum depth reached]) schemaName => 'peatni_1' table => 'events' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Event' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'all' recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) findMethods => array( [maximum depth reached] ) Attachment => object(Attachment) {} Booking => object(Booking) {} [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } array( 'conditions' => array( 'Event.published' => (int) 1, 'Event.event_start_date >' => '2024-11-20 13:30:43', 'Event.event_end_date >' => '2024-11-20 13:30:43', 'Event.event_type_' => (int) 1 ), 'fields' => null, 'joins' => array(), 'limit' => (int) 999, 'offset' => null, 'order' => array( (int) 0 => 'Event.event_start_date ASC' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'maxLimit' => (int) 999, 'paramType' => 'named' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/Model.php line 2874</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Model->_readDataSource(string, array)</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <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">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre>'all' array( 'conditions' => array( 'Event.published' => (int) 1, 'Event.event_start_date >' => '2024-11-20 13:30:43', 'Event.event_end_date >' => '2024-11-20 13:30:43', 'Event.event_type_' => (int) 1 ), 'fields' => null, 'joins' => array(), 'limit' => (int) 999, 'offset' => null, 'order' => array( (int) 0 => 'Event.event_start_date ASC' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'maxLimit' => (int) 999, 'paramType' => 'named' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">CORE/Cake/Controller/Component/PaginatorComponent.php line 196</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Model->find(string, array)</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$recursive </span><span style="color: #007700">!= </span><span style="color: #0000BB">$object</span><span style="color: #007700">-></span><span style="color: #0000BB">recursive</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $parameters</span><span style="color: #007700">[</span><span style="color: #DD0000">'recursive'</span><span style="color: #007700">] = </span><span style="color: #0000BB">$recursive</span><span style="color: #007700">;</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$object</span><span style="color: #007700">-></span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$parameters</span><span style="color: #007700">, </span><span style="color: #0000BB">$extra</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre>'all' array( 'conditions' => array( 'Event.published' => (int) 1, 'Event.event_start_date >' => '2024-11-20 13:30:43', 'Event.event_end_date >' => '2024-11-20 13:30:43', 'Event.event_type_' => (int) 1 ), 'fields' => null, 'order' => 'Event.event_start_date ASC', 'limit' => (int) 999, 'page' => (int) 1, 'maxLimit' => (int) 999, 'paramType' => 'named' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">CORE/Cake/Controller/Controller.php line 1079</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">PaginatorComponent->paginate(string, array, array)</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @</span><span style="color: #0000BB">deprecated Will be removed in 3.0</span><span style="color: #007700">. Use </span><span style="color: #0000BB">PaginatorComponent instead</span><span style="color: #007700">.</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">paginate</span><span style="color: #007700">(</span><span style="color: #0000BB">$object </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">, </span><span style="color: #0000BB">$scope </span><span style="color: #007700">= array(), </span><span style="color: #0000BB">$whitelist </span><span style="color: #007700">= array()) {</span></span></code> <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">Components</span><span style="color: #007700">-></span><span style="color: #0000BB">load</span><span style="color: #007700">(</span><span style="color: #DD0000">'Paginator'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">paginate</span><span style="color: #007700">)-></span><span style="color: #0000BB">paginate</span><span style="color: #007700">(</span><span style="color: #0000BB">$object</span><span style="color: #007700">, </span><span style="color: #0000BB">$scope</span><span style="color: #007700">, </span><span style="color: #0000BB">$whitelist</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre>'Event' array() array()</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Controller/EventsController.php line 55</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">Controller->paginate(string)</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'filter'</span><span style="color: #007700">, </span><span style="color: #0000BB">$filter</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'page'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Page</span><span style="color: #007700">-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">null</span><span style="color: #007700">, (int) </span><span style="color: #0000BB">15</span><span style="color: #007700">));</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'events'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">paginate</span><span style="color: #007700">(</span><span style="color: #DD0000">'Event'</span><span style="color: #007700">));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">set</span><span style="color: #007700">(</span><span style="color: #DD0000">'eventTypes'</span><span style="color: #007700">, </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">EventType</span><span style="color: #007700">-></span><span style="color: #0000BB">getEventTypes</span><span style="color: #007700">());</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre>'Event'</pre></div></li> <li><a href="#">[internal function]</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">EventsController->index(string)</a> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre>'services-for-professionals'</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-10')">CORE/Cake/Controller/Controller.php line 490</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">ReflectionMethod->invokeArgs(EventsController, array)</a> <div id="file-excerpt-10" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'action' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'action'</span><span style="color: #007700">]</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$method</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeArgs</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">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'pass'</span><span style="color: #007700">]);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre>object(EventsController) { name => 'Events' uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Events' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Event' modelKey => 'event' validationErrors => null Acl => object(AclComponent) {} Auth => object(AuthComponent) {} Session => object(SessionComponent) {} Postman => object(PostmanComponent) {} Purifier => object(PurifierComponent) {} EventType => object(EventType) {} Page => object(Page) {} Event => object(Event) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => 'services-for-professionals' )</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">CORE/Cake/Routing/Dispatcher.php line 185</a> → <a href="#" onclick="traceToggle(event, 'trace-args-11')">Controller->invokeAction(CakeRequest)</a> <div id="file-excerpt-11" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $controller</span><span style="color: #007700">-></span><span style="color: #0000BB">startupProcess</span><span style="color: #007700">();</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $render </span><span style="color: #007700">= </span><span style="color: #0000BB">true</span><span style="color: #007700">;</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$controller</span><span style="color: #007700">-></span><span style="color: #0000BB">invokeAction</span><span style="color: #007700">(</span><span style="color: #0000BB">$request</span><span style="color: #007700">);</span></span></code></span> <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">CakeResponse</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'events/filter/services-for-professionals' base => '' webroot => '/' here => '/events/filter/services-for-professionals' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">CORE/Cake/Routing/Dispatcher.php line 160</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">Dispatcher->_invoke(EventsController, CakeRequest, CakeResponse)</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">));</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <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 style="color: #0000BB">$request</span><span style="color: #007700">, </span><span style="color: #0000BB">$response</span><span style="color: #007700">);</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (isset(</span><span style="color: #0000BB">$request</span><span style="color: #007700">-></span><span style="color: #0000BB">params</span><span style="color: #007700">[</span><span style="color: #DD0000">'return'</span><span style="color: #007700">])) {</span></span></code></pre></div> <div id="trace-args-12" class="cake-code-dump" style="display: none;"><pre>object(EventsController) { name => 'Events' uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Events' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Event' modelKey => 'event' validationErrors => null Acl => object(AclComponent) {} Auth => object(AuthComponent) {} Session => object(SessionComponent) {} Postman => object(PostmanComponent) {} Purifier => object(PurifierComponent) {} EventType => object(EventType) {} Page => object(Page) {} Event => object(Event) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'events/filter/services-for-professionals' base => '' webroot => '/' here => '/events/filter/services-for-professionals' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> <li><a href="#" onclick="traceToggle(event, 'file-excerpt-13')">/home/peatni/app/public_html/index.php line 95</a> → <a href="#" onclick="traceToggle(event, 'trace-args-13')">Dispatcher->dispatch(CakeRequest, CakeResponse)</a> <div id="file-excerpt-13" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB">App</span><span style="color: #007700">::</span><span style="color: #0000BB">uses</span><span style="color: #007700">(</span><span style="color: #DD0000">'Dispatcher'</span><span style="color: #007700">, </span><span style="color: #DD0000">'Routing'</span><span style="color: #007700">);</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code> <code><span style="color: #000000"><span style="color: #0000BB">$Dispatcher </span><span style="color: #007700">= new </span><span style="color: #0000BB">Dispatcher</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><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">(new </span><span style="color: #0000BB">CakeRequest</span><span style="color: #007700">(), new </span><span style="color: #0000BB">CakeResponse</span><span style="color: #007700">(array(</span><span style="color: #DD0000">'charset' </span><span style="color: #007700">=> </span><span style="color: #0000BB">Configure</span><span style="color: #007700">::</span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #DD0000">'App.encoding'</span><span style="color: #007700">))));</span></span></code></span> <code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-13" class="cake-code-dump" style="display: none;"><pre>object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'events/filter/services-for-professionals' base => '' webroot => '/' here => '/events/filter/services-for-professionals' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }</pre></div></li> </ul> <script type="text/javascript"> function traceToggle(event, id) { var el = document.getElementById(id); el.style.display = (el.style.display === 'block') ? 'none' : 'block'; event.preventDefault(); return false; } </script> ' $scripts_for_layout = '' $title_for_layout = 'Errors' $countPage = (int) 0include - APP/View/Elements/header.ctp, line 40 View::_evaluate() - CORE/Cake/View/View.php, line 935 View::_render() - CORE/Cake/View/View.php, line 897 View::_renderElement() - CORE/Cake/View/View.php, line 1195 View::element() - CORE/Cake/View/View.php, line 412 include - APP/View/Layouts/default.ctp, line 40 View::_evaluate() - CORE/Cake/View/View.php, line 935 View::_render() - CORE/Cake/View/View.php, line 897 View::renderLayout() - CORE/Cake/View/View.php, line 529 View::render() - CORE/Cake/View/View.php, line 474 Controller::render() - CORE/Cake/Controller/Controller.php, line 952 ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 273 ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 262 ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 175 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 120 [main] - [internal], line ??
Error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Event.event_type_' in 'where clause'
SQL Query: SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999
Notice: If you want to customize this error message, create app/View/Errors/pdo_error.ctp
try {
$query = $this->_connection->prepare($sql, $prepareOptions);
$query->setFetchMode(PDO::FETCH_LAZY);
if (!$query->execute($params)) {
$this->_results = $query;
array()
$options += array('log' => $this->fullDebug);
$t = microtime(true);
$this->_result = $this->_execute($sql, $params);
'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' array()
if ($cache && ($cached = $this->getQueryCache($sql, $params)) !== false) {
return $cached;
}
$result = $this->execute($sql, array(), $params);
if ($result) {
'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' array() array()
$query = $this->generateAssociationQuery($model, null, null, null, null, $queryData, false, $null);
$resultSet = $this->fetchAll($query, $model->cacheQueries);
'SELECT `Event`.`id`, `Event`.`title`, `Event`.`url`, `Event`.`intro`, `Event`.`content`, `Event`.`spaces`, `Event`.`published`, `Event`.`event_type_1`, `Event`.`event_type_2`, `Event`.`event_type_3`, `Event`.`event_type_4`, `Event`.`event_type_5`, `Event`.`event_start_date`, `Event`.`event_end_date`, `Event`.`location`, `Event`.`event_price`, `Event`.`created`, `Event`.`modified` FROM `peatni_1`.`events` AS `Event` WHERE `Event`.`published` = '1' AND `Event`.`event_start_date` > '2024-11-20 13:30:43' AND `Event`.`event_end_date` > '2024-11-20 13:30:43' AND `Event`.`event_type_` = 1 ORDER BY `Event`.`event_start_date` ASC LIMIT 999' false
* @return array
*/
protected function _readDataSource($type, $query) {
$results = $this->getDataSource()->read($this, $query);
$this->resetAssociations();
object(Event) { name => 'Event' validate => array([maximum depth reached]) hasMany => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'events' id => false data => array([maximum depth reached]) schemaName => 'peatni_1' table => 'events' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Event' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'all' recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) findMethods => array( [maximum depth reached] ) Attachment => object(Attachment) {} Booking => object(Booking) {} [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } array( 'conditions' => array( 'Event.published' => (int) 1, 'Event.event_start_date >' => '2024-11-20 13:30:43', 'Event.event_end_date >' => '2024-11-20 13:30:43', 'Event.event_type_' => (int) 1 ), 'fields' => null, 'joins' => array(), 'limit' => (int) 999, 'offset' => null, 'order' => array( (int) 0 => 'Event.event_start_date ASC' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'maxLimit' => (int) 999, 'paramType' => 'named' )
return null;
}
return $this->_readDataSource($type, $query);
}
'all' array( 'conditions' => array( 'Event.published' => (int) 1, 'Event.event_start_date >' => '2024-11-20 13:30:43', 'Event.event_end_date >' => '2024-11-20 13:30:43', 'Event.event_type_' => (int) 1 ), 'fields' => null, 'joins' => array(), 'limit' => (int) 999, 'offset' => null, 'order' => array( (int) 0 => 'Event.event_start_date ASC' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'maxLimit' => (int) 999, 'paramType' => 'named' )
if ($recursive != $object->recursive) {
$parameters['recursive'] = $recursive;
}
$results = $object->find($type, array_merge($parameters, $extra));
}
'all' array( 'conditions' => array( 'Event.published' => (int) 1, 'Event.event_start_date >' => '2024-11-20 13:30:43', 'Event.event_end_date >' => '2024-11-20 13:30:43', 'Event.event_type_' => (int) 1 ), 'fields' => null, 'order' => 'Event.event_start_date ASC', 'limit' => (int) 999, 'page' => (int) 1, 'maxLimit' => (int) 999, 'paramType' => 'named' )
* @deprecated Will be removed in 3.0. Use PaginatorComponent instead.
*/
public function paginate($object = null, $scope = array(), $whitelist = array()) {
return $this->Components->load('Paginator', $this->paginate)->paginate($object, $scope, $whitelist);
}
'Event' array() array()
$this->set('filter', $filter);
$this->set('page', $this->Page->read(null, (int) 15));
$this->set('events', $this->paginate('Event'));
$this->set('eventTypes', $this->EventType->getEventTypes());
'Event'
'services-for-professionals'
'action' => $request->params['action']
));
}
return $method->invokeArgs($this, $request->params['pass']);
object(EventsController) { name => 'Events' uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Events' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Event' modelKey => 'event' validationErrors => null Acl => object(AclComponent) {} Auth => object(AuthComponent) {} Session => object(SessionComponent) {} Postman => object(PostmanComponent) {} Purifier => object(PurifierComponent) {} EventType => object(EventType) {} Page => object(Page) {} Event => object(Event) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array( (int) 0 => 'services-for-professionals' )
$controller->startupProcess();
$render = true;
$result = $controller->invokeAction($request);
if ($result instanceof CakeResponse) {
object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'events/filter/services-for-professionals' base => '' webroot => '/' here => '/events/filter/services-for-professionals' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' }
));
}
$response = $this->_invoke($controller, $request, $response);
if (isset($request->params['return'])) {
object(EventsController) { name => 'Events' uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} viewPath => 'Events' layoutPath => null viewVars => array( [maximum depth reached] ) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) {} viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( [maximum depth reached] ) scaffold => false methods => array( [maximum depth reached] ) modelClass => 'Event' modelKey => 'event' validationErrors => null Acl => object(AclComponent) {} Auth => object(AuthComponent) {} Session => object(SessionComponent) {} Postman => object(PostmanComponent) {} Purifier => object(PurifierComponent) {} EventType => object(EventType) {} Page => object(Page) {} Event => object(Event) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'events/filter/services-for-professionals' base => '' webroot => '/' here => '/events/filter/services-for-professionals' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }
App::uses('Dispatcher', 'Routing');
$Dispatcher = new Dispatcher();
$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));
object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'events/filter/services-for-professionals' base => '' webroot => '/' here => '/events/filter/services-for-professionals' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }