MasterStudy Exceptions
-
Our debug.log shows the following, recurring exceptions:
This exception occurs frequently. I’ve pasted the warnings as well, since they consistently occur prior to the exception.
[28-Apr-2024 14:58:18 UTC] PHP Warning: Attempt to read property “ID” on null in /bitnami/wordpress/wp-content/plugins/masterstudy-lms-learning-management-system/includes/Repositories/CoursePlayerRepository.php on line 17
[28-Apr-2024 14:58:18 UTC] PHP Warning: Attempt to read property “ID” on null in /bitnami/wordpress/wp-content/plugins/masterstudy-lms-learning-management-system/includes/Repositories/CoursePlayerRepository.php on line 17
[28-Apr-2024 14:58:18 UTC] PHP Fatal error: Uncaught TypeError: MasterStudy\Lms\Repositories\CurriculumRepository::get_curriculum(): Argument #1 ($course_id) must be of type int, null given, called in /bitnami/wordpress/wp-content/plugins/masterstudy-lms-learning-management-system/includes/Repositories/CoursePlayerRepository.php on line 21 and defined in /bitnami/wordpress/wp-content/plugins/masterstudy-lms-learning-management-system/includes/Repositories/CurriculumRepository.php:35
Stack trace: 0 /bitnami/wordpress/wp-content/plugins/masterstudy-lms-learning-management-system/includes/Repositories/CoursePlayerRepository.php(21): MasterStudy\Lms\Repositories\CurriculumRepository->get_curriculum() 1 /bitnami/wordpress/wp-content/plugins/masterstudy-lms-learning-management-system/_core/stm-lms-templates/course-player.php(27): MasterStudy\Lms\Repositories\CoursePlayerRepository->get_main_data() 2 /opt/bitnami/wordpress/wp-includes/template-loader.php(106): include(‘…’) 3 /opt/bitnami/wordpress/wp-blog-header.php(19): require_once(‘…’) 4 /opt/bitnami/wordpress/index.php(17): require(‘…’) 5 {main}thrown in /bitnami/wordpress/wp-content/plugins/masterstudy-lms-learning-management-system/includes/Repositories/CurriculumRepository.php on line 35
I’ve only seen this exception twice.
[28-Apr-2024 22:40:32 UTC] PHP Fatal error: Uncaught DivisionByZeroError: Division by zero in /bitnami/wordpress/wp-content/plugins/masterstudy-lms-learning-management-system/_core/libraries/mixpanel/class-mixpanel-posts.php:193
Stack trace: 0 /bitnami/wordpress/wp-content/plugins/masterstudy-lms-learning-management-system/_core/libraries/mixpanel/class-mixpanel-posts.php(86): MasterStudy\Lms\Libraries\Mixpanel_Posts::get_average_sections_count() 1 [internal function]: MasterStudy\Lms\Libraries\Mixpanel_Posts::register_data() 2 /bitnami/wordpress/wp-content/plugins/masterstudy-lms-learning-management-system/_core/libraries/mixpanel/class-mixpanel.php(35): call_user_func() 3 /bitnami/wordpress/wp-content/plugins/masterstudy-lms-learning-management-system/_core/libraries/mixpanel/class-mixpanel.php(40): MasterStudy\Lms\Libraries\Mixpanel->collect_data() 4 /bitnami/wordpress/wp-content/plugins/masterstudy-lms-learning-management-system/_core/libraries/mixpanel/init.php(16): MasterStudy\Lms\Libraries\Mixpanel->execute() 5 /opt/bitnami/wordpress/wp-includes/class-wp-hook.php(324): init_mixpanel() 6 /opt/bitnami/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 7 /opt/bitnami/wordpress/wp-includes/plugin.php(565): WP_Hook->do_action() 8 /opt/bitnami/wordpress/wp-cron.php(191): do_action_ref_array() 9 {main}thrown in /bitnami/wordpress/wp-content/plugins/masterstudy-lms-learning-management-system/_core/libraries/mixpanel/class-mixpanel-posts.php on line 193
- You must be logged in to reply to this topic.