Warning: Undefined variable $factory in /home/alkhalaffamily/public_html/past_videos/vendor/astrotomic/laravel-translatable/tests/factories/VegetableFactory.php on line 9

Fatal error: Uncaught Error: Call to a member function define() on null in /home/alkhalaffamily/public_html/past_videos/vendor/astrotomic/laravel-translatable/tests/factories/VegetableFactory.php:9 Stack trace: #0 {main} thrown in /home/alkhalaffamily/public_html/past_videos/vendor/astrotomic/laravel-translatable/tests/factories/VegetableFactory.php on line 9