Uncaught Error: Call to a member function get_price()
-
When i uodate my learnpress my website says “here has been a critical error on this website.”
When i try to debug it, it through this error.
Uncaught Error: Call to a member function get_price() on bool in /var/www/wp-content/plugins/woocommerce-multi-currency/plugins/learnpress.php:31 Stack trace: #0 /var/www/wp-includes/class-wp-hook.php(305): WOOMULTI_CURRENCY_Plugin_LearnPress->learn_press_course_price_html('$20.00', false) #1 /var/www/wp-includes/plugin.php(189): WP_Hook->apply_filters('$20.00', Array) #2 /var/www/wp-content/plugins/learnpress/inc/course/abstract-course.php(885): apply_filters('learn_press_cou...', '$20.00', false, 11095) #3 /var/www/wp-content/themes/eduma/learnpress-v4/loop/course/price.php(28): LP_Abstract_Course->get_price_html() #4 /var/www/wp-content/plugins/learnpress/inc/lp-template-functions.php(929): include('/var/www/wp-con...') #5 /var/www/wp-content/plugins/learnpress/inc/lp-deprecated.php(1078): learn_press_get_template('loop/course/pri...') #6 /var/www/wp-content/themes/eduma/inc/widgets/courses/tpl/slider-v3.php(95): learn_press_courses_loop_item_price() #7 /var/www/wp-content/plugins/thim-core/inc in <b>/var/www/wp-content/plugins/woocommerce-multi-currency/plugins/learnpress.php
When i roll back to the previous version of learnpress or disable CURCY – WooCommerce Multi Currency Premium plugin, it totally fixed. But, at some point there is a time i must update learnpress and i need the multi currency plugin. So how to solve this issue permanently. Please help.
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Uncaught Error: Call to a member function get_price()’ is closed to new replies.