升级到LP 3.0后,由于未在所有文件中设置以下值,我的教育网站出现了问题:
$user = LP_Global::user();
$course_item = LP_Global::course_item();
$course = LP_Global::course();
Fatal error: Uncaught Error: Call to a member function get_id() on boolean
in /home/learnprogramming/public_html/staging/wp-
content/themes/eduma/inc/learnpress-v3-functions.php