DboSource::conditionKeysToString() - CORE/cake/libs/model/datasources/dbo_source.php, line 1812
DboSource::conditionKeysToString() - CORE/cake/libs/model/datasources/dbo_source.php, line 1833
DboSource::conditions() - CORE/cake/libs/model/datasources/dbo_source.php, line 1772
DboSource::buildStatement() - CORE/cake/libs/model/datasources/dbo_source.php, line 1274
DboSource::generateAssociationQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 1073
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 653
Model::find() - CORE/cake/libs/model/model.php, line 2031
Controller::paginate() - CORE/cake/libs/controller/controller.php, line 1077
PeopleController::show_resolved() - APP/controllers/people_controller.php, line 543
Object::dispatchMethod() - CORE/cake/libs/object.php, line 116
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 88
Notice (8): Undefined offset: 0 [CORE/cake/libs/model/datasources/dbo_source.php, line 1846]
DboSource::conditionKeysToString() - CORE/cake/libs/model/datasources/dbo_source.php, line 1846
DboSource::conditions() - CORE/cake/libs/model/datasources/dbo_source.php, line 1772
DboSource::buildStatement() - CORE/cake/libs/model/datasources/dbo_source.php, line 1274
DboSource::generateAssociationQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 1073
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 653
Model::find() - CORE/cake/libs/model/model.php, line 2031
Controller::paginate() - CORE/cake/libs/controller/controller.php, line 1077
PeopleController::show_resolved() - APP/controllers/people_controller.php, line 543
Object::dispatchMethod() - CORE/cake/libs/object.php, line 116
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 88
Warning (512): SQL Error: 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 '' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 527]
$sql = "SELECT COUNT(*) AS `count` FROM `entities` AS `Entity` LEFT JOIN `people` AS `Person` ON (`Person`.`entity_id` = `Entity`.`id`) WHERE `Person`.`resolved` = 1 AND "
$error = "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 '' at line 1"
$out = null
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 527
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 203
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 338
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 655
Model::find() - CORE/cake/libs/model/model.php, line 2031
Controller::paginate() - CORE/cake/libs/controller/controller.php, line 1077
PeopleController::show_resolved() - APP/controllers/people_controller.php, line 543
Object::dispatchMethod() - CORE/cake/libs/object.php, line 116
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 88
Query: SELECT COUNT(*) AS `count` FROM `entities` AS `Entity` LEFT JOIN `people` AS `Person` ON (`Person`.`entity_id` = `Entity`.`id`) WHERE `Person`.`resolved` = 1 AND
Warning (512): SQL Error: 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 `Person`.`complete_name` asc LIMIT 10' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 527]
$sql = "SELECT `Person`.`id`, `Person`.`thumb_photo`, `Person`.`complete_name`, `Person`.`father_name`, `Person`.`mother_name`, `Person`.`birthday_date`, `Person`.`birthday_city`, `Person`.`birthday_state`, `Person`.`resolved`, `Person`.`resolved_when`, `Person`.`resolved_comments`, `Person`.`created`, `Person`.`updated`, `Entity`.`id` FROM `entities` AS `Entity` LEFT JOIN `people` AS `Person` ON (`Person`.`entity_id` = `Entity`.`id`) WHERE `Person`.`resolved` = 1 AND ORDER BY `Person`.`complete_name` asc LIMIT 10"
$error = "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 `Person`.`complete_name` asc LIMIT 10' at line 1"
$out = null
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 527
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 203
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 338
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 655
Model::find() - CORE/cake/libs/model/model.php, line 2031
Controller::paginate() - CORE/cake/libs/controller/controller.php, line 1095
PeopleController::show_resolved() - APP/controllers/people_controller.php, line 543
Object::dispatchMethod() - CORE/cake/libs/object.php, line 116
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 88
Query: SELECT `Person`.`id`, `Person`.`thumb_photo`, `Person`.`complete_name`, `Person`.`father_name`, `Person`.`mother_name`, `Person`.`birthday_date`, `Person`.`birthday_city`, `Person`.`birthday_state`, `Person`.`resolved`, `Person`.`resolved_when`, `Person`.`resolved_comments`, `Person`.`created`, `Person`.`updated`, `Entity`.`id` FROM `entities` AS `Entity` LEFT JOIN `people` AS `Person` ON (`Person`.`entity_id` = `Entity`.`id`) WHERE `Person`.`resolved` = 1 AND ORDER BY `Person`.`complete_name` asc LIMIT 10
Estou Aqui - Pessoas encontradas - Prefeitura da Cidade de São Paulo