Skip to content

Fatal Error during importing course #2249

Description

@nrherron92

Reproduction Steps

  • HS-200565
  • Issue course .json file attached to ticket
  • Go into LifterLMS import and try to import the course
  • Now, I did get a fatal error as well but mine was a timeout error, the user isn't getting a timeout error.

Expected Behavior

  • you can import the course

Actual Behavior

  • a fatal error

Error Messages / Logs

  • Include any relevant error messages or log files
[30-Aug-2022 03:15:17 UTC] PHP Fatal error:  Uncaught Error: Call to a member function get() on null in /home/mohamed/public_html/wp-content/plugins/lifterlms/includes/notifications/views/class.llms.notification.view.manual.payment.due.php:191
Stack trace:
#0 /home/mohamed/public_html/wp-content/plugins/lifterlms/includes/abstracts/llms.abstract.notification.view.php(628): LLMS_Notification_View_Manual_Payment_Due->set_merge_data('{{PRODUCT_TITLE...')
#1 /home/mohamed/public_html/wp-content/plugins/lifterlms/includes/abstracts/llms.abstract.notification.view.php(693): LLMS_Abstract_Notification_View->get_merged_string('A payment is du...')
#2 /home/mohamed/public_html/wp-content/plugins/lifterlms/includes/notifications/processors/class.llms.notification.processor.email.php(62): LLMS_Abstract_Notification_View->get_subject()
#3 /home/mohamed/public_html/wp-content/plugins/lifterlms/vendor/deliciousbrains/wp-background-processing/classes/wp-background-process.php(301): LLMS_Notification_Processor_Email->task(11)
#4 /home/mohamed/public_html/wp-content/plu in /home/mohamed/public_html/wp-content/plugins/lifterlms/includes/notifications/views/class.llms.notification.view.manual.payment.due.php on line 191

System and Environment Information

System Report
waxkabaro.com report:

Wordpress
-------------------------------------------

Home Url: https://waxkabaro.com
Site Url: https://waxkabaro.com
Login Url: https://waxkabaro.com/wp-login.php
Version: 6.0.1
Debug Mode: No
Debug Log: No
Debug Display: Yes
Locale: en_US
Multisite: No
Page For Posts: Not Set
Page On Front: Home Page (#2) [https://waxkabaro.com/]
Permalink Structure: /%postname%/
Show On Front: page
Wp Cron: Yes


Settings
-------------------------------------------

Version: 6.10.0
Db Version: 6.10.0
Course Catalog:(#26) []
Membership Catalog:(#27) []
Student Dashboard:(#29) []
Checkout Page: Check out Page (#2275) []
Course Catalog Per Page: 9
Course Catalog Sorting: menu_order
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: US
Currency: USD
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Decimals: 2
Trim Zero Decimals: no
Recurring Payments: yes
Email From Address: [removed]
Email From Name: [removed]
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
-------------------------------------------

Manual: Enabled
Manual Logging: no
Manual Order: 1


Server
-------------------------------------------

Mysql Version: 5.5.5
Php Curl: Yes
Php Default Timezone: UTC
Php Fsockopen: Yes
Php Max Input Vars: 1000
Php Max Upload Size: 2 MB
Php Memory Limit: 256M
Php Post Max Size: 8M
Php Soap: Yes
Php Suhosin: No
Php Time Limt: 30
Php Version: 7.4.30
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/104.0.0.0 Safari/537.36


Theme
-------------------------------------------

Name: WaxkabaroTheme
Version: 3.8.5.1657082551
Themeuri: http://Waxkabaro.com
Authoruri: http://Waxkabaro.com
Template: astra
Child Theme: Yes
Llms Support: Yes


Plugins
-------------------------------------------

Elementor: 3.7.3
LifterLMS: 6.10.0
LifterLMS Advanced Quizzes: 3.0.0
UpdraftPlus - Backup/Restore: 1.22.19
User Switching: 1.7.0


Integrations
-------------------------------------------

BbPress: No
BuddyPress: No


Template Overrides
-------------------------------------------


waxkabaro.net report

Wordpress
-------------------------------------------

Home Url: [removed]
Site Url: [removed]
Login Url: [removed]/wp-login.php
Version: 6.0.1
Debug Mode: No
Debug Log: No
Debug Display: Yes
Locale: en_US
Multisite: No
Page For Posts: Not Set
Page On Front: New home page (#19013) [[removed]/]
Permalink Structure: /%postname%/
Show On Front: page
Wp Cron: Yes


Settings
-------------------------------------------

Version: 6.10.0
Db Version: 6.10.0
Course Catalog: Course Catalog (#9) [[removed]/courses/]
Membership Catalog: Membership Catalog (#10) [[removed]/memberships/]
Student Dashboard: Members Dashboard (#72) [[removed]/members-dashboard/]
Checkout Page: Purchase (#11) [[removed]/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-vouchers
Autogenerate Username: yes
Password Strength Meter: no
Minimum Password Strength: weak
Terms Required: no
Terms Page: Not Set
Checkout Names: required
Checkout Address: hidden
Checkout Phone: required
Checkout Email Confirmation: no
Open Registration: no
Registration Names: required
Registration Address: hidden
Registration Phone: hidden
Registration Voucher: required
Registration Email Confirmation: no
Account Names: required
Account Address: hidden
Account Phone: required
Account Email Confirmation: no
Confirmation Endpoint: confirm-payment
Force Ssl Checkout: no
Country: US
Currency: USD
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Decimals: 0
Trim Zero Decimals: no
Recurring Payments: yes
Email From Address: [removed]
Email From Name: [removed]
Email Footer Text: Waxkabaro.net- Baro wax cilmiga adigo hoygaga joogo
Email Header Image: 1042
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
-------------------------------------------

Manual: Enabled
Manual Logging: no
Manual Order: 0


Server
-------------------------------------------

Mysql Version: 5.5.5
Php Curl: Yes
Php Default Timezone: UTC
Php Fsockopen: Yes
Php Max Input Vars: 5000
Php Max Upload Size: 64 MB
Php Memory Limit: 2024M
Php Post Max Size: 64M
Php Soap: Yes
Php Suhosin: No
Php Time Limt: 3000
Php Version: 7.4.30
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/104.0.0.0 Safari/537.36


Theme
-------------------------------------------

Name: waxkabaro Child
Version: 1.3.2.1533155516
Themeuri: http://waxkabaro.net
Authoruri: http://somatso.com
Template: astra
Child Theme: Yes
Llms Support: Yes


Plugins
-------------------------------------------

Easy WP SMTP: 1.4.7
Elementor: 3.7.3
Fullwidth Page Templates: 1.1.1
LifterLMS: 6.10.0
LifterLMS Customizations: 1.0.0
Nav Menu Roles: 2.1.0
Really Simple SSL: 5.3.3
Redirection: 5.3.2
UpdraftPlus - Backup/Restore: 1.22.19
User Switching: 1.7.0
Yoast SEO: 19.6
Yoast SEO Premium: 19.2


Integrations
-------------------------------------------

BbPress: No
BuddyPress: No


Template Overrides
-------------------------------------------

This issue has be recreated:

  • Locally
  • On a staging site
  • On a production website
  • With only LifterLMS and a default theme

Browser, Device, and Operating System Information

  • Browser name and version
  • Operating System name and version
  • Device name and version (if applicable)

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions