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