2

I want to migrate table in Laravel Framework.

But when I migrate the table the following bug appears.

artisan migrate

This is the bug

I have tried all solutions in stackoverflow, but anything doesn't work. In .env file, I have set all the values correctly. I checked that many times. I also checked php version and composer version. And added "psr-0" to composer.json and tried composer dump-autoload. I did all ways which I can do.

If anyone have met this bug before, then Please tell me.

Roman M.
  • 101
  • 1
  • 11
  • 1
    I have same issue. I struggled with google but I didn't get any proper answer. Someone said to add "laracasts/generators": "dev-master" in composer.json but it's still not working! – Sergey Aug 25 '17 at 17:08
  • What version of PHP are you using? `Throwable` is available in PHP 7, but not before. – iainn Aug 25 '17 at 17:12
  • I'm using 7.1.8. I checked it already. – Roman M. Aug 25 '17 at 17:16

0 Answers0