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