Hi jayrossta,
Thanks for reaching out.
We’ve noted that you’re currently using the Coursector theme. This issue, where the URL gains an “undefined” tag and results in a “Page Not Found” error after clicking “Enroll this Course,” can sometimes be related to conflicts or specific settings.
Here are a few steps you can take to troubleshoot:
- Enable “Store IP Guest to handle checkout”:
- Go to LearnPress > Settings > General in your WordPress dashboard.
- Look for the option “Store IP Guest to handle checkout” and make sure it’s enabled. Sometimes, this setting can resolve checkout flow issues.
- If the above step doesn’t resolve it, we recommend a standard conflict test to pinpoint the cause:
- Switch to a Default Theme: Temporarily switch your theme to a default WordPress theme like Twenty Twenty-Five.
- Deactivate Plugins: Deactivate all plugins except LearnPress.
- Test Enrollment: Try enrolling in a course again.
If the error disappears after these steps, it indicates a conflict with your theme or another plugin. You can then reactivate your theme and other plugins one by one, testing after each activation, to identify the specific culprit.
Please let us know if either of these suggestions helps resolve the issue!
Best regards,
Brianvu-tp
When I switch to a default theme (Hello Elementor), everything starts working again without touching the plugins.
Ideas?
Hi jayrossta,
Thanks for the update!
This strongly suggests the problem lies within your Coursector theme. There are a few possibilities:
- Theme Overrides/Conflicts: The Coursector theme might have its own code or templates that are overriding LearnPress’s default behavior, causing a conflict during the enrollment process.
- Outdated Theme Code: The theme’s code might be outdated and not fully compatible with the latest version of LearnPress or WordPress, leading to these errors.
Since the issue disappears when you switch themes, the most direct path to a solution will be through the theme’s developer. We recommend reaching out to the Coursector theme support team directly.
If you are satisfied with LearnPress, we would greatly appreciate it if you could leave us a 5-star review. A nice rating is a big motivation for us to keep up the hard work, and it’s really important to us.
Thank you very much for your feedback.
Best regards,
Brianvu-tp