Fatal error: Uncaught Error: Wrong parameters for Error([string $message [, long $code [, Throwable $previous = NULL]]]) in /www/htdocs/w00ee1e8/booking/models/form.php:51 Stack trace: #0 /www/htdocs/w00ee1e8/booking/models/form.php(51): Error->__construct('300', 'old course', 'course is outda...') #1 /www/htdocs/w00ee1e8/booking/controller/booking.php(84): form->return_data(Array) #2 /www/htdocs/w00ee1e8/booking/controller/booking.php(23): booking->set_data() #3 /www/htdocs/w00ee1e8/booking/controller/booking.php(141): booking->__construct() #4 /www/htdocs/w00ee1e8/public/buchung/index.php(2): require('/www/htdocs/w00...') #5 {main} thrown in /www/htdocs/w00ee1e8/booking/models/form.php on line 51