PSA: TutorLMS with hCaptcha plugin bug
-
For those of you migrating away from the rate-limited reCAPTCHA, you may discover your TutorLMS course pages will break for logged out users, creating a 500 error code with the page wrapped in WordPress’ gray error page (id=”error-page” included in the body class).
This happens if hCaptcha has WordPress login form protection enabled (hCaptcha > Integrations > WordPress > Login Form). This is caused by the following line of code in course-entry-box.php:
if ( ! is_user_logged_in() ) {
tutor_load_template_from_custom_path( tutor()->path . '/views/modal/login.php' );
}This may cause issues if you are running the Tutor login modal box. We have not tested this with the Tutor modal, as we’re running a separate login system across our site.
Hope this might help some out there.
- You must be logged in to reply to this topic.