A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: controllers/Profile.php

Line Number: 164

Backtrace:

File: /var/www/html/apnacourse/application/controllers/Profile.php
Line: 164
Function: _error_handler

File: /var/www/html/apnacourse/index.php
Line: 321
Function: require_once