Fatal error: Uncaught Error: Call to a member function format() on null in /home/biofield/public_html/lib/classes/CoursesDisplay.php:571 Stack trace: #0 /home/biofield/public_html/course-details.php(243): CoursesDisplay->get_details_simple(38, Object(mysqli)) #1 {main} thrown in /home/biofield/public_html/lib/classes/CoursesDisplay.php on line 571