Hi ive the same issue…
I’m using the Hello Elementor theme with the latest version of LearnPress. When I try to add a new course (lp_course), the editor fails to load and returns a 500 Internal Server Error.
Interestingly, quizzes (lp_quiz) and lessons (lp_lesson) work perfectly fine — the issue only occurs when creating or editing courses.
After testing, I found that the problem happens only when Elementor is active. Deactivating Elementor resolves the issue and restores course editing. I’ve tried several solutions, including:
- Using
elementor_post_type_excluded to prevent Elementor from loading on lp_course
- Modifying the
functions.php of the Hello theme directly (I prefer not to use a child theme)
Despite that, the conflict remains. Is there a recommended way to prevent Elementor from interfering with LearnPress courses, without disabling Elementor entirely or switching themes?
Thanks in advance for your help!