0
respostas

Fatal error: Uncaught Error: Class 'App\Http\Controllers\Controller' not found in

Boa tarde, está ocorrendo o erro: Fatal error: Uncaught Error: Class 'App\Http\Controllers\Controller' not found in

este erro ocorre assim que coloco extends Controller,

Caminho do SeriesControllers.php = App\Http\Controllers

Caminho do Controller.php = App\Http\Controllers, eles estão na mesma pasta.

<?php


    namespace App\Http\Controllers;


    class SeriesController extends Controller
    {

    }
<?php

namespace App\Http\Controllers;

use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Routing\Controller as BaseController;

class Controller extends BaseController
{
    use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
}