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

Not Found (404) error for courses and lessons after switching language #7432

Closed
merkushin opened this issue Jan 17, 2024 · 0 comments · Fixed by #7435
Closed

Not Found (404) error for courses and lessons after switching language #7432

merkushin opened this issue Jan 17, 2024 · 0 comments · Fixed by #7435
Assignees
Labels
[Type] Bug WPML Compatibility issues with WPML
Milestone

Comments

@merkushin
Copy link
Member

Steps to Reproduce

  1. Go to Sensei LMS and create a course with lessons. Make sure all content is accessible on the frontend.
  2. Go to Settings > General and switch default website language. For example, to Spanish or German.
  3. Go to Dashboard > Updates and update translations.
  4. Go to the course on the backend and follow the View Course link or just use URL in the sidebar.

What I Expected

I expect to see the course.

What Happened Instead

I get 404 error.
After saving permalinks it works as expected.

PHP / WordPress / Sensei LMS version

PHP7.4/WP 6.4.2/Sensei LMS 4.20.0

@merkushin merkushin self-assigned this Jan 17, 2024
@merkushin merkushin changed the title Not Found (404) error for courses and lessons after switching languag Not Found (404) error for courses and lessons after switching language Jan 17, 2024
@donnapep donnapep added this to the 4.20.2 milestone Jan 18, 2024
@merkushin merkushin added the WPML Compatibility issues with WPML label Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug WPML Compatibility issues with WPML
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants