Things to Do

Browse All Collections

Database_Exception [ 0 ]: [1054] Unknown column 'places_id' in 'on clause' ( SELECT group_concat(tp.thing_id) AS `thingids`, `place`.`id` AS `id`, `place`.`user_id` AS `user_id`, `place`.`gPlaceId` AS `gPlaceId`, `place`.`title` AS `title`, `place`.`latitude` AS `latitude`, `place`.`longitude` AS `longitude`, `place`.`coordinates` AS `coordinates`, `place`.`streetNumber` AS `streetNumber`, `place`.`street` AS `street`, `place`.`postcode` AS `postcode`, `place`.`suburb` AS `suburb`, `place`.`state` AS `state`, `place`.`country` AS `country`, `place`.`formattedAddress` AS `formattedAddress`, `place`.`modified` AS `modified`, `place`.`created` AS `created`, `place`.`status` AS `status` FROM `places` AS `place` LEFT JOIN `things_places` AS `tp` ON (`id` = `places_id`) WHERE `status` = 'active' AND `postcode` = '2010' LIMIT 1 )

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

106 			{
107 				// This benchmark is worthless
108 				Profiler::delete($benchmark);
109 			}
110 
111 			throw new Database_Exception('[:errno] :error ( :query )', array(
112 				':error' => $this->_connection->error,
113 				':errno' => $this->_connection->errno,
114 				':query' => $sql));
115 		}
116 
  1. MODPATH/database/classes/Kohana/Database/Query.php [ 251 ] » Kohana_Database_MySQLi->query(arguments)

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

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

  4. APPPATH/classes/Model/Collection.php [ 170 ] » Kohana_ORM->find()

  5. APPPATH/classes/Model/Collection.php [ 365 ] » Model_Collection->get_things()

  6. APPPATH/views/partials/listing-collection.php [ 22 ] » Model_Collection->total_things()

  7. SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)

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

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

  10. APPPATH/classes/Controller/Collections.php [ 57 ] » Kohana_View->__toString()

  11. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Collections->action_index()

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

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

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

  15. SYSPATH/classes/Kohana/Request.php [ 990 ] » Kohana_Request_Client->execute(arguments)

  16. DOCROOT/index.php [ 118 ] » Kohana_Request->execute()

Environment