A PHP Error was encountered

Severity: Notice

Message: Undefined property: Listing::$search_model

Filename: controllers/listing.php

Line Number: 152


Fatal error: Uncaught Error: Call to a member function get_photo() on null in /home/rd114591/public_html/application/controllers/listing.php:152 Stack trace: #0 /home/rd114591/public_html/system/core/CodeIgniter.php(359): Listing->index('1317-Delresto-D...', 'MLS-18372856') #1 /home/rd114591/public_html/index.php(202): require_once('/home/rd114591/...') #2 {main} thrown in /home/rd114591/public_html/application/controllers/listing.php on line 152