• Resolved Koorosh

    (@koorosh14)


    Hi there,

    Since today our debug.log is filled with these messages coming from the LearnPress plugin:

    [21-Sep-2026 12:17:33 UTC] MESSAGE: Call to undefined function get_current_screen() FILE: public_html/wp-content/plugins/learnpress/inc/custom-post-types/course.php LINE: 230
    [21-Sep-2026 12:17:33 UTC] MESSAGE: Call to undefined function get_current_screen() FILE: public_html/wp-content/plugins/learnpress/inc/custom-post-types/course.php LINE: 230
    [21-Sep-2026 12:17:33 UTC] MESSAGE: Call to undefined function get_current_screen() FILE: public_html/wp-content/plugins/learnpress/inc/custom-post-types/lesson.php LINE: 127
    [21-Sep-2026 12:17:33 UTC] MESSAGE: Call to undefined function get_current_screen() FILE: public_html/wp-content/plugins/learnpress/inc/custom-post-types/lesson.php LINE: 127
    [21-Sep-2026 12:17:33 UTC] MESSAGE: Call to undefined function get_current_screen() FILE: public_html/wp-content/plugins/learnpress/inc/custom-post-types/quiz.php LINE: 275
    [21-Sep-2026 12:17:33 UTC] MESSAGE: Call to undefined function get_current_screen() FILE: public_html/wp-content/plugins/learnpress/inc/custom-post-types/quiz.php LINE: 275
    [21-Sep-2026 12:17:33 UTC] MESSAGE: Call to undefined function get_current_screen() FILE: public_html/wp-content/plugins/learnpress/inc/custom-post-types/question.php LINE: 348
    [21-Sep-2026 12:17:33 UTC] MESSAGE: Call to undefined function get_current_screen() FILE: public_html/wp-content/plugins/learnpress/inc/custom-post-types/question.php LINE: 348
    [21-Sep-2026 12:17:33 UTC] MESSAGE: Call to undefined function get_current_screen() FILE: public_html/wp-content/plugins/learnpress/inc/custom-post-types/course.php LINE: 230
    [21-Sep-2026 12:17:33 UTC] MESSAGE: Call to undefined function get_current_screen() FILE: public_html/wp-content/plugins/learnpress/inc/custom-post-types/lesson.php LINE: 127
    [21-Sep-2026 12:17:33 UTC] MESSAGE: Call to undefined function get_current_screen() FILE: public_html/wp-content/plugins/learnpress/inc/custom-post-types/quiz.php LINE: 275
    [21-Sep-2026 12:17:33 UTC] MESSAGE: Call to undefined function get_current_screen() FILE: public_html/wp-content/plugins/learnpress/inc/custom-post-types/question.php LINE: 348
    [21-Sep-2026 12:17:33 UTC] MESSAGE: Call to undefined function get_current_screen() FILE: public_html/wp-content/plugins/learnpress/inc/custom-post-types/course.php LINE: 230
    [21-Sep-2026 12:17:33 UTC] MESSAGE: Call to undefined function get_current_screen() FILE: public_html/wp-content/plugins/learnpress/inc/custom-post-types/lesson.php LINE: 127
    [21-Sep-2026 12:17:33 UTC] MESSAGE: Call to undefined function get_current_screen() FILE: public_html/wp-content/plugins/learnpress/inc/custom-post-types/quiz.php LINE: 275
    [21-Sep-2026 12:17:33 UTC] MESSAGE: Call to undefined function get_current_screen() FILE: public_html/wp-content/plugins/learnpress/inc/custom-post-types/question.php LINE: 348
    [21-Sep-2026 12:17:33 UTC] MESSAGE: Call to undefined function get_current_screen() FILE: public_html/wp-content/plugins/learnpress/inc/custom-post-types/course.php LINE: 230
    [21-Sep-2026 12:17:33 UTC] MESSAGE: Call to undefined function get_current_screen() FILE: public_html/wp-content/plugins/learnpress/inc/custom-post-types/lesson.php LINE: 127
    ...

    I’d appreciate it if you can take a look at what’s causing it

    Thank you very much

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support brianvu-tp

    (@briantp)

    Hi Koorosh,

    Thank you for reaching out and for the detailed report.

    We’ve addressed this issue in a new beta build. Could you please try it out and let us know if the issue is resolved on your end?

    We look forward to your feedback.

    Thanks again!

    Best regards,
    Brianvu-tp

    Thread Starter Koorosh

    (@koorosh14)

    Hello again,

    Sorry for the late reply, the issue seems to be fixed after installing the beta version.

    Thank you very much 🫡

    Plugin Support brianvu-tp

    (@briantp)

    Hi Koorosh,

    Thank you for your feedback and for confirming that everything is now functioning smoothly.

    We are committed to including this fix in the next official release.

    If you are satisfied with the plugin and the support you received, we kindly request that you take a moment to leave a 5-star review for LearnPress here.

    Your feedback is extremely valuable to our team and serves as a significant source of motivation for us to enhance our services and better serve our clients.

    Thank you again, and please do not hesitate to contact me if you encounter any further issues.

    Best regards,
    Brianvu-tp

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.