Duplicate Functional Page Setting Causes ERR_TOO_MANY_REDIRECTS Error #7616
Labels
[Pri] Low
Cosmetic issue, low impact, easy workaround
[Status] Needs Triage
Issue needs to be triaged
[Type] Bug
In the Sensei LMS plugin, within the Settings > General menu, there are options to set up to 4 functional pages: Course Archive, My Courses, Course Completed, and Group Registration.
When the same page is assigned to both the My Courses and Course Completed settings, the frontend experiences a critical issue. Specifically, upon logging in and clicking the "My Courses" menu item (which shares the URL with the My Courses page), the page fails to load and results in an ERR_TOO_MANY_REDIRECTS error.
Steps to Reproduce
A check or warning should prevent users from assigning the same page to both the "My Courses" and "Course Completed" settings. This would avoid the ERR_TOO_MANY_REDIRECTS error and the logical conflict.
PHP / WordPress / Sensei LMS version
PHP 8.1.17
WordPress 6.5.4
Sensei LMS Version: 4.24.0 | Sensei Pro Version: 1.24.0
The text was updated successfully, but these errors were encountered: