Thomas Patrick Levy
Forum Replies Created
-
Noted and taken care of, thanks… But I would love to emphasize that the practice symlinking WP core files in this manner isn’t disallowed or frowned upon and it’s common for managed WP hosts to do this to prevent users from breaking their own site…
I’m sure you’re working to try to help users know when they’ve accidentally broken their site by moving core files or overwriting this pluggable function (or when another plugin has done so) but… in my case (and I’m sure the case of other folks on managed hosts) we’re not doing anything wrong and what’s done is out of our control.
Just my unsolicited thoughts on the matter
I’m just chiming in that I’m seeing this error on my server as well.
I’m on a managed WP host (Pagely) and they have what may be a bit of a non-traditional setup.
Mail *is* working on my server I just have the notice on the admin panel.
Current function path: /wordpress-versions/6.0.2/wp-includes/pluggable.php:182
Our actual site is a different path and WP core files are symlinked into the site’s hosted directory.
The actual ABSPATH is like this:
/data/{server_id}/home/{user_name}/sites/{domain}I’d be happy to chat with you about this, want to fire off an email to [email protected]?
I’d like to note, however, that I don’t see developing an integration as a way to work around this particular conflict we’ve found.
Hey there @przembar
If you’re using the block editor you can do this without shortcodes by using block-level visibility settings: https://lifterlms.com/docs/using-block-visibility-settings/
You’ve translated the default value of an option that is editable via the course options and then stored in the database. The default value is used when creating a new course but once you create and save a course the default value is no longer used on the frontend.
To modify this option on an existing course head to the course and find the course options area (below the course content). Click the “Restrictions” tab and edit the text for the “Content Restricted Message” option.
Best,
Also this is (technically) wrong:
$lessonlist = $course->get_lessons( $return = 'lessons' );Should be:
$lessonlist = $course->get_lessons( 'lessons' );- This reply was modified 4 years, 10 months ago by Thomas Patrick Levy. Reason: added "technically"
$lesson->get( 'title' )You can access any lesson properties (as defined on the object, see the docs linked below) using the generic
get()method.Other (mostly computed) information (such as relationships) are accessible via the class methods.
LLMS_Lessondocs: https://developer.lifterlms.com/reference/classes/llms_lesson/Best!
Try this:
$course_id = 123; $course = llms_get_post( $course_id ); // Returns an LLMS_Course object. if ( ! $course ) { // Course ID is not a valid course id. } else { // Use the course object to do stuff. }- This reply was modified 4 years, 10 months ago by Thomas Patrick Levy.
Hey @liqipotato
Give this a shot:
https://developer.lifterlms.com/reference/classes/llms_course/get_lessons/
Any questions let us know!
@travelb4settle we’ll be responding to your other question in that thread: https://ww.wp.xz.cn/support/topic/course-tittle-and-featured-image-ot-showing/
Have you tried reaching out to the theme developer to see why these areas of your site aren’t displaying?
I’m not sure we’re going to be able to figure this out based on the information you’ve provided. The theme developer knows their theme a lot better than we do.
Looking at this right now I feel like there’s probably a conflict of settings somewhere in the theme settings but I’m not sure exactly what it is
Could you reach out to the theme developers directly please?
Thanks,
Forum: Plugins
In reply to: [LifterLMS - WP LMS for eLearning, Online Courses, & Quizzes] Gravity FormPlease open a support ticket in our customer support system about our paid add-ons. We’re *not allowed* to use these forums to support our commerical products!
Thanks
Paying Customers
If you’ve purchased a LifterLMS add-on or subscription via LifterLMS.com you should not post here. Instead open a new support request from your LifterLMS.com account dashboard.
You are not allowed to use these forums to post about commercial products, so please don’t. We will close your thread and direct you to open a support request. Save yourself some time and skip right to our support system at LifterLMS.com!
From our sticky at https://ww.wp.xz.cn/support/topic/welcome-to-the-lifterlms-forums-please-read-before-posting-2/
I have a possible “bug” report that I wanted to submit. I am using the Elementor Pro plugin with LifterLMS and was told by Elementor support to contact Lifter about a “missing has_archive in CPT [Custom Post Type] initialization/registration” with the Lesson post type.
This isn’t a bug, exactly. LifterLMS doesn’t support archives for the lesson post type. We are not missing the
has_archiveparameter during post type registration. We intentionally don’t declare it because archives are not supported. The default value ofhas_archiveisfalse(denoting archives are not supported) and we don’t pass it because the parameter is not required by the WordPress core method in question.Source: https://developer.ww.wp.xz.cn/reference/functions/register_post_type/#has_archive
I’m still working with Elementor support but wanted to reach out and see if there is anything Lifter can do. I know Lifter says it supports Elementor integration but wondered if there is an integration issue on either the Elementor or Lifter side of the equation.
We don’t actually maintain anything that adds support for Elementor. Although, generally Elementor functions with LifterLMS.
It sounds like Elementor only allows templates for post types that support archives? In which case this isn’t really something we can fix. If we’re to add support for archives then we expose functionality we don’t intend to expose.
Archives display a paginated list of all posts of the given post type. For example, the “Blog page” in default WordPress is the “blog” post type archive page. This lists all your blog posts.
The “Course catalog” page is the course post type archive. It lists all your courses.
A lesson archive page would list all your lessons which is *not* how lessons are intended to work. Thus we don’t enable them during post type registration.
Update: Received the following from Elementor regarding the LifterLMS integration:
Everything about this integration was developed by them, so we do not have any control over this integration.
Can this be reviewed by someone from the Lifter team?
We don’t have an elementor integration that we maintain. You may be referring to the 3rd party integration plugin, “Lifter Elements” which is developed by another team (Tangible plugins). If you’re looking for help with this integration plugin you can reach out to Tangible directly: https://tangibleplugins.com/products/lifter-elements/
Hope that clears things up and let us know if you have any other questions
I really don’t know exactly how the minification and concatentation actually works but I have seen caching plugins which make changes to files on your site (like .htaccess, for example) which are not automatically removed on plugin deactivation (but will be on plugin deletion, sometimes).
It could be that… I’m not sure. I’d recommend reaching out to the plugin devs if you’re having issues with that.
Glad you figured it out though
@michaelweiner do you have any concatenation or minification going on with your W3 Total Cache settings? Can you try disabling it for a bit and seeing if that could alleviate the issue?