gocodebox / gocodebox/lifterlms

Editing a Template in a block theme has blocks missing

Open
#2,707 1 comment 0 reactions 1 assignee Assigned to @brianhogg View on GitHub
Dominant language
PHP
Stars
212
Forks
140
Avg merge
2d 14h
Merged PRs (30d)
19

Description

This seems like a core LifterLMS bug since the "Course Progress" (vs. "Course Progress with Button") block is not searchable even on a default theme like Twenty Twenty Four.

### Reproduction Steps

+ On a site with the Sky Pilot theme activated, go to Appearance > Editor, then go to the Single Lesson template

### Expected Behavior

+ Template loads with no errors

### Actual Behavior

+ Error that the site doesn't include support for the "llms/course-progress" block, but when you view a single lesson, it renders the course progress.

Captura de pantalla 2024-08-06 a las 11 27 19 a  m

### Technical notes

The `llms/course-progress` block is loaded via the included `lifterlms-blocks` helper library/plugin. Might be the timing when the blocks JS is included or a condition of it being included in the back-end while editing a Template that is incorrect.

This issue has be recreated:
+ [ ] Locally
+ [ ] On a staging site
+ [ ] On a production website
+ [ ] With only LifterLMS and a default theme

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.