jeudi 4 janvier 2018

Laravel 5.1 output AuthMiddleware Serverfireteam

BadMethodCallException in Macroable.php line 81: Method aliasMiddleware does not exist.

in Macroable.php line 81
at Router->__call('aliasMiddleware', array('PanelAuth', 'Serverfireteam\Panel\libs\AuthMiddleware')) in PanelServiceProvider.php line 36
at Router->aliasMiddleware('PanelAuth', 'Serverfireteam\Panel\libs\AuthMiddleware') in PanelServiceProvider.php line 36
at PanelServiceProvider->register() in Application.php line 531
at Application->register(object(PanelServiceProvider)) in ProviderRepository.php line 74
at ProviderRepository->load(array('Illuminate\Foundation\Providers\ArtisanServiceProvider', 'Illuminate\Auth\AuthServiceProvider', 'Illuminate\Broadcasting\BroadcastServiceProvider', 'Illuminate\Bus\BusServiceProvider', 'Illuminate\Cache\CacheServiceProvider', 'Illuminate\Foundation\Providers\ConsoleSupportServiceProvider', 'Illuminate\Routing\ControllerServiceProvider', 'Illuminate\Cookie\CookieServiceProvider', 'Illuminate\Database\DatabaseServiceProvider', 'Illuminate\Encryption\EncryptionServiceProvider', 'Illuminate\Filesystem\FilesystemServiceProvider', 'Illuminate\Foundation\Providers\FoundationServiceProvider', 'Illuminate\Hashing\HashServiceProvider', 'Illuminate\Mail\MailServiceProvider', 'Illuminate\Pagination\PaginationServiceProvider', 'Illuminate\Pipeline\PipelineServiceProvider', 'Illuminate\Queue\QueueServiceProvider', 'Illuminate\Redis\RedisServiceProvider', 'Illuminate\Auth\Passwords\PasswordResetServiceProvider', 'Illuminate\Session\SessionServiceProvider', 'Illuminate\Translation\TranslationServiceProvider', 'Illuminate\Validation\ValidationServiceProvider', 'Illuminate\View\ViewServiceProvider', 'Intervention\Image\ImageServiceProvider', 'Collective\Html\HtmlServiceProvider', 'Barryvdh\Debugbar\ServiceProvider', 'Baum\Providers\BaumServiceProvider', 'Barryvdh\TranslationManager\ManagerServiceProvider', 'Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider', 'Greggilbert\Recaptcha\RecaptchaServiceProvider', 'Serverfireteam\Panel\PanelServiceProvider', 'pulsar\Providers\AppServiceProvider', 'pulsar\Providers\HelperServiceProvider', 'pulsar\Providers\AuthServiceProvider', 'pulsar\Providers\EventServiceProvider', 'pulsar\Providers\RouteServiceProvider')) in Application.php line 507
at Application->registerConfiguredProviders() in RegisterProviders.php line 17
at RegisterProviders->bootstrap(object(Application)) in Application.php line 203
at Application->bootstrapWith(array('Illuminate\Foundation\Bootstrap\DetectEnvironment', 'Illuminate\Foundation\Bootstrap\LoadConfiguration', 'Illuminate\Foundation\Bootstrap\ConfigureLogging', 'Illuminate\Foundation\Bootstrap\HandleExceptions', 'Illuminate\Foundation\Bootstrap\RegisterFacades', 'Illuminate\Foundation\Bootstrap\RegisterProviders', 'Illuminate\Foundation\Bootstrap\BootProviders')) in Kernel.php line 222
at Kernel->bootstrap() in Kernel.php line 117
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 87
at Kernel->handle(object(Request)) in index.php line 54

Routes

<?php

get('/', 'FrontendController@index');

get('/bayi-basvuru-formu', function (){
    return view('frontend.bayi-basvuru-formu');
});

  Route::post('contact_store', 
  ['as' => 'contact_store', 'uses' => 'FrontendController@store']);
include 'adminRoutes.php';



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire