Fatal error: Uncaught Error: Call to undefined function bp_course_has_items() in /home2/leader22/public_html/wp-content/themes/wplms/course/single/home.php:17 Stack trace: #0 /home2/leader22/public_html/wp-includes/template.php(690): require() #1 /home2/leader22/public_html/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(155): load_template('/home2/leader22...', false) #2 /home2/leader22/public_html/wp-content/plugins/buddypress/bp-core/bp-core-template-loader.php(61): bp_locate_template(Array, true, false) #3 /home2/leader22/public_html/wp-content/plugins/vibe-customtypes/includes/permalinks.php(505): bp_get_template_part('course/single/h...') #4 /home2/leader22/public_html/wp-includes/class-wp-hook.php(286): Vibe_CustomTypes_Permalinks->catch_vars('') #5 /home2/leader22/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #6 /home2/leader22/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #7 /home2/leader22/public_html/wp-includes/template-loader.php(12) in /home2/leader22/public_html/wp-content/themes/wplms/course/single/home.php on line 17