hi @melmoniry , not found meaning that class or trait is not in your project. can you check it in vendor folder with path Laravel > Framework > src > Illuminate > Database > Eloquent > Factories ?
if in those folder you not have that Trait class, try to composer dump-autoload or maybe you need re-install your Laravel project.
Hi @adiputra22 thanks for helping, my laravel version is 7 30 3
I actually do not have the factories folder after navigating to it, it's not there
I've tried using composer dump-autoload for it to appear but it didn't not sure why
I've successfully upgraded to laravel 8 and it's finally working, I think it has to do with having used functionalities only supported by laravel 8 thanks for your help