Exception

Database Exceptionyii\db\Exception

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'publishedon%20desc' in 'order clause'
The SQL being executed was: SELECT `catalog_products`.*, (CASE WHEN catalog_products.image = '' THEN 0 ELSE 1 END) AS isimage , (CASE WHEN catalog_products.store > 0 THEN 1 ELSE 0 END) AS isstore FROM `catalog_products` LEFT JOIN `catalog_categorys_products` ON catalog_categorys_products.product_id = catalog_products.id LEFT JOIN `catalog_categorys` ON catalog_categorys_products.category_id = catalog_categorys.id WHERE ((`catalog_products`.`isparent`=FALSE) AND (`catalog_products`.`status`=1)) AND (catalog_categorys.id IN (162)) GROUP BY `catalog_products`.`id` ORDER BY `isstore` DESC, `publishedon%20desc` LIMIT 36

Error Info: Array
(
    [0] => 42S22
    [1] => 1054
    [2] => Unknown column 'publishedon%20desc' in 'order clause'
)
$_GET = [
    'modelMainCategory' => unserialize('O:46:"common\\modules\\catalog\\models\\CatalogCategorys":10:{s:1:"c";N;s:8:"products";N;s:36:"' . "\0" . 'yii\\db\\BaseActiveRecord' . "\0" . '_attributes";a:16:{s:2:"id";i:162;s:4:"name";s:23:"Smart Home & Automation";s:6:"parent";i:40;s:8:"isparent";i:0;s:6:"status";i:1;s:7:"seo_url";s:33:"/periferiya/smart-home-automation";s:9:"seo_title";N;s:15:"seo_description";N;s:7:"content";N;s:5:"image";s:20:"/catalog/1212785.jpg";s:4:"sort";N;s:8:"template";N;s:13:"isnotshowtree";i:0;s:4:"icon";N;s:9:"code_elco";s:3:"HAU";s:5:"color";N;}s:39:"' . "\0" . 'yii\\db\\BaseActiveRecord' . "\0" . '_oldAttributes";a:16:{s:2:"id";i:162;s:4:"name";s:23:"Smart Home & Automation";s:6:"parent";i:40;s:8:"isparent";i:0;s:6:"status";i:1;s:7:"seo_url";s:33:"/periferiya/smart-home-automation";s:9:"seo_title";N;s:15:"seo_description";N;s:7:"content";N;s:5:"image";s:20:"/catalog/1212785.jpg";s:4:"sort";N;s:8:"template";N;s:13:"isnotshowtree";i:0;s:4:"icon";N;s:9:"code_elco";s:3:"HAU";s:5:"color";N;}s:33:"' . "\0" . 'yii\\db\\BaseActiveRecord' . "\0" . '_related";a:0:{}s:23:"' . "\0" . 'yii\\base\\Model' . "\0" . '_errors";N;s:27:"' . "\0" . 'yii\\base\\Model' . "\0" . '_validators";N;s:25:"' . "\0" . 'yii\\base\\Model' . "\0" . '_scenario";s:7:"default";s:27:"' . "\0" . 'yii\\base\\Component' . "\0" . '_events";a:0:{}s:30:"' . "\0" . 'yii\\base\\Component' . "\0" . '_behaviors";a:0:{}}'),
    'sort' => 'publishedon%20desc',
    'price_max' => '',
    'price_min' => '',
    'condition' => '',
    'pageSize' => '36',
    'tpl' => 'index',
    'all' => '0',
];