Clone a course with some students.
Go to LifterLMS >> Reporting >> Courses
You'll see that both the cloned course and parent course show the same number of students
Expected Behavior
I expect the number of students in the cloned course to be zero
Actual Behavior
The cloned course has the same number of students with parent course
Error Messages / Logs
Include any relevant error messages or log files
N/A
### System and Environment Information
<details>
<summary>System Report</summary>
<!-- Paste your System Report between the three backticks below this line -->
3D FlipBook - Lite Edition: 1.10.14
All-in-One WP Migration: 7.36
Bloom: 1.3.11
Bluehost: 2.5.4
Cloudflare: 4.1.0
Disable Right Click For WP: 1.1.6
Divi Supreme Pro: 4.2.0
File Manager Advanced: 3.7
Jetpack by WordPress.com: 9.4
LifterLMS: 4.15.0
LifterLMS Custom Fields: 1.0.2
LifterLMS Customizations: 1.0.0
LifterLMS Helper: 3.1.0
LifterLMS Labs: 1.5.3
LifterLMS PayPal Gateway: 1.3.0
LifterLMS Private Areas: 1.1.2
LifterLMS Stripe Payment Gateway: 5.3.1
LifterLMS WooCommerce: 2.1.3
Loco Translate: 2.5.0
MailPoet 3 (New): 3.59.2
MailPoet 3 Premium (New): 3.59.0
Manage Notification E-mails: 1.6.1
Ninja Forms: 3.4.34.1
Photo Gallery by Supsystic: 1.14.10
Post SMTP: 2.0.21
Smush: 3.8.2
Supreme Modules Lite - Divi Theme, Extra Theme and Divi Builder: 2.3.6
The Events Calendar: 5.3.2.1
The Events Calendar Extension: Calendar Customizer: 1.0.0
The Events Calendar Extension: Divi Compatibility: 1.2.1
The Events Calendar PRO: 5.2.2
Yoast SEO: 15.8
Integrations
BbPress: No
BuddyPress: No
WooCommerce: No
LifterLMS Private Areas: No
Template Overrides
</details>
This issue has be recreated:
+ [x] Locally
+ [x] On a staging site
+ [x] On a production website
+ [x] With only LifterLMS and a default theme
HS-155081
Reproduction Steps
Clone a course with some students. Go to LifterLMS >> Reporting >> Courses You'll see that both the cloned course and parent course show the same number of students
Expected Behavior
I expect the number of students in the cloned course to be zero
Actual Behavior
The cloned course has the same number of students with parent course
Error Messages / Logs
System Report: Wordpress
Home Url: https://susanmanry.com Site Url: https://susanmanry.com Login Url: https://susanmanry.com/wp-login.php Version: 5.6.1 Debug Mode: Yes Debug Log: Yes Debug Display: No Locale: en_US Multisite: No Page For Posts: Not Set Page On Front: Events Page (#1280) [https://susanmanry.com/] Permalink Structure: /%postname%/ Show On Front: page Wp Cron: Yes
Settings
Version: 4.15.0 Db Version: 4.15.0 Course Catalog: Course Catalog (#8735) [https://susanmanry.com/courses/] Membership Catalog: Membership Catalog (#8736) [https://susanmanry.com/memberships/] Student Dashboard: Dashboard (#8738) [https://susanmanry.com/dashboard/] Checkout Page: Purchase (#8737) [https://susanmanry.com/purchase/] Course Catalog Per Page: 9 Course Catalog Sorting: date,DESC Membership Catalog Per Page: 9 Membership Catalog Sorting: menu_order,ASC Site Membership: Not Set Courses Endpoint: my-courses Edit Endpoint: edit-account Lost Password Endpoint: lost-password Vouchers Endpoint: redeem-voucher Autogenerate Username: yes Password Strength Meter: yes Minimum Password Strength: weak Terms Required: yes Terms Page: Not Set Checkout Names: required Checkout Address: hidden Checkout Phone: optional Checkout Email Confirmation: yes Open Registration: no Registration Names: required Registration Address: hidden Registration Phone: hidden Registration Voucher: optional Registration Email Confirmation: yes Account Names: required Account Address: hidden Account Phone: optional Account Email Confirmation: yes Confirmation Endpoint: confirm-payment Force Ssl Checkout: no Country: US Currency: USD Currency Position: left Thousand Separator: , Decimal Separator: . Decimals: 2 Trim Zero Decimals: no Recurring Payments: no Email From Address: me@susanmanry.com Email From Name: Susan Manry Email Footer Text: Email Header Image: Cert Bg Width: 800 Cert Bg Height: 616 Cert Legacy Compat: no
Constants
LLMS_REMOVE_ALL_DATA: undefined LLMS_REST_DISABLE: undefined LLMS_SITE_FEATURE_RECURRING_PAYMENTS: undefined LLMS_SITE_IS_CLONE: undefined
Gateways
PayPal: Enabled PayPal Test Mode: Disabled PayPal Logging: no PayPal Order: 1 Stripe: Enabled Stripe Test Mode: Disabled Stripe Logging: no Stripe Order: 1 Manual: Disabled Manual Logging: Manual Order: 1
Server
Mysql Version: 5.6.41 Php Curl: Yes Php Default Timezone: UTC Php Fsockopen: Yes Php Max Input Vars: 1000 Php Max Upload Size: 256 MB Php Memory Limit: 256M Php Post Max Size: 260M Php Soap: Yes Php Suhosin: No Php Time Limt: 120 Php Version: 7.4.15 Software: Apache Wp Memory Limit: 40M
Browser
HTTP USER AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36
Theme
Name: Divi Version: 4.9.0 Themeuri: http://www.elegantthemes.com/gallery/divi/ Authoruri: http://www.elegantthemes.com Template: Child Theme: No Llms Support: No
Plugins
3D FlipBook - Lite Edition: 1.10.14 All-in-One WP Migration: 7.36 Bloom: 1.3.11 Bluehost: 2.5.4 Cloudflare: 4.1.0 Disable Right Click For WP: 1.1.6 Divi Supreme Pro: 4.2.0 File Manager Advanced: 3.7 Jetpack by WordPress.com: 9.4 LifterLMS: 4.15.0 LifterLMS Custom Fields: 1.0.2 LifterLMS Customizations: 1.0.0 LifterLMS Helper: 3.1.0 LifterLMS Labs: 1.5.3 LifterLMS PayPal Gateway: 1.3.0 LifterLMS Private Areas: 1.1.2 LifterLMS Stripe Payment Gateway: 5.3.1 LifterLMS WooCommerce: 2.1.3 Loco Translate: 2.5.0 MailPoet 3 (New): 3.59.2 MailPoet 3 Premium (New): 3.59.0 Manage Notification E-mails: 1.6.1 Ninja Forms: 3.4.34.1 Photo Gallery by Supsystic: 1.14.10 Post SMTP: 2.0.21 Smush: 3.8.2 Supreme Modules Lite - Divi Theme, Extra Theme and Divi Builder: 2.3.6 The Events Calendar: 5.3.2.1 The Events Calendar Extension: Calendar Customizer: 1.0.0 The Events Calendar Extension: Divi Compatibility: 1.2.1 The Events Calendar PRO: 5.2.2 Yoast SEO: 15.8
Integrations
BbPress: No BuddyPress: No WooCommerce: No LifterLMS Private Areas: No
Template Overrides