• Resolved Andrew

    (@andrew1111)


    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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support mgordonStylemixThemes

    (@mgordon7)

    Hello,

    Please kindly make sure that you updated the plugin to the latest version. With the latest version there shouldn’t be such restriction. Let me know of the progress, in case if the issue will be even with the updated version on your site

    Best regards

    Thread Starter Andrew

    (@andrew1111)

    FYI, these bugs are active as of version 3.3.9

    Plugin Support mgordonStylemixThemes

    (@mgordon7)

    Hello,

    The latest version of the LMS free plugin is 3.3.13

    Could you please kindly update the plugin to the latest version?

    Thread Starter Andrew

    (@andrew1111)

    FYI, these exceptions are occurring in version 3.3.16.

    Plugin Support mgordonStylemixThemes

    (@mgordon7)

    There is no such errors in our testing environments, could you please provide more details on how you are making the debug and provide your site server limits. Moreover, could you please provide most recent server error logs? So in this way we will be able to detect the core of this unexpected issue. Moreover, as for testing, could you try to install the plugin on a fresh WordPress site and re-check again?

    Best regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.