: Uncaught TypeError: Argument 1 passed to LP_User::has_enrolled_course() must be of the type int, null given, called in /home/customer/www/agilearning.org/public_html/wp-content/plugins/learnpress/inc/course/lp-course-functions.php on line 268 and defined in /home/customer/www/agilearning.org/public_html/wp-content/plugins/learnpress/inc/user/class-lp-user.php:205
Stack trace:
#0 /home/customer/www/agilearning.org/public_html/wp-content/plugins/learnpress/inc/course/lp-course-functions.php(268): LP_User->has_enrolled_course(NULL)
#1 /home/customer/www/agilearning.org/public_html/wp-content/themes/course-builder/inc/custom-functions.php(1118): learn_press_is_enrolled_course()
#2 /home/customer/www/agilearning.org/public_html/wp-content/themes/course-builder/inc/extras.php(22): thim_page_title()
#3 /home/customer/www/agilearning.org/public_html/wp-includes/class-wp-hook.php(310): thim_body_classes(Array)
#4 /home/customer/www/agilearning.org/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, in /home/customer/www/agilearning.org/public_html/wp-content/plugins/learnpress/inc/user/class-lp-user.php on line 205