A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Courses.php

Line Number: 31

Backtrace:

File: /home/p9eyetx7586d/public_html/application/controllers/Courses.php
Line: 31
Function: _error_handler

File: /home/p9eyetx7586d/public_html/index.php
Line: 317
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'subject_grade_year' of non-object

Filename: controllers/Courses.php

Line Number: 31

Backtrace:

File: /home/p9eyetx7586d/public_html/application/controllers/Courses.php
Line: 31
Function: _error_handler

File: /home/p9eyetx7586d/public_html/index.php
Line: 317
Function: require_once

Courses