• Recently I installed this plugin and it breaks the website on Sensei LMS Lesson content, this is the error:

    [24-Nov-2021 23:54:47 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function get_current_screen() in /home1/xxxxxxxx/public_html/wp-content/plugins/dco-comment-attachment/includes/class-dco-ca-admin.php:262
    Stack trace:
    #0 /home1/xxxxxxxx/public_html/wp-includes/class-wp-hook.php(305): DCO_CA_Admin->update_attachment('31509')
    #1 /home1/xxxxxxxx/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
    #2 /home1/xxxxxxxx/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
    #3 /home1/xxxxxxxx/public_html/wp-includes/comment.php(2562): do_action('edit_comment', '31509', Array)
    #4 /home1/xxxxxxxx/public_html/wp-content/plugins/sensei-lms/includes/class-sensei-utils.php(87): wp_update_comment(Array)
    #5 /home1/xxxxxxxx/public_html/wp-content/plugins/sensei-lms/includes/class-sensei-utils.php(1948): Sensei_Utils::sensei_log_activity(Array)
    #6 /home1/xxxxxxxx/public_html/wp-content/plugins/sensei-lms/includes/class-sensei-quiz.php(570): Sensei_Utils::update_lesson_status(1261, 21459, 'in-progress', Array)
    #7 /hom in /home1/xxxxxxxx/public_html/wp-content/plugins/dco-comment-attachment/includes/class-dco-ca-admin.php on line 262

    Any ideas or solution for this?
    Thank you in advance

Viewing 1 replies (of 1 total)
  • Plugin Author Denis Yanchevskiy

    (@denisco)

    Hello @quantodev,

    I am not familiar with the Sensei LMS plugin and have not tested the DCO Comment Attachment with it.

    I opened a page with a lesson, apparently there is a conflict, because the form was displayed incorrectly. Unfortunately, I don’t have any solution at the moment ?? .

    Also I could not reproduce the error. Can you please describe in more detail how you got it?

Viewing 1 replies (of 1 total)
  • The topic ‘Conflict with Sensei LMS Plugin’ is closed to new replies.