Fatal error: Uncaught Error: Call to a member function define() on null in /home/t1/public_html/database/factories/UserFactory.php:19 Stack trace: #0 {main} thrown in /home/t1/public_html/database/factories/UserFactory.php on line 19