A PHP Error was encountered

Severity: Notice

Message: Undefined property: Listing::$search_model

Filename: controllers/listing.php

Line Number: 162


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