Fatal error: Uncaught Error: Call to a member function define() on null in C:\wamp\www\pwm\database\factories\UserFactory.php:20 Stack trace: #0 {main} thrown in C:\wamp\www\pwm\database\factories\UserFactory.php on line 20