lifterlms
lifterlms copied to clipboard
Object Caching breaks the Course Builder and Default Lesson Blocks.
trafficstars
Reproduction Steps
Course Builder
- Install any plugin that provides object caching (The customer was using Object Cache Pro (MU)).
- Open the Course Builder and make any changes.
- The
Savebutton doesn't get activated nor does the automated save run while Object Caching is enabled.
Default Lessons Blocks
- Install any plugin that provides object caching (The customer was using Object Cache Pro (MU)).
- Open an existing lesson with all the default blocks (Lesson Progression, Lesson Navigation.. etc.).
- Once opened in the editor, it removes all the default blocks both in the editor and frontend.
- And it also removes the blocks when creating any new lesson.
Expected Behavior
Course Builder
The Save button should work as expected. It should get enabled or save changes automatically after every change.
Default Lessons Blocks
The blocks shouldn't get removed when opening the existing lessons or creating new lessons by using the Gutenberg editor.
System and Environment Information
System Report
Kundeservice
-------------------------------------------
WordPress
-------------------------------------------
Home Url: https://kurs.lorn.tech
Site Url: https://kurs.lorn.tech
Login Url: https://kurs.lorn.tech/wp-login.php
Version: 6.3.1
Debug Mode: No
Debug Log: No
Debug Display: Yes
Locale: nb_NO
Multisite: No
Page For Posts: Not Set
Page On Front: Hjem (#49) [https://kurs.lorn.tech/]
Permalink Structure: /%postname%/
Show On Front: page
Wp Cron: Yes
Settings
-------------------------------------------
Version: 7.3.0
Db Version: 7.3.0
Course Catalog: Course Catalog (#21) [https://kurs.lorn.tech/courses/]
Membership Catalog: Membership Catalog (#22) [https://kurs.lorn.tech/memberships/]
Student Dashboard: Dashboard (#24) [https://kurs.lorn.tech/dashboard/]
Checkout Page: Purchase (#23) [https://kurs.lorn.tech/purchase/]
Course Catalog Per Page: 9
Course Catalog Sorting: menu_order,ASC
Membership Catalog Per Page: 9
Membership Catalog Sorting: menu_order
Site Membership: Not Set
Courses Endpoint: my-courses
Edit Endpoint: edit-account
Lost Password Endpoint: lost-password
Vouchers Endpoint: redeem-voucher
Autogenerate Username: no
Password Strength Meter: no
Minimum Password Strength:
Terms Required: no
Terms Page: Not Set
Checkout Names:
Checkout Address:
Checkout Phone:
Checkout Email Confirmation: no
Open Registration: no
Registration Names:
Registration Address:
Registration Phone:
Registration Voucher:
Registration Email Confirmation: no
Account Names:
Account Address:
Account Phone:
Account Email Confirmation: no
Confirmation Endpoint: confirm-payment
Force Ssl Checkout: no
Country: NO
Currency: NOK
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Decimals: 2
Trim Zero Decimals: no
Recurring Payments: yes
Email From Address: [email protected]
Email From Name: kurs.lorn.tech
Email Footer Text:
Email Header Image:
Cert Bg Width:
Cert Bg Height:
Cert Legacy Compat:
Constants
-------------------------------------------
LLMS_REMOVE_ALL_DATA: undefined
LLMS_REST_DISABLE: undefined
LLMS_SITE_FEATURE_RECURRING_PAYMENTS: undefined
LLMS_SITE_IS_CLONE: undefined
Gateways
-------------------------------------------
Stripe: Enabled
Stripe Test Mode: Enabled
Stripe Logging: no
Stripe Order: 1
Manuell: Disabled
Manuell Logging: no
Manuell Order: 1
Server
-------------------------------------------
Mysql Version: 5.5.5
Php Curl: Yes
Php Default Timezone: UTC
Php Fsockopen: Yes
Php Max Input Vars: 2500
Php Max Upload Size: 12 MB
Php Memory Limit: 512M
Php Post Max Size: 12M
Php Soap: Yes
Php Suhosin: No
Php Time Limt: 60
Php Version: 7.4.33
Software: Apache/2.4.57 (Debian)
Wp Memory Limit: 40M
Browser
-------------------------------------------
HTTP USER AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36 Edg/117.0.2045.31
Theme
-------------------------------------------
Name: Astra
Version: 4.3.1
Themeuri: https://wpastra.com/
Authoruri: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Template:
Child Theme: No
Llms Support: Yes
Plugins
-------------------------------------------
Astra Pro: 4.3.1
Code Snippets: 3.5.0
Dynamic Visibility for Elementor: 5.0.6
Elementor: 3.16.3
Elementor Pro: 3.16.1
Envato Elements: 2.0.12
LifterLMS: 7.3.0
LifterLMS Advanced Quizzes: 3.0.0
LifterLMS Advanced Videos: 1.0.0-beta.20
LifterLMS Stripe Payment Gateway: 5.5.0
Integrations
-------------------------------------------
BbPress: No
BuddyPress: No
Videos: Vimeo: Yes
Videos: Wistia: No
Videos: YouTube: No
Template Overrides
-------------------------------------------
This issue has been recreated:
- [ ] Locally
- [ ] On a staging site
- [x] On a production website
- [x] With only LifterLMS and a default theme
Install any plugin that provides object caching
Which other plugin did you test?
@eri-trabiccolo
I tested the LiteSpeed Cache. You can find the object caching settings in the LiteSpeed Cache setting in the dashboard.