Open dominiquemariano opened 7 months ago
Curious where these are both triggering / can we recreate?
Here are the related lines in question:
Tags "ID": https://github.com/gocodebox/lifterlms/blob/trunk/templates/course/tags.php#L15
Check probably best to check if there is a post->ID set there in the tags.php file or check here for a post, as the function itself is hooked in several places.
Post Model "post_type": https://github.com/gocodebox/lifterlms/blob/dev/includes/abstracts/abstract.llms.post.model.php#L473
Is your feature request related to a problem? Please describe. Some users are reporting the following warnings from their logs:
Describe the solution you'd like Add a null check to prevent this non-fatal warnings.
Describe alternatives you've considered Just disabling PHP warnings on the server.