A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'main_country_id' of non-object

Filename: controllers/Country.php

Line Number: 18

Backtrace:

File: /home/deluxetourseg/public_html/application/controllers/Country.php
Line: 18
Function: _error_handler

File: /home/deluxetourseg/public_html/application/controllers/Country.php
Line: 10
Function: index

File: /home/deluxetourseg/public_html/index.php
Line: 315
Function: require_once