$sql = "SELECT `Page`.`parent_id`, `Page`.`id`, `Page`.`address`, `Page`.`url`, `Page`.`title`, `Page`.`no_content`, `Page`.`top_menu`, `Page`.`bottom_menu`, `Page`.`publish`, `Page`.`link` FROM `pages` AS `Page` WHERE `active` = 1 ORDER BY `lft` ASC "
$error = "1054: Unknown column 'active' in 'where clause'"
$out = null
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 681
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 266
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 410
DboSource::read() - CORE/cake/libs/model/datasources/dbo_source.php, line 820
Model::find() - CORE/cake/libs/model/model.php, line 2112
Page::getMenuPages() - APP/models/page.php, line 71
PagesController::sitemap() - APP/controllers/pages_controller.php, line 77
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - CORE/htdocs/index.php, line 107
Query: SELECT `Page`.`parent_id`, `Page`.`id`, `Page`.`address`, `Page`.`url`, `Page`.`title`, `Page`.`no_content`, `Page`.`top_menu`, `Page`.`bottom_menu`, `Page`.`publish`, `Page`.`link` FROM `pages` AS `Page` WHERE `active` = 1 ORDER BY `lft` ASC
Warning (2): Invalid argument supplied for foreach() [CORE/cake/libs/model/model.php, line 2319]
Model::_findThreaded() - CORE/cake/libs/model/model.php, line 2319
Model::find() - CORE/cake/libs/model/model.php, line 2125
Page::getMenuPages() - APP/models/page.php, line 71
PagesController::sitemap() - APP/controllers/pages_controller.php, line 77
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - CORE/htdocs/index.php, line 107