Replies: 1 comment
-
maybe too late but if you are using the new boostraping way you need to include
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
Currently i having some issue migrating from laravel 10 to laravel 11. It prompt an error
Target [Illuminate\Contracts\Debug\ExceptionHandler] is not instantiable
after i run composer command.Scenario
I run composer command like below:
composer dump-autoload
An error has prompt like a screenshot below:

Since the error it is too general and not show which file causing the error. I try to trace by
dd
in HandleExceptions class in Illuminate\Foundation\Bootstrap.Example like below:
An it shows like screenshot below:

and then i saw CollisionServiceProvider class line 61 has been mentioned on the list.

It shows like the screenshot below:
After that, i commented on that part.

And then, i run again the composer command
composer dump-autoload
.No error prompt.
Need your help to encounter this issue.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions