Notice: Undefined variable: factory in /var/www/api.dimerc.cl/public_html/external/general_api/database/factories/ModelFactory.php on line 15

Fatal error: Uncaught Error: Call to a member function define() on null in /var/www/api.dimerc.cl/public_html/external/general_api/database/factories/ModelFactory.php:15 Stack trace: #0 {main} thrown in /var/www/api.dimerc.cl/public_html/external/general_api/database/factories/ModelFactory.php on line 15