Русское сообщество разработки на PHP-фреймворке Laravel.
Ты не вошёл. Вход тут.
Страницы 1
Здравствуйте ,я новичок в laravel , я делаю команду php artisan make:migration create_users_table --create=Form
И мне выдает вот это
PHP Fatal error: Uncaught ErrorException: Method ReflectionParameter::getClass() is deprecated in C:\openserver\domains\localhost\vendor\laravel\framework\src\Illuminate\Container\Container.php:809
Stack trace:
#0 C:\openserver\domains\localhost\vendor\laravel\framework\src\Illuminate\Container\Container.php(809): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
#1 C:\openserver\domains\localhost\vendor\laravel\framework\src\Illuminate\Container\Container.php(789): Illuminate\Container\Container->getDependencies()
#2 C:\openserver\domains\localhost\vendor\laravel\framework\src\Illuminate\Container\Container.php(644): Illuminate\Container\Container->build()
#3 C:\openserver\domains\localhost\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(709): Illuminate\Container\Container->make()
#4 C:\openserver\domains\localhost\vendor\laravel\framework\src\Illuminate\Container\Container.php(231): Illuminate\Foundation\Application->make()
#5 C:\openserver\domains\localhost\vendor\laravel\framework\src\Illuminate\Container\Container.php(746): Illuminate\Container\Container->Illuminate\Container\{closure}()
#6 C:\openserver\domains\localhost\vendor\laravel\framework\src\Illuminate\Container\Container.php(644): Illuminate\Container\Container->build()
#7 C:\openserver\domains\localhost\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(709): Illuminate\Container\Container->make()
#8 C:\openserver\domains\localhost\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\HandleExceptions.php(154): Illuminate\Foundation\Application->make()
#9 C:\openserver\domains\localhost\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\HandleExceptions.php(79): Illuminate\Foundation\Bootstrap\HandleExceptions->getExceptionHandler()
#10 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleException()
#11 {main}
thrown in C:\openserver\domains\localhost\vendor\laravel\framework\src\Illuminate\Container\Container.php on line 809
PHP Fatal error: Uncaught ErrorException: Method ReflectionParameter::getClass() is deprecated in C:\openserver\domains\localhost\vendor\laravel\framework\src\Illuminate\Container\Container.php:809
Stack trace:
#0 C:\openserver\domains\localhost\vendor\laravel\framework\src\Illuminate\Container\Container.php(809): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
#1 C:\openserver\domains\localhost\vendor\laravel\framework\src\Illuminate\Container\Container.php(789): Illuminate\Container\Container->getDependencies()
#2 C:\openserver\domains\localhost\vendor\laravel\framework\src\Illuminate\Container\Container.php(644): Illuminate\Container\Container->build()
#3 C:\openserver\domains\localhost\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(709): Illuminate\Container\Container->make()
#4 C:\openserver\domains\localhost\vendor\laravel\framework\src\Illuminate\Container\Container.php(231): Illuminate\Foundation\Application->make()
\Container->build()
#7 C:\openserver\domains\localhost\vendor\laravel\framework\src\Illuminate\Foundation\Application.php(709): Illuminate\Container\Container->make()
#8 C:\openserver\domains\localhost\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\HandleExceptions.php(154): Illuminate\Foundation\Application->make()
#9 C:\openserver\domains\localhost\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\HandleExceptions.php(79): Illuminate\Foundation\Bootstrap\HandleExceptions->getExceptionHandler()
#10 C:\openserver\domains\localhost\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\HandleExceptions.php(118): Illuminate\Foundation\Bootstrap\HandleExceptions->handleException()
#11 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleShutdown()
#12 {main}
thrown in C:\openserver\domains\localhost\vendor\laravel\framework\src\Illuminate\Container\Container.php on line 809
как быть?:|
Не в сети
Вообщем проблему решил, если кому понадобиться , у меня версия php была .7.1 ,а нужно 7.2 и выше , установил 7.4 прописал в path и ошибка исчезла
Не в сети
Страницы 1