how to fix this error?
Message: Trying to get property 'Student_image' of non-object
Filename: students/profile.php
Line Number: 18
Backtrace:
File: C:\xampp\htdocs\school\application\views\site\students\profile.php
Line: 18
Function: _error_handler
File: C:\xampp\htdocs\school\application\views\includes\contents.php
Line: 3
Function: view
File: C:\xampp\htdocs\school\application\controllers\StudentController.php
Line: 108
Function: view