Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate Functional Page Setting Causes ERR_TOO_MANY_REDIRECTS Error #7616

Open
amroland opened this issue Jun 12, 2024 · 0 comments
Open
Labels
[Pri] Low Cosmetic issue, low impact, easy workaround [Status] Needs Triage Issue needs to be triaged [Type] Bug

Comments

@amroland
Copy link

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

  1. Navigate to Sensei LMS > Settings > General.
  2. Assign the same page to both the "My Courses" and "Course Completed" settings.
  3. Log in to the frontend.
  4. Click on the "My Courses" menu item.

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

@amroland amroland added [Status] Needs Triage Issue needs to be triaged [Type] Bug labels Jun 12, 2024
@donnapep donnapep added the [Pri] Low Cosmetic issue, low impact, easy workaround label Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Pri] Low Cosmetic issue, low impact, easy workaround [Status] Needs Triage Issue needs to be triaged [Type] Bug
Projects
None yet
Development

No branches or pull requests

2 participants