Support » Plugin: LifterLMS » Student Dashboard Notification Tab Fatal Error

  • Resolved thecurator


    Hi LifterLMS Team,

    I have started receiving a fatal error only when clicking on the notifications tab on the student dashboard page. All other tabs are working fine.
    I have used the shortcode method to assign the lifterlms essential pages to my preferred pages and added simple additional custom CSS in the customiser. I did check all tabe following the changes and everything worked fine until few hours later when I received the error.
    I have followed all troubleshooting I could find and flushed cache with no avail.

    Copy of error message below:

    Fatal error: Uncaught Error: Call to a member function get() on null in /home/entpass9/public_html/wp-content/plugins/lifterlms/includes/notifications/views/class.llms.notification.view.lesson.complete.php:102 Stack trace: #0 /home/entpass9/public_html/wp-content/plugins/lifterlms/includes/abstracts/llms.abstract.notification.view.php(468): LLMS_Notification_View_Lesson_Complete->set_merge_data(‘{{COURSE_TITLE}…’) #1 /home/entpass9/public_html/wp-content/plugins/lifterlms/includes/abstracts/llms.abstract.notification.view.php(520): LLMS_Abstract_Notification_View->get_merged_string(‘{{STUDENT_NAME}…’) #2 /home/entpass9/public_html/wp-content/plugins/lifterlms/includes/abstracts/llms.abstract.notification.view.php(182): LLMS_Abstract_Notification_View->get_title() #3 /home/entpass9/public_html/wp-content/plugins/lifterlms/includes/abstracts/llms.abstract.notification.view.php(384): LLMS_Abstract_Notification_View->get_basic_html() #4 /home/entpass9/public_html/wp-content/plugins/lifterlms/includes/models/model.llms.not in /home/entpass9/public_html/wp-content/plugins/lifterlms/includes/notifications/views/class.llms.notification.view.lesson.complete.php on line 102

    I would greatly appreciate your help with this matter.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Update:

    Error message now reads:

    Fatal error: Uncaught Error: Call to a member function get() on null in /home/entpass9/public_html/wp-content/plugins/lifterlms/includes/notifications/views/class.llms.notification.view.lesson.complete.php:96 Stack trace: #0 /home/entpass9/public_html/wp-content/plugins/lifterlms/includes/abstracts/llms.abstract.notification.view.php(468): LLMS_Notification_View_Lesson_Complete->set_merge_data(‘{{COURSE_PROGRE…’) #1 /home/entpass9/public_html/wp-content/plugins/lifterlms/includes/abstracts/llms.abstract.notification.view.php(520): LLMS_Abstract_Notification_View->get_merged_string(‘{{STUDENT_NAME}…’) #2 /home/entpass9/public_html/wp-content/plugins/lifterlms/includes/abstracts/llms.abstract.notification.view.php(182): LLMS_Abstract_Notification_View->get_title() #3 /home/entpass9/public_html/wp-content/plugins/lifterlms/includes/abstracts/llms.abstract.notification.view.php(384): LLMS_Abstract_Notification_View->get_basic_html() #4 /home/entpass9/public_html/wp-content/plugins/lifterlms/includes/models/model.llms.noti in /home/entpass9/public_html/wp-content/plugins/lifterlms/includes/notifications/views/class.llms.notification.view.lesson.complete.php on line 96

    Plugin Author Thomas Patrick Levy



    Is it possible that you deleted the lesson(s) that were associated with these notifications?

    I’m not seeing any apparent issues so I’m guessing at this. I didn’t think about handling a notification for a course / lesson / quiz that no longer exists when you go to view it.

    If you can confirm that that will help me fix this issue a bit quicker.

    If not, please gather the information in the sticky and drop that here so I can look further into the issue.



    Thanks for your reply.

    I had not created any lessons so far. The only course/lessons I deleted were the default DEMO LifterLMS course installed during setup.

    Here is the info requested:

    Home Url:
    Site Url:
    Version: 4.7.5
    Debug Mode: No
    Locale: en_GB
    Multisite: No
    Page For Posts: ENT PASS Blog (#531)
    Page On Front: Home (#8)
    Permalink Structure: /%postname%/
    Show On Front: page
    Wp Cron: Yes


    Version: 3.8.1
    Db Version: 3.8.1
    Course Catalog: Course Catalog (#1235)
    Course Catalog Per Page: -1
    Course Catalog Sorting: title,ASC
    Membership Catalog: Membership Catalog (#1234)
    Membership Catalog Per Page: 9
    Membership Catalog Sorting: menu_order,ASC
    Site Membership: Not Set
    Student Dashboard: Members Dashboard (#1237)
    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: medium
    Terms Required: yes
    Terms Page: Not Set
    Checkout Names: required
    Checkout Address: hidden
    Checkout Phone: hidden
    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: hidden
    Account Email Confirmation: yes
    Checkout Page: Checkout (#1236)
    Confirmation Endpoint: confirm-payment
    Force Ssl Checkout: no
    Country: GB
    Currency: GBP
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Decimals: 2
    Trim Zero Decimals: no
    Recurring Payments: no
    Email From Address:
    Email From Name:
    Email Footer Text:
    Email Header Image:
    Cert Bg Width: 800
    Cert Bg Height: 616
    Cert Legacy Compat: no


    Manual: Disabled
    Manual Logging: no
    Manual Order: 1


    Mysql Version: 5.6.28
    Php Curl: Yes
    Php Default Timezone: UTC
    Php Fsockopen: Yes
    Php Max Input Vars: 1000
    Php Max Upload Size: 128 MB
    Php Memory Limit: 768M
    Php Post Max Size: 128M
    Php Soap: Yes
    Php Suhosin: No
    Php Time Limt: 120
    Php Version: 7.1.5
    Software: Apache
    Wp Memory Limit: 128M


    Name: Sydney Child
    Version: 1.38.1493166255
    Template: sydney
    Child Theme: Yes
    Llms Support: No


    Anywhere Elementor: 0.4
    Coming Soon Page & Maintenance Mode by SeedProd: 5.0.10
    Contact Form 7: 4.7
    Easy Updates Manager: 6.3.0
    Elementor: 1.4.8
    Elementor Addon Elements: 0.5
    LifterLMS: 3.8.1
    LifterLMS Labs: 1.2.2
    MailPoet Newsletters: 2.7.10
    NavMenu Addon For Elementor: 1.0.4
    SG Optimizer: 3.3.1
    Smart Slider 3: 3.1.10
    UpdraftPlus – Backup/Restore: 1.13.1
    Wordfence Security: 6.3.9
    WP Smush: 2.7.1
    Yoast SEO: 4.8


    BbPress: No
    BuddyPress: No

    Let me know if you need any further information.


    I have found the line that the error log is referring to.

    I have included these here in case it is of help to you:

    95 case ‘{{COURSE_PROGRESS}}’:
    96 $progress = $this->user->get_progress( $this->post->get( ‘parent_course’ ), ‘course’ );
    97 $code = lifterlms_course_progress_bar( $progress, false, false, false );



    Despite updating to the LLMS v. 3.9.1, I still get the same error message on the notifications tab.

    I did notice that you added a fix for notifications for lessons that do not exist but this does not seem to fix the issue.
    I have attempted all the troubleshooting I can think of at this point with no avail so any help will be much appreciated!


    Plugin Author Thomas Patrick Levy



    The past week has been very taxing on my body. A hugely increased support load and I haven’t been getting as much rest as required to function at a descent capacity.

    I didn’t actually take a stab at this issue in our latest release but I think I know where to start (thanks to your information). I’m hoping to have this resolved in our next release and I appreciate your patience.


    Plugin Contributor LifterLMS



    3.9.2 should resolve this issue.

    Thanks for you patience!

    Problem solved with the update to 3.9.2.

    Thanks for your help guys!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Student Dashboard Notification Tab Fatal Error’ is closed to new replies.