• Students of my course cannot access the lessons any longer. I have tried tweaking the settings and created a new student account by purchasing the course myself, but right after checkout the course is not accessible. The lessons remain locked.
    Please help!

    • This topic was modified 3 years, 2 months ago by alittlewarped.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • I’m seeing something similar. I tired enabling debug. However, when I access as the site admin, there’s no issue. Only as a Subscriber am I seeing the problem.

    I checked my HTTP logs and I’m seeing this error – not sure if it’s related or not:

    PHP message: get_status:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ref_type = 'lp_course'
    			AND item_id = 3492
    			AND user_id = 538
    			ORDER BY us' at line 3

    Also this:

    2021/12/25 04:02:35 [error] 1910#0: *264320 FastCGI sent in stderr: "esponds to your MySQL server version for the right syntax to use near 'ref_id = 1588AND ref_type = 'lp_course'
    			AND item_id = 3500
    			AND user_id = 5' at line 3

    Same issue as this?

    Thread Starter alittlewarped

    (@alittlewarped)

    It seems to be a similar issue yes. When I log in as admin I can access the course, but not as a student, content remains locked.

    I have the same error, does anyone have a solution?

    Plugin Support brianvu-tp

    (@briantp)

    Hi,

    Please try to re-install the LearnPress plugin. You can change the current version of LearnPress to down then click update or remove and install again.
    Note: Let create a backup for the site before re-install it.

    Thanks

    Downgrading (by editing the ./wp-content/plugins/learnpress/learnpress.php file and changing the version number) and then upgrading seems to have resolved the issue for me. Though I will have a few other people try to be sure.

    Thread Starter alittlewarped

    (@alittlewarped)

    Yes, installing the previous version of the plugin has worked! Thanks guys

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Students cannot access lessons’ is closed to new replies.