Notice (8): Undefined offset:  0 [CORE/app/controllers/residential_controller.php, line 146]

Query: SELECT `Agent`.`agent_id`, `Agent`.`first`, `Agent`.`last`, `Agent`.`address`, `Agent`.`address1`, `Agent`.`city`, `Agent`.`state`, `Agent`.`zip`, `Agent`.`phone`, `Agent`.`mobile`, `Agent`.`fax`, `Agent`.`email`, `Agent`.`web_address`, `Agent`.`office_id` FROM `agent_list` AS `Agent` WHERE agent_id = and office_id = LIMIT 1

Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and office_id =    LIMIT 1' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 463]

Notice (8): Undefined offset:  0 [CORE/app/controllers/residential_controller.php, line 147]
Notice (8): Undefined offset:  0 [CORE/app/controllers/residential_controller.php, line 150]
Pueblo RE/MAX ::
5 queries took 1159 ms
NrQueryErrorAffectedNum. rowsTook (ms)
1SELECT `Residential`.`mls`, `Residential`.`ts`, `Residential`.`type`, `Residential`.`area`, `Residential`.`price`, `Residential`.`number`, `Residential`.`direction`, `Residential`.`address`, `Residential`.`city`, `Residential`.`state`, `Residential`.`zip`, `Residential`.`bedrooms`, `Residential`.`bathrooms`, `Residential`.`style`, `Residential`.`garage`, `Residential`.`basement`, `Residential`.`fireplace`, `Residential`.`above_sqft`, `Residential`.`total_gross_sqft`, `Residential`.`zoning`, `Residential`.`year_built`, `Residential`.`taxes`, `Residential`.`tax_year`, `Residential`.`sqft_source`, `Residential`.`master_bdrm_level`, `Residential`.`master_bdrm_size`, `Residential`.`bdrm2_level`, `Residential`.`bdrm2_size`, `Residential`.`bdrm3_level`, `Residential`.`bdrm3_size`, `Residential`.`bdrm4_level`, `Residential`.`bdrm4_size`, `Residential`.`bdrm5_level`, `Residential`.`bdrm5_size`, `Residential`.`kitchen_level`, `Residential`.`kitchen_size`, `Residential`.`kitchen_eating`, `Residential`.`dining_level`, `Residential`.`dining_size`, `Residential`.`dining_type`, `Residential`.`living_level`, `Residential`.`living_size`, `Residential`.`family_level`, `Residential`.`family_size`, `Residential`.`remarks`, `Residential`.`int_features`, `Residential`.`ext_features`, `Residential`.`office`, `Residential`.`agent`, `Residential`.`sub_area`, `Residential`.`school_district`, `Residential`.`virtual_tour`, `Residential`.`laundry_level` FROM `residential` AS `Residential` WHERE `Residential`.`mls` = 122166 002
2SELECT `openhouse`.`id`, `openhouse`.`mls`, `openhouse`.`type`, `openhouse`.`start`, `openhouse`.`end` FROM `openhouses` AS `openhouse` WHERE `openhouse`.`mls` = 122166 003
3SELECT `Image`.`imageId`, `Image`.`mls`, `Image`.`imgUrl`, `Image`.`label`, `Image`.`dateModified`, `Image`.`photoOrder`, `Image`.`portrait` FROM `images` AS `Image` WHERE `Image`.`mls` = 122166 13131134
4SELECT `Agent`.`agent_id`, `Agent`.`first`, `Agent`.`last`, `Agent`.`address`, `Agent`.`address1`, `Agent`.`city`, `Agent`.`state`, `Agent`.`zip`, `Agent`.`phone`, `Agent`.`mobile`, `Agent`.`fax`, `Agent`.`email`, `Agent`.`web_address`, `Agent`.`office_id` FROM `agent_list` AS `Agent` WHERE agent_id = and office_id = LIMIT 11064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and office_id = LIMIT 1' at line 111
5SELECT `Office`.`office_id`, `Office`.`name`, `Office`.`address`, `Office`.`address1`, `Office`.`city`, `Office`.`state`, `Office`.`zip`, `Office`.`phone`, `Office`.`email` FROM `office_list` AS `Office` WHERE `Office`.`office_id` IS NULL 009