Fatal error: Uncaught Error: Call to a member function format() on null in /var/www/html/wp-content/themes/magnettheater/inc/OQ-register/get-class-reg-info.php:371 Stack trace: #0 /var/www/html/wp-content/themes/magnettheater/page-register.php(3): get_class_register_info() #1 /var/www/html/wp-includes/template-loader.php(106): include('/var/www/html/w...') #2 /var/www/html/wp-blog-header.php(19): require_once('/var/www/html/w...') #3 /var/www/html/index.php(17): require('/var/www/html/w...') #4 {main} thrown in /var/www/html/wp-content/themes/magnettheater/inc/OQ-register/get-class-reg-info.php on line 371