Laravel FatalErrorException in Handler.php line 25

前端 未结 3 721
無奈伤痛
無奈伤痛 2020-12-21 09:20

I\'m getting the following error on random occasions, working on a Laravel 5.1 project on the latest homestead with PHP7

FatalErrorException in Handler.php l         


        
3条回答
  •  渐次进展
    2020-12-21 09:41

    I had the same problem when running seeders Notflip . I'm usign Laravel framework 5.0.34. I had this structure:

    App/Models/Users/ (My users's Models here)

    After moving my users's models to the App directory, my seeder problem was solved.

    Check your namespaces and put under consideration your Laravel Framework version before make changes in the framework.

    Hope it helps!

提交回复
热议问题