Undefined variable: errors — Laravel 5.2

后端 未结 6 1293
不知归路
不知归路 2021-02-05 18:28

I am new in Laravel and using laravel version 5.2.

I created a controller and request named as ArticlesController and CreateArticleRequest

6条回答
  •  名媛妹妹
    2021-02-05 18:58

    This happens because the file below is not updated in the composer update process, so doesn't have the mapWebRoutes method implemented.

    app/Providers/RouteServiceProvider.php
    

    Copy this file over from a fresh install and it will work. Better, follow the upgrade path on the docs.

提交回复
热议问题