Warning: Undefined variable $factory in /home/dextragr/public_html/visitor.dextragroups.com/database/factories/UserFactory.php on line 21

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