Orders
-
AuthorPosts
-
-
January 18, 2021 at 5:57 PM #649618ChocolateLoverParticipant
Since the LearnPress plugin update I’ve been getting an error when I create an order. It happens when I click on Update when I create an order from the admin area.
lang=”en-GB”
There has been a critical error on this website. Please check your site admin email inbox for instructions.Learn more about debugging in WordPress.
Error Details
=============
An error of type E_ERROR was caused in line 81 of the file /home/chocola3/oncloudk9.co.uk/wp-content/plugins/learnpress/inc/emails/types/class-lp-email-type-enrolled-course.php. Error message: Uncaught Error: Call to a member function get_item_id() on string in /home/chocola3/oncloudk9.co.uk/wp-content/plugins/learnpress/inc/emails/types/class-lp-email-type-enrolled-course.php:81
Stack trace:
#0 /home/chocola3/oncloudk9.co.uk/wp-content/plugins/learnpress/inc/emails/class-lp-email-enrolled-course-user.php(52): LP_Email_Type_Enrolled_Course->get_object()
#1 /home/chocola3/oncloudk9.co.uk/wp-content/plugins/learnpress/inc/emails/types/class-lp-email-type-enrolled-course.php(168): LP_Email_Enrolled_Course_User->trigger(‘2761’, 29, ‘2761’)
#2 /home/chocola3/oncloudk9.co.uk/wp-includes/class-wp-hook.php(287): LP_Email_Type_Enrolled_Course->auto_enroll_trigger(3346, ‘pending’)
#3 /home/chocola3/oncloudk9.co.uk/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#4 /home/chocola3/oncloudk9.co.uk/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#5 /home/chocola3/oncloudk9.co.uk/wp-content/plugins/learnpress/inc/order/class-lp-order.php(1226): do_action(‘learn-press/ord…’, 3346, -
January 19, 2021 at 9:51 AM #649867DaisyModerator
Hi ChocolateLover,
Please give me your WordPress admin account by using “access information”, see instructions here https://thimpress.com/knowledge-base/send-sites-access-information/, I will check your issue.
And please back up your website before we do anything on your website.
———–
Yours Sincerely,
Daisy
-
January 19, 2021 at 7:48 PM #650114ChocolateLoverParticipantThis reply has been marked as private.
-
January 20, 2021 at 1:39 PM #650406DaisyModerator
Hi ChocolateLover,
We have fixed your issue on your website. Please check again.
If your issue is resolved, please tell us so that we can close this topic.
Sincerely
==============
Thimpress Support
Daisy
-
-
AuthorPosts
You must be logged in to reply to this topic. You can click here