• Resolved lovetheidea

    (@lovetheidea)


    New update has broken the instructor page and throws an SQL error. Instructors listed as “approved” no longer appear.

    Had to change plugin code to:

    if($course_filter == 'approved'){
    			$course_filter = " AND inst_status.meta_value = 'approved' ";
    
    		} else {
    			$course_filter = $course_filter != '' ? " AND inst_status.meta_key = '_tutor_instructor_course_id' AND inst_status.meta_value = '".$course_filter."' " : '' ;
    		}
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Instructors page not working’ is closed to new replies.