#0 oDb->query(SELECT `homestead`.id FROM `homestead` LEFT JOIN `artists` ON (`homestead`.`artist_id`=`artists`.id) LEFT JOIN `auction_medium` ON (`homestead`.`category`=`auction_medium`.id) LEFT JOIN `galleries` ON (`homestead`.`gallery_id`=`galleries`.id) LEFT JOIN `year_purchased` ON (`homestead`.`year_purchased_id`=`year_purchased`.id) WHERE `homestead`.`cat_id`=599 AND `homestead`.`shared`=1 ORDER BY artists.sname ASC) called at [/var/www/virtual/artvault.co.za/objects/oPublicArtworks.inc:147] #1 oPublicArtworks->get_list() called at [/var/www/virtual/artvault.co.za/objects/oPrivateArtworks.inc:45] #2 oArtworks->__construct() called at [/var/www/virtual/artvault.co.za/collection.php:19] SELECT `homestead`.id FROM `homestead` LEFT JOIN `artists` ON (`homestead`.`artist_id`=`artists`.id) LEFT JOIN `auction_medium` ON (`homestead`.`category`=`auction_medium`.id) LEFT JOIN `galleries` ON (`homestead`.`gallery_id`=`galleries`.id) LEFT JOIN `year_purchased` ON (`homestead`.`year_purchased_id`=`year_purchased`.id) WHERE `homestead`.`cat_id`=599 AND `homestead`.`shared`=1 ORDER BY artists.sname ASC Mysql error:Unknown column 'homestead.shared' in 'where clause'