Error on WP 6.2.2: Uncaught Error: Call to a member function get_content()

[ad_1]

After updating WP to 6.2.2 I am having the following error message when viewing a course: “Fatal error: Uncaught Error: Call to a member function get_content() at public_html/wp-content/themes/unicoach/learnpress/single-course/tabs/overview.php:67.

Such line is the following code:

echo Unicoach_Theme_Helper::render_html( $course->get_content() );

Once I comment the line, the error disappears but I don’t have a course description (that’s why you won’t see the error at the page right now). I have disabled all plugins (except for learnpress) and the error persists.

Please help! Thanks

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer