My project (laravel app) was working fine until I Installed the latest version of xampp (php 7.4) then when I login to my app , I get this error
ReflectionException
Class App\Repositories\StatsRepository does not exist
StatsRepository (dependency injection) is injected in my StatsController
class StatsController extends Controller
{
private $statsRepository;
public function __construct(StatsRepository $statsRepository)
{
$this->statsRepository = $statsRepository;
I changed NOTHING in my code I already tested with :
- composer dump-autoload
- php artisan cache:clear
- php artisan optimize ... etc
Aucun commentaire:
Enregistrer un commentaire