A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/Welcome_model.php

Line Number: 50

Backtrace:

File: /home/icscxvzz/hdmovies.pk/application/models/Welcome_model.php
Line: 50
Function: _error_handler

File: /home/icscxvzz/hdmovies.pk/application/controllers/Welcome.php
Line: 64
Function: get_category_id

File: /home/icscxvzz/hdmovies.pk/index.php
Line: 315
Function: require_once