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?
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?
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.
Yes, installing the previous version of the plugin has worked! Thanks guys