Warning: Undefined variable $factory in /usr/www/death3/public/controlpanel/database/factories/GameFactory.php on line 11

Fatal error: Uncaught Error: Call to a member function define() on null in /usr/www/death3/public/controlpanel/database/factories/GameFactory.php:11 Stack trace: #0 {main} thrown in /usr/www/death3/public/controlpanel/database/factories/GameFactory.php on line 11