• Resolved kaimar

    (@kaimar)


    Hi there,

    when an instructor tries to access elementor on a new created lesson, he gets an error “Sorry, the content area was not found in your page. You must call the_content function in the current template, in order for Elementor to work on this page.”.

    When creating a lesson as an administrator the error doesnt appear and the lesson content can easily be edited with elementor.

    I could not figure out how to resolve the problem. I had a look into the source code, to maybe find a section where the function “the_content()” is missing. But couldnt find.

    Can someone help, please?

    Thank

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter kaimar

    (@kaimar)

    I just found a way to give access for instructors. I just had to change the following source code in post_type/post.php ln 60:

    if (is_admin() || current_user_can('administrator')) $unlock_lesson = true;

    But I don’t know, what the best fix might be here. Maybe a developer could give an advice.

    Thanks in advance

    Plugin Support EricStylemixThemes

    (@ericstylemixthemes)

    Hello @kaimar

    Thank you for reaching out and upgrading the status of the request!

    I am glad you found a temporary solution for this issue.

    The developers’ team is working on this issue and the necessary fix will be available in one of the upcoming updates.

    Kind regards

    Thread Starter kaimar

    (@kaimar)

    Hi @ericstylemixthemes

    thank you for the reply and for taking up the issue to your todos.
    Until the fix goes live, the most simple solution might be to rewrite the condition of the source code posted above.

    Kind regards

    • This reply was modified 2 years, 10 months ago by kaimar.
    Plugin Support mgordonStylemixThemes

    (@mgordon7)

    Hi there!

    The case is under checking and testing stages from our QA team at the moment. Some fixes and improvements are taking more time than expected. Unfortunately, we can’t provide an exact release date.

    Cheers

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Elementor Error Message’ is closed to new replies.