Critical Error when Enrolling on course
-
Hello,
Just started receiving a critical error when students enrol on a new course, the the plugin has been working well until now. I have created a video of the error linked below.
Video of the error:
https://bolton365net-my.sharepoint.com/:v:/g/personal/websitecontent_bolton365_net/EU7Xj4xTXvZNiUizgGdwb1MBs1zY8_cAk72yBzZ2xYBi1A?e=mivYlOMy setup details are:
WordPress 5.6
PHP 7.4
Theme Ocean WP 2.0.2
LearnPress Version 3.2.8.5Error Logs
[Thu Jan 21 09:02:54 2021] [error] [client 212.121.202.251:0] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to a member function get_item_id() on string in /home/sites/some-directory/learninghub/wp-content/plugins/learnpress/inc/emails/types/class-lp-email-type-enrolled-course.php:81\nStack trace:\n#0 /home/sites/some-directory/learninghub/wp-content/plugins/learnpress/inc/emails/class-lp-email-enrolled-course-instructor.php(69): LP_Email_Type_Enrolled_Course->get_object()\n#1 /home/sites/some-directory/learninghub/wp-content/plugins/learnpress/inc/emails/types/class-lp-email-type-enrolled-course.php(168): LP_Email_Enrolled_Course_Instructor->trigger(‘2609’, 326, ‘2609’)\n#2 /home/sites/some-directory/learninghub/wp-includes/class-wp-hook.php(287): LP_Email_Type_Enrolled_Course->auto_enroll_trigger(3095, ‘pending’)\n#3 /home/sites/some-directory/learninghub/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)\n#4 /hoYour help will be very much appreciated.
Thank you
The page I need help with: [log in to see the link]
- The topic ‘Critical Error when Enrolling on course’ is closed to new replies.