Fatal error: Uncaught exception 'ErrorException' with message 'Undefined variable: data' in /data/www/yfbwww/app/Http/Controllers/Teacher/TeacherIntroduceController.php:318 Stack trace: #0 /data/www/yfbwww/app/Http/Controllers/Teacher/TeacherIntroduceController.php(318): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(8, 'Undefined varia...', '/data/www/yfbww...', 318, Array) #1 [internal function]: App\Http\Controllers\Teacher\TeacherIntroduceController->teacherInfo(Object(Illuminate\Http\Request), Object(App\Entities\Home\Teacher), Object(App\Entities\Home\Setting), Object(App\Entities\Home\Pay_video), Object(App\Entities\Home\Video_teacher), Object(App\Entities\Home\CourseAlbum)) #2 /data/www/cxtilluminate/vendor/illuminate/container/Container.php(507): call_user_func_array(Array, Array) #3 /data/www/cxtilluminate/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(595): Illuminate\Container\Container->call(Array, Array) #4 /data/www/cxtilluminate/vendor/laravel/lumen-framework/src/Concerns/Route in /data/www/yfbwww/app/Http/Controllers/Teacher/TeacherIntroduceController.php on line 318

Fatal error: Uncaught exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Uncaught exception 'ErrorException' with message 'Undefined variable: data' in /data/www/yfbwww/app/Http/Controllers/Teacher/TeacherIntroduceController.php:318 Stack trace: #0 /data/www/yfbwww/app/Http/Controllers/Teacher/TeacherIntroduceController.php(318): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(8, 'Undefined varia...', '/data/www/yfbww...', 318, Array) #1 [internal function]: App\Http\Controllers\Teacher\TeacherIntroduceController->teacherInfo(Object(Illuminate\Http\Request), Object(App\Entities\Home\Teacher), Object(App\Entities\Home\Setting), Object(App\Entities\Home\Pay_video), Object(App\Entities\Home\Video_teacher), Object(App\Entities\Home\CourseAlbum)) #2 /data/www/cxtilluminate/vendor/illuminate/container/Container.php(507): call_user_func_array(Array, Array) #3 /data/www/cxtilluminate/vendor/laravel/lumen-framework/src/Concerns/RoutesRequests.php(595): Illuminate\Container\Container->call(A in /data/www/yfbwww/app/Http/Controllers/Teacher/TeacherIntroduceController.php on line 318