System error – Tolk CMS
1064
Database_Exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND `dshybrid`.`published` = '1' ORDER BY `created_on` DESC LIMIT 4 OFFSET 0' at line 1 [ SELECT `dshybrid`.`id` AS `id` FROM `dshybrid` JOIN `dscategory_documents` ON (`dscategory_documents`.`document_id` = `dshybrid`.`id`) WHERE `dscategory_documents`.`field_id` = '105' AND `dscategory_documents`.`category_id` IN () AND `dshybrid`.`published` = '1' ORDER BY `created_on` DESC LIMIT 4 OFFSET 0 ]


MODPATH/database/classes/kohana/database/mysqli.php 174
169 			{
170 				// This benchmark is worthless
171 				Profiler::delete($benchmark);
172 			}
173 
174 			throw new Database_Exception(':error [ :query ]',
175 				array(':error' => mysqli_error($this->_connection), ':query' => $sql),
176 				mysqli_errno($this->_connection));
177 		}
178 
179 		if (isset($benchmark))
DOCROOT/snippets/tizers_category.php 3 » Model_Tolk_Documents::load_category(arguments)
SYSPATH/classes/kohana/view.php 228 » Kohana_View->render()
MODPATH/widget/classes/block.php 63 » Model_Widget_Decorator->render()
SYSPATH/classes/kohana/view.php 228 » Kohana_View->render()
SYSPATH/classes/kohana/controller.php 84 » KodiCMS_Controller_Front->action_index()
{PHP internal call} » Kohana_Controller->execute()