Lessons not showing up in Lesson Count
-
Hi I created a lesson for a course but the lesson count is not displaying it in the meta area at the top.
The page I need help with: [log in to see the link]
-
Hi jules22,
Thank you for reaching out!
The issue with the lesson count not displaying in the meta area could be caused by two potential reasons:
- Incorrect SSL setup on your site.
- Background processes not enabled, which may be causing API errors.
Please check the Site Health section in your WordPress dashboard to see if your site is facing any of these issues. If you find any of these errors, please contact your hosting provider to help resolve them.
Once these issues are fixed, the lesson count should display correctly.
Let me know if you need further assistance!
Best regards,
Brianvu-tpOkay thanks, the site is under development, so currently there is no SSL certificate installed. Will this effect any other behaviours ?
Hi jules22,
Thank you for your response.
Since your site is under development and doesn’t have an SSL certificate installed, you can try adding the following code to the ‘functions.php’ file of your child theme to bypass SSL verification temporarily:
add_filter('https_ssl_verify', '__return_false');
If this resolves the issue, it indicates that the problem is related to your SSL configuration. Once SSL is properly set up, the lesson count should display correctly.
If the issue persists, it might be related to
cURL
or other server-side configurations. You can check the error messages in the Site Health section of WordPress and reach out to your hosting provider to help resolve any server-side issues.Let me know if you need further assistance!
Best regards,
Brianvu-tpHi thanks for the info. This did not resolve the issue. There are the two main issues in site health:
- The REST API encountered an unexpected result Performance
The REST API is one way that WordPress and other applications communicate with the server. For example, the block editor screen relies on the REST API to display and save your posts and pages.
When testing the REST API, an unexpected result was returned:
REST API Endpoint: https://artisalwaysmagic.com/wp-json/wp/v2/types/post?context=edit
REST API Response: (404) Not Found Your site could not complete a loopback request Performance2. Loopback requests are used to run scheduled events, and are also used by the built-in editors for themes and plugins to verify code stability.
The loopback request returned an unexpected http status code, 403, it was not possible to determine if this will prevent features from working as expected.
Hi jules22,
Thank you for the update.
It seems that the issue is not caused by the SSL configuration, but as we mentioned earlier, it is related to the REST API error on your site. The lesson count issue is likely tied to this, as LearnPress relies on the REST API for proper functioning.
To resolve this, please focus on fixing the REST API issue. You might need to check your server configuration or reach out to your hosting provider to help you troubleshoot and fix the REST API and loopback request errors. Once these issues are resolved, the lesson count should display properly.
Let us know if you need further assistance!
Best regards,
Brianvu-tpHi jules22,
We hope you’re satisfied with the response provided. Since we don’t receive your reply after a month, we will close the ticket for now.
If you encounter any further problems or have new questions, please don’t hesitate to open a new ticket here. Thank you so much for contacting our support team.
Thanks & Regards,
LearnPress – Customer Support
- The topic ‘Lessons not showing up in Lesson Count’ is closed to new replies.