Database Error
Message:MySQL Query fail: SELECT AllMLSListings.MLNumber, AllMLSListings.Status, AllMLSListings.fields_blob, AllMLSListings.ListingDate, AllMLSListings.ListingPrice, CONCAT(MLS__MEMB.FirstName, '-', MLS__MEMB.LastName,'-sm.jpg') AS listingAgentPic, AllMLSListings.County, AllMLSListings.Area, AllMLSListings.Latitude, AllMLSListings.Longitude, AllMLSListings.PropertyClass, AllMLSListings.PropertyTypeNormal, AllMLSListings.Bedrooms, AllMLSListings.Bathrooms, AllMLSListings.SquareFootage, AllMLSListings.LotSquareFootage, AllMLSListings.ListingAgentMLSID, AllMLSListings.ListingOfficeMLSID, AllMLSListings.detailBlob FROM AllMLSListings LEFT JOIN MLS__MEMB ON AllMLSListings.ListingAgentMLSID = MLS__MEMB.MLSID WHERE AllMLSListings.Status='active' AND ( AllMLSListings.ListingAgentMLSID IN (50626) OR AllMLSListings.ListingAgentMLSID2 IN (50626) ) ORDER BY AllMLSListings.ListingPrice DESC
MySQL Error:Unknown column 'AllMLSListings.ListingAgentMLSID2' in 'where clause'
Date:Saturday, November 25, 2017 at 9:26:51 AM
Script:/agent_detail.php?agent=lindholm-nicholas

Fatal error: Uncaught Error: Call to a member function fetch_assoc() on boolean in /home/roveridx/public_hosting/leaskou/leaskoupartners.com/classes/mysqli.php:145 Stack trace: #0 /home/roveridx/public_hosting/leaskou/leaskoupartners.com/classes/mysqli.php(169): Database->fetch_array(false, false) #1 /home/roveridx/public_hosting/leaskou/leaskoupartners.com/classes/MLS.class.php(341): Database->fetch_all_array('\nSELECT AllMLSL...') #2 /home/roveridx/public_hosting/leaskou/leaskoupartners.com/agent_detail.php(119): MLS->getAgentListings('50626') #3 {main} thrown in /home/roveridx/public_hosting/leaskou/leaskoupartners.com/classes/mysqli.php on line 145