A PHP Error was encountered

Severity: Notice

Message: Undefined property: catalog::$main_model

Filename: controllers/catalog.php

Line Number: 271


Fatal error: Call to a member function get_by_id() on null in /home/web/new.divanich96.ru/www/application/frontend/controllers/catalog.php on line 271