$sql = "SELECT `Product`.`id`, `Product`.`category_id`, `Product`.`brand_id`, `Product`.`title`, `Product`.`url_slug`, `Product`.`content`, `Product`.`price`, `Product`.`sale_price`, `Product`.`use_sale_price`, `Product`.`url`, `Product`.`image`, `Product`.`meta_title`, `Product`.`meta_kw`, `Product`.`meta_desc`, `Category`.`id`, `Category`.`name`, `Category`.`url_slug`, `Category`.`parent_id`, `Category`.`sort`, `Brand`.`id`, `Brand`.`name`, `Brand`.`url_slug`, `Brand`.`logo`, `Brand`.`url`, `Brand`.`meta_title`, `Brand`.`meta_kw`, `Brand`.`meta_desc` FROM `products` AS `Product` LEFT JOIN `categories` AS `Category` ON (`Product`.`category_id` = `Category`.`id`) LEFT JOIN `brands` AS `Brand` ON (`Product`.`brand_id` = `Brand`.`id`) WHERE 1 = 1 ORDER BY `Product`.`name` DESC "
$error = "1054: Unknown column 'Product.name' in 'order clause'"
$out = null
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 684
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 823
Model::find() - CORE/cake/libs/model/model.php, line 2119
ProductsController::index() - APP/controllers/products_controller.php, line 45
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Query: SELECT `Product`.`id`, `Product`.`category_id`, `Product`.`brand_id`, `Product`.`title`, `Product`.`url_slug`, `Product`.`content`, `Product`.`price`, `Product`.`sale_price`, `Product`.`use_sale_price`, `Product`.`url`, `Product`.`image`, `Product`.`meta_title`, `Product`.`meta_kw`, `Product`.`meta_desc`, `Category`.`id`, `Category`.`name`, `Category`.`url_slug`, `Category`.`parent_id`, `Category`.`sort`, `Brand`.`id`, `Brand`.`name`, `Brand`.`url_slug`, `Brand`.`logo`, `Brand`.`url`, `Brand`.`meta_title`, `Brand`.`meta_kw`, `Brand`.`meta_desc` FROM `products` AS `Product` LEFT JOIN `categories` AS `Category` ON (`Product`.`category_id` = `Category`.`id`) LEFT JOIN `brands` AS `Brand` ON (`Product`.`brand_id` = `Brand`.`id`) WHERE 1 = 1 ORDER BY `Product`.`name` DESC