search

Home  >  Q&A  >  body text

php - laravel5.1 reports error when executing database data filling

For the newly cloned exercise project, follow the manual steps. When filling the database with data, the following problem occurs. How to deal with it? Is it because the AdminUserTableSeeder.php in the picture below is different from the UserTableSeeder with 17 lines of code? Me I remember that yesterday I executed the fill data command and everything was fine... Then I deleted the entire project and started it again...

世界只因有你世界只因有你2706 days ago692

reply all(2)I'll reply

  • 仅有的幸福

    仅有的幸福2017-06-17 09:17:24

    I feel that your file name and your class name should be inconsistent, which leads to the saying that this seeder does not exist

    reply
    0
  • 欧阳克

    欧阳克2017-06-17 09:17:24

    UserTableSeeder does not exist. Check the code

    reply
    0
  • Cancelreply