Fatal error: Uncaught TypeError: MasterStudy\Lms\Repositories\CoursePlayerRepository::get_main_data(): Argument #2 ($lesson_id) must be of type int, string given, called in /var/www/wp-content/plugins/masterstudy-lms-learning-management-system/_core/stm-lms-templates/course-player.php on line 27 and defined in /var/www/wp-content/plugins/masterstudy-lms-learning-management-system/includes/Repositories/CoursePlayerRepository.php:15
Stack trace:
#0 /var/www/wp-content/plugins/masterstudy-lms-learning-management-system/_core/stm-lms-templates/course-player.php(27): MasterStudy\Lms\Repositories\CoursePlayerRepository->get_main_data('sustainable-bus...', 'curriculum')
#1 /var/www/wp-includes/template-loader.php(106): include('/var/www/wp-con...')
#2 /var/www/wp-blog-header.php(19): require_once('/var/www/wp-inc...')
#3 /var/www/index.php(17): require('/var/www/wp-blo...')
#4 {main}
thrown in /var/www/wp-content/plugins/masterstudy-lms-learning-management-system/includes/Repositories/CoursePlayerRepository.php on line 15
WordPress › Error