SQL statement that failed below:
---------------------------------------------------------
SELECT distinct(default_en_listingsdb.listingsdb_id), default_en_listingsdb.userdb_id, default_en_listingsdb.listingsdb_title FROM default_en_listingsdb ,default_en_listingsdbelements status ,default_en_listingsdbelements sort0 WHERE (listingsdb_active = 'yes') AND (default_en_listingsdb.listingsdb_id = status.listingsdb_id) AND (default_en_listingsdb.listingsdb_id = sort0.listingsdb_id) AND (status.listingsdbelements_field_name = 'status' AND status.listingsdbelements_field_value = 'Sold') AND (sort0.listingsdbelements_field_name = 'city') ORDER BY sort0.listingsdbelements_field_value ASC

---------------------------------------------------------

ERROR REPORT austinrealty.on.ca: May 23, 2019, 1:43:30 am

---------------------------------------------------------
SQL ERROR: SELECT distinct(default_en_listingsdb.listingsdb_id), default_en_listingsdb.userdb_id, default_en_listingsdb.listingsdb_title FROM default_en_listingsdb ,default_en_listingsdbelements status ,default_en_listingsdbelements sort0 WHERE (listingsdb_active = 'yes') AND (default_en_listingsdb.listingsdb_id = status.listingsdb_id) AND (default_en_listingsdb.listingsdb_id = sort0.listingsdb_id) AND (status.listingsdbelements_field_name = 'status' AND status.listingsdbelements_field_value = 'Sold') AND (sort0.listingsdbelements_field_name = 'city') ORDER BY sort0.listingsdbelements_field_value ASC
Server Type: Apache
Request Method: GET
Query String: action=searchresults&sortby=city&sorttype=ASC&status=Sold&pclass%5B%5D=
User Agent: CCBot/2.0 (https://commoncrawl.org/faq/)
Request URI: /realty/index.php?action=searchresults&sortby=city&sorttype=ASC&status=Sold&pclass%5B%5D=
POST Variables: array (
)
GET Variables: array (
'action' => 'searchresults',
'sortby' => 'city',
'sorttype' => 'ASC',
'status' => 'Sold',
'pclass' =>
array (
0 => '',
),
'printer_friendly' => false,
'cur_page' => 0,
)