SELECT *, 
            o.object_id AS object_id FROM soho_request_cabinet AS c 
            LEFT JOIN soho_request_offers as o ON c.request_id = o.request_id WHERE o.user_id = undefined and c.link = 'undefined' ORDER BY o.id DESC
"SQLSTATE[42S22]: Column not found: 1054 Unknown column 'undefined' in 'where clause'": #0 /var/www/base/data/www/my.prime.su/www/inc/classes/DB.php(75): PDOStatement->execute()
#1 /var/www/base/data/www/my.prime.su/www/inc/classes/DB.php(165): DB::query('SELECT *, \n    ...', Array, true)
#2 /var/www/base/data/www/my.prime.su/www/inc/models/RequestOffersModel.php(157): DB::select('soho_request_ca...', '*, \n           ...', Array)
#3 /var/www/base/data/www/my.prime.su/www/inc/classes/RequestOffersData.php(23): RequestOffersModel->getObjects(Array)
#4 /var/www/base/data/www/my.prime.su/www/export_json.php(14): RequestOffersData->getData(Array)
#5 {main}
[]