Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support brianvu-tp

    (@briantp)

    Hi,

    When the user purchases the course, please be sure the status of the order is completed and the order has the username of the student. The student can’t access your course only in the case order is not completed or doesn’t have the username of the student in the order.

    Thanks

    Thread Starter avantiprodu

    (@avantiprodu)

    Hi,

    We’ve already tried that, by creating an order with the users account and it wont’ let them see the courses, not even when we let them and complet the order status for them.

    We’ve have plenty webs with this system and this is the only with this error, can you help us please?

    Plugin Support brianvu-tp

    (@briantp)

    Hi,

    Please enable the debug log of WordPress to check, Did you try to switch the theme and disable the plugin to check before?

    Thanks

    Thread Starter avantiprodu

    (@avantiprodu)

    Hi,

    How can I enable the debug log of WordPress in order to send it to you? I don’t know how to do that.
    If I disable de plugin I can’t check if it works because the only thing that my site sells is courses. And it was working a few days ago. I tried rolling back the version of Leanrpress tring to find the problem, but I don’t know what else to do.

    This is the kind of error I found:

    2022-07-04T04:19:57+00:00 CRITICAL Uncaught Error: Call to a member function get_item_link() on bool in /home/andrespr/public_html/wp-content/plugins/learnpress/inc/class-lp-page-controller.php:136
    Stack trace:
    #0 /home/andrespr/public_html/wp-includes/class-wp-hook.php(309): LP_Page_Controller->post_type_link()
    #1 /home/andrespr/public_html/wp-includes/plugin.php(191): WP_Hook->apply_filters()
    #2 /home/andrespr/public_html/wp-includes/link-template.php(370): apply_filters()
    #3 /home/andrespr/public_html/wp-includes/link-template.php(201): get_post_permalink()
    #4 /home/andrespr/public_html/wp-includes/sitemaps/providers/class-wp-sitemaps-posts.php(128): get_permalink()
    #5 /home/andrespr/public_html/wp-includes/sitemaps/class-wp-sitemaps.php(208): WP_Sitemaps_Posts->get_url_list()
    #6 /home/andrespr/public_html/wp-includes/class-wp-hook.php(307): WP_Sitemaps->render_sitemaps()
    #7 /home/andrespr/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #8 /home/andrespr/public_html/wp-includes/plugin.php(476): WP_Hook->do_action()
    #9 /home/andrespr/public_html/wp-includes/template-loader.php(13): do_action()
    #10 /home/andrespr/public_html/wp-blog-header.php(19): require_once('/home/andrespr/...')
    #11 /home/andrespr/public_html/index.php(17): require('/home/andrespr/...')

    Can you help us?
    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Students can’t access courses’ is closed to new replies.