Import the model at the top
use App\Models\User;
Summer Sale! All accounts are 50% off this week.
I was in Laravel 8 from Scratch in lesson: Turbo Boost With Factories. At 6:33 and I was getting this error when I tried to run it via their directions: PHP Error: Class "Database\Factories\User" not found in /Users/JKirkInTexas/blog/database/factories/PostFactory.php on line 20 . Does anyone know what is the solution? I have tried changing a few things, but I am not sure what will fix this. Thank you for any help anyone can provide.
Import the model at the top
use App\Models\User;
Please or to participate in this conversation.