A PHP Error was encountered

Severity: Notice

Message: Undefined variable: channel

Filename: models/Video_model.php

Line Number: 145

Backtrace:

File: /var/www/html/social/application/models/Video_model.php
Line: 145
Function: _error_handler

File: /var/www/html/social/application/controllers/Video.php
Line: 18
Function: get_channel_from_video

File: /var/www/html/social/index.php
Line: 315
Function: require_once