Проверьте NULL в Laravel Blade
@if(is_null($variable)
Charming Civet
@if(is_null($variable)
@if(empty($student->mscgrade))