[[header]]

Database_Exception [ 1064 ]: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'LIMIT 1' at line 1 [ SELECT c.*, ca.`article`, ca.`category` FROM `category` c JOIN `category_article` ca ON ca.`category` = c.`id` WHERE ca.`article` = LIMIT 1 ]

MODPATH/database/classes/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))
  1. MODPATH/database/classes/kohana/database/query.php [ 245 ] » Database_MySQLi->query(arguments)

  2. APPPATH/classes/block/anwil/read.php [ 13 ] » Kohana_Database_Query->execute()

  3. APPPATH/views/themes/anwil/read.php [ 5 ] » Block_Anwil_Read->currentCategory()

  4. MODPATH/septen_theme/classes/septen/block.php [ 40 ] » include(arguments)

  5. MODPATH/septen_theme/classes/septen/theme/compiler.php [ 171 ] » Septen_Block->render()

  6. APPPATH/classes/controller/welcome.php [ 43 ] » Septen_Theme_Compiler->getView()

  7. {PHP internal call} » Controller_Welcome->action_read_article()

  8. SYSPATH/classes/kohana/request/client/internal.php [ 116 ] » ReflectionMethod->invoke(arguments)

  9. SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  10. SYSPATH/classes/kohana/request.php [ 1154 ] » Kohana_Request_Client->execute(arguments)

  11. DOCROOT/index.php [ 110 ] » Kohana_Request->execute()

Environment