MYSQL ERROR
Error:Incorrect DATETIME value: '0000-00-00 00:00:00'
Query:SELECT SQL_CALC_FOUND_ROWS `T1`.*, `T3`.`Key` AS `Key`, `T3`.`Type` AS `Listing_type`, `T3`.`Parent_keys`, `T3`.`Parent_IDs`, `T3`.`Path` AS `Path`, `T3`.`Path_ru`, IF(`T1`.`Featured_date` <> '0000-00-00 00:00:00', '1', '0') `Featured` FROM `fl_listings` AS `T1` LEFT JOIN `fl_categories` AS `T3` ON `T1`.`Category_ID` = `T3`.`ID` WHERE `T1`.`Status` = 'active' AND `T3`.`Type` = 'listings' AND `T1`.`condition_of_the_spare_part` = 'T├Ąze' ORDER BY `Featured_date` DESC , `T1`.`date` DESC LIMIT 0, 15
Function:getListings
Class:rlListings
File:/var/www/ulagym/includes/controllers/listing_type.inc.php (line# 400)