Database_Exception [ 1064 ]: 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 ') ORDER BY `musico`.`ordem` ASC' at line 1 [ SELECT `musico`.`id` AS `id`, `musico`.`ordem` AS `ordem`, `musico`.`nome` AS `nome`, `musico`.`foto` AS `foto`, `musico`.`texto` AS `texto`, `musico`.`texto_en` AS `texto_en`, `musico`.`texto_es` AS `texto_es` FROM `musicos` AS `musico` WHERE `id` IN () ORDER BY `musico`.`ordem` ASC ]

MODPATH/database/classes/Kohana/Database/MySQLi.php [ 171 ]

166 			{
167 				// This benchmark is worthless
168 				Profiler::delete($benchmark);
169 			}
170 
171 			throw new Database_Exception(':error [ :query ]', array(
172 				':error' => $this->_connection->error,
173 				':query' => $sql
174 			), $this->_connection->errno);
175 		}
176 
  1. MODPATH/database/classes/Kohana/Database/Query.php [ 251 ] » Kohana_Database_MySQLi->query(arguments)

  2. MODPATH/orm/classes/Kohana/ORM.php [ 1210 ] » Kohana_Database_Query->execute(arguments)

  3. MODPATH/orm/classes/Kohana/ORM.php [ 1151 ] » Kohana_ORM->_load_result(arguments)

  4. APPPATH/views/conteudo/track.php [ 13 ] » Kohana_ORM->find_all()

  5. SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)

  6. SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)

  7. SYSPATH/classes/Kohana/View.php [ 236 ] » Kohana_View->render()

  8. APPPATH/views/template.php [ 5 ] » Kohana_View->__toString()

  9. SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)

  10. SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)

  11. SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()

  12. APPPATH/classes/Controller/Website.php [ 48 ] » Kohana_Controller_Template->after()

  13. SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Website->after()

  14. {PHP internal call} » Kohana_Controller->execute()

  15. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)

  16. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  17. MODPATH/multilang/classes/Multilang/Request.php [ 195 ] » Kohana_Request_Client->execute(arguments)

  18. DOCROOT/index.php [ 118 ] » Multilang_Request->execute()

Environment