-
Laravel 5开发API教程第3节3分42秒,ErrorException in LessonsController.php line 108: Undefined index: title
- fourtwothree 发表于 fourtwothree
- 错误信息:`ErrorException in LessonsController.php line 108:Undefined index: title` 代码如下 <?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Requests; use App\Http\Controllers\C
-
Class 'UserTableSeeder' does not exist - Laravel 5.0 [php artisan db:seed]
- thirdriver 发表于 thirdriver
- 我尝试使用laravel5.0初始安装的文件测试填充数据,出现并非常见的由于没有使用use App\User;导致的class 'User' not found错误。 migrations为初始安装默认文件 下面是UserTableSeeder.php <?php use App\User; use Illuminate\Database\Seeder; class UserTableSeeder