Fatal error: Uncaught Error: Call to a member function define() on null in /home/app/htdocs/message_gateway/database/factories/ModelFactory.php:15 Stack trace: #0 {main} thrown in /home/app/htdocs/message_gateway/database/factories/ModelFactory.php on line 15