Notice: Undefined variable: factory in /home/imevent/public_html/backup/database/factories/ModelFactory.php on line 14

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