Fatal error: Uncaught Error: Call to a member function getId() on null in /home/fanavar/domains/fanavar.ac.ir/public_html/module/course/component/view.php:12 Stack trace: #0 /home/fanavar/domains/fanavar.ac.ir/public_html/core/moduleBase.class.php(523): include() #1 /home/fanavar/domains/fanavar.ac.ir/public_html/module/course/mod_course.class.php(45): moduleBase->defaultPrint() #2 /home/fanavar/domains/fanavar.ac.ir/public_html/core/moduleBase.class.php(584): mod_course->modPrint() #3 /home/fanavar/domains/fanavar.ac.ir/public_html/theme/learn/index.php(33): moduleBase->Async_modPrint() #4 /home/fanavar/domains/fanavar.ac.ir/public_html/core/themeManager.class.php(86): include('/home/fanavar/d...') #5 /home/fanavar/domains/fanavar.ac.ir/public_html/index.php(17): themeManager->loadLayout() #6 {main} thrown in /home/fanavar/domains/fanavar.ac.ir/public_html/module/course/component/view.php on line 12