• Resolved hossamkhaled

    (@hossamkhaled)


    in this path ( masterstudy-lms-learning-management-system/includes/Repositories/CoursePlayerRepository.php:254 )

    if ( ! empty( $sequence ) && is_array( $sequence ) ) {

                                    $bank_args = array(

                                        ‘post_type’      => ‘stm-questions’,

                                        ‘post__in’       => $sequence[ $question[‘id’] ],

                                        ‘posts_per_page’ => -1,

                                        ‘orderby’        => ‘post__in’,

                                    );

                                }

    I just answer the first quiz if the condition returns true in all quizzes and Mack Query where all questions id
    I change the condition to fix this bug to

    if ( ! empty( $sequence ) && is_array( $sequence ) && isset($sequence[ $question[‘id’] ] ) && $sequence[ $question[‘id’] ] ) {

    • This topic was modified 1 week, 4 days ago by hossamkhaled.
Viewing 1 replies (of 1 total)
  • Plugin Support juliastylemixthemes

    (@juliastylemixthemes)

    Hello @hossamkhaled ,

    Thank you for providing the details of the changes you’ve made to the code.

    Based on our review and discussion with the development team, we can confirm that the modification you applied to the condition does not impact the overall functionality of MasterStudy. We were unable to identify any bugs or issues with the default behavior of the plugin during our tests.

    If you are experiencing an issue with the default functionality, could you please provide more specific details about what isn’t working as expected? This will help us investigate the issue further and assist you more effectively.

    Please also note that our support team can only provide guidance on default plugin settings and functionality.

    Best regards,

    Julia Ten

    Stylemix Support Team

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