learnpress icon indicating copy to clipboard operation
learnpress copied to clipboard

lessons or quizs not display, in edit course page

Open cb360 opened this issue 3 years ago • 5 comments

I have repeatedly installed this plugin in the past two days. It was good at first, but after using it, the lessons and quizs under the chapters on the course editing page cannot be displayed.

When I check mysql, lessons and quizs are associated with the course, but they are not displayed.

I cloused all plugins

wordpress version: 6.0.2 learnpress version: 4.1.7.2

image

image

image

image

These contents were added a few hours ago, and they can be displayed. Now no matter how I add them, they will not be displayed in the list of this editing page after saving, but they are viewed in the lessons or quizs, and are associated with the course.

cb360 avatar Oct 15 '22 15:10 cb360

GIF 2022-10-15 23-25-40

updated,name “111” the lesson is not display in edit page。

GIF 2022-10-15 23-30-20

has associated, but open edit page,it‘s not display.

cb360 avatar Oct 15 '22 15:10 cb360

Hi cb360,

It can be an error from CURL, please install LP v4.1.7.3.2-beta-1 and check to have any errors like the image https://ibb.co/kh77vxq

Thanks.

tungnxt89 avatar Nov 14 '22 03:11 tungnxt89

Good afternoon,

As far as I could check about this issue that i have too, it’s that learnpress isn’t overwriting _lp_info_extra_fast_query in postmeta table for course entry.

Each time you save a lesson on a course, learnpress save that relation on its database in learnpress_section_items… but on control panel ignores that, because it uses that parameter on postmeta.

The weirdest thing is that for same post id it saves two times the same meta_key (“_lp_info_extra_fast_query”), but in any case, it ignores whatever you save on wordpress control panel about the course.

admintrama avatar Mar 22 '23 15:03 admintrama

Hi admintrama,

We save it to "_lp_info_extra_fast_query" to make the query list item of course faster. Use wp_remote_post to run background, but some site error with it, an error like https://ibb.co/kh77vxq. or You can install plugin facebook-for-woocommerce to check background has run normally.

Thanks.

tungnxt89 avatar Mar 24 '23 10:03 tungnxt89