TypeError thrown

Argument 1 passed to learn_press_get_course() must be of the type integer, null given, called in /home/ihv6igjm6u4x/public_html/hosting/oceac-mtn.org/wp-content/plugins/learnpress/inc/course/lp-course-functions.php on line 255