Uncaught Error: Call to a member function get_cart()
-
Hello,
I have this error when i try to access the content of some pages in the admin of my website :
“Uncaught Error: Call to a member function get_cart() on null in /home/clicargecs/www/clicargentique/wp-content/plugins/tutor/classes/Utils.php:5789″
Stack trace:
#0 /home/clicargecs/www/clicargentique/wp-content/plugins/tutor/includes/tutor-template-functions.php(479): TUTOR\Utils->is_course_added_to_cart(9817)
#1 /home/clicargecs/www/clicargentique/wp-content/plugins/tutor/templates/loop/footer.php(10): tutor_course_loop_price()
#2 /home/clicargecs/www/clicargentique/wp-content/plugins/tutor/includes/tutor-template-functions.php(114): include(‘/home/clicargec…’)
#3 /home/clicargecs/www/clicargentique/wp-content/plugins/tutor/includes/tutor-template-functions.php(252): tutor_load_template(‘loop.footer’)
#4 /home/clicargecs/www/clicargentique/wp-includes/class-wp-hook.php(287): tutor_course_loop_footer(”)
#5 /home/clicargecs/www/clicargentique/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
#6 /home/clicargecs/www/clicargentique/wp-includes/plugin.php(478): WP_Hook->do_action(Array)Additionnal informations :
WordPress version 5.5.3
Thème actuel : storefront-child (version 1.0)
Extension actuelle : Tutor LMS (version 1.7.6)
PHP version 7.4.8Everything seems ok on my site, but the problem is in the admin. I have no longer access to some pages (home and formations), theses pages which in is integrated a Tutor Lms Shortcode. When i try to access these pages there is just a message of critical error.
Some days ago the access to these pages was ok so maybe the problem appears just after the last update of the extension Tutor Lms ?
Can you help me ?
Thanks
The page I need help with: [log in to see the link]
- The topic ‘Uncaught Error: Call to a member function get_cart()’ is closed to new replies.