Fatal error: Uncaught Error: Undefined constant "amenities" in /in/Pmtts:10
Stack trace:
#0 {main}
thrown in /in/Pmtts on line 10
Process exited with code 255.
Warning: Use of undefined constant amenities - assumed 'amenities' (this will throw an Error in a future version of PHP) in /in/Pmtts on line 10
Warning: Use of undefined constant amenities - assumed 'amenities' (this will throw an Error in a future version of PHP) in /in/Pmtts on line 8
Warning: Use of undefined constant amenities - assumed 'amenities' (this will throw an Error in a future version of PHP) in /in/Pmtts on line 8
(IF(`AmenitiesProperty`.`amenity_id` = 3,1,0))(IF(`AmenitiesProperty`.`amenity_id` = 2,(IF(`AmenitiesProperty`.`amenity_id` = 3,1,0)),0))(IF(`AmenitiesProperty`.`amenity_id` = 1,(IF(`AmenitiesProperty`.`amenity_id` = 3,1,0))(IF(`AmenitiesProperty`.`amenity_id` = 2,(IF(`AmenitiesProperty`.`amenity_id` = 3,1,0)),0)),0))
Notice: Use of undefined constant amenities - assumed 'amenities' in /in/Pmtts on line 10
Notice: Use of undefined constant amenities - assumed 'amenities' in /in/Pmtts on line 8
Notice: Use of undefined constant amenities - assumed 'amenities' in /in/Pmtts on line 8
(IF(`AmenitiesProperty`.`amenity_id` = 3,1,0))(IF(`AmenitiesProperty`.`amenity_id` = 2,(IF(`AmenitiesProperty`.`amenity_id` = 3,1,0)),0))(IF(`AmenitiesProperty`.`amenity_id` = 1,(IF(`AmenitiesProperty`.`amenity_id` = 3,1,0))(IF(`AmenitiesProperty`.`amenity_id` = 2,(IF(`AmenitiesProperty`.`amenity_id` = 3,1,0)),0)),0))