Notice: Undefined variable: factory in /var/www/greeffff/database/factories/ModelFactory.php on line 15

Fatal error: Call to a member function define() on null in /var/www/greeffff/database/factories/ModelFactory.php on line 15