Warning: Attempt to read property "ID" on null in /home/platformdiplomat/public_html/wp-content/plugins/masterstudy-lms-learning-management-system/_core/lms/course-player/cp-template-functions.php on line 49
Fatal error: Uncaught TypeError: MasterStudy\Lms\Repositories\CurriculumRepository::get_curriculum(): Argument #1 ($course_id) must be of type int, null given, called in /home/platformdiplomat/public_html/wp-content/plugins/masterstudy-lms-learning-management-system/_core/lms/course-player/cp-template-functions.php on line 56 and defined in /home/platformdiplomat/public_html/wp-content/plugins/masterstudy-lms-learning-management-system/includes/Repositories/CurriculumRepository.php:36
Stack trace:
#0 /home/platformdiplomat/public_html/wp-content/plugins/masterstudy-lms-learning-management-system/_core/lms/course-player/cp-template-functions.php(56): MasterStudy\Lms\Repositories\CurriculumRepository->get_curriculum(NULL, true)
#1 /home/platformdiplomat/public_html/wp-includes/class-wp-hook.php(324): masterstudy_lms_course_player_main_template_data('curriculum', 'the-art-of-nego...')
#2 /home/platformdiplomat/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('curriculum', Array)
#3 /home/platformdiplomat/public_html/wp-content/plugins/masterstudy-lms-learning-management-system/_core/stm-lms-templates/course-player.php(16): apply_filters('masterstudy_lms...', 'curriculum', 'the-art-of-nego...')
#4 /home/platformdiplomat/public_html/wp-includes/template-loader.php(106): include('/home/platformd...')
#5 /home/platformdiplomat/public_html/wp-blog-header.php(19): require_once('/home/platformd...')
#6 /home/platformdiplomat/public_html/index.php(17): require('/home/platformd...')
#7 {main}
thrown in /home/platformdiplomat/public_html/wp-content/plugins/masterstudy-lms-learning-management-system/includes/Repositories/CurriculumRepository.php on line 36
WordPress › Error