Query: SELECT COUNT(distinct(`CompCategory`.`company_id`)) AS count FROM `comp_categories` AS `CompCategory` LEFT JOIN `companies` AS `Company` ON (`CompCategory`.`company_id` = `Company`.`id`) LEFT JOIN `categories` AS `Category` ON (`CompCategory`.`category_id` = `Category`.`id`) WHERE `Company`.`country_id` = '2028' AND `CompCategory`.`category_id` = '179' AND `Company`.`comp_size` = '4' AND `Company`.`others` = 'y' and `Company`.`status`='y' ORDER BY TRIM(`Company`.`title`) ASC
Warning: SQL Error: 1054: Unknown column 'Company.others' in 'where clause' in /var/www/vhosts/bestwebdesignagencies.com/httpdocs/cake/libs/model/datasources/dbo_source.php on line 463

Query: onError
Warning: 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 'onError' at line 1 in /var/www/vhosts/bestwebdesignagencies.com/httpdocs/cake/libs/model/datasources/dbo_source.php on line 463

Query: SELECT distinct(`CompCategory`.`company_id`), `Company`.`id`, `Company`.`comp_size`, `Company`.`comp_revenue`, `Company`.`file_id` FROM `comp_categories` AS `CompCategory` LEFT JOIN `companies` AS `Company` ON (`CompCategory`.`company_id` = `Company`.`id`) WHERE `Company`.`country_id` = '2028' AND `CompCategory`.`category_id` = '179' AND `Company`.`comp_size` = '4' AND `Company`.`others` = 'y' and `Company`.`status`='y' ORDER BY TRIM(`Company`.`title`) ASC LIMIT 10
Warning: SQL Error: 1054: Unknown column 'Company.others' in 'where clause' in /var/www/vhosts/bestwebdesignagencies.com/httpdocs/cake/libs/model/datasources/dbo_source.php on line 463

Query: onError
Warning: 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 'onError' at line 1 in /var/www/vhosts/bestwebdesignagencies.com/httpdocs/cake/libs/model/datasources/dbo_source.php on line 463