5.7.16: Unresolvable dependency #26766
-
Description:I have a project that produces this error after upgrading to 5.7.16 with composer update:
When i downgrade to 5.7.15 everything works. What could that be? It seems to be only that project. Others work on 5.7.16. |
Beta Was this translation helpful? Give feedback.
Replies: 16 comments
-
Can you first please try one of the following support channels? If you can actually identify this as a bug, feel free to report back. |
Beta Was this translation helpful? Give feedback.
-
I have the same problem with one of my projects... |
Beta Was this translation helpful? Give feedback.
-
I just managed to update a project this way. This is probably related to something specific for your project. Perhaps an external package you use? |
Beta Was this translation helpful? Give feedback.
-
Found the problem: I was missing |
Beta Was this translation helpful? Give feedback.
-
Yep, saw that now. Edited my comment. |
Beta Was this translation helpful? Give feedback.
-
Changes to laravel/laravel between versions, are documented in the upgrade guides. |
Beta Was this translation helpful? Give feedback.
-
@m-lotze awesome! that fixed it for me! |
Beta Was this translation helpful? Give feedback.
-
This may be common knowledge but just in case someone runs into the same issue I had, you may need to delete your cached config manually after updating in |
Beta Was this translation helpful? Give feedback.
-
I had the exact same issue:
I solved it just by changing the method prototype from this: public function __construct($app)
{
$this->app = $app;
} to this: public function __construct(\Illuminate\Foundation\Application $app)
{
$this->app = $app;
} But in fact the origin was that I was missing the following provider: Illuminate\Notifications\NotificationServiceProvider::class What remains mysterious to me is why my kludge was perfectly working and why do I need the NotificationServiceProvider if I am not using it? |
Beta Was this translation helpful? Give feedback.
-
Have had this issue a couple of times with different classes missing. This usually is solved by updating Run in the project folder: |
Beta Was this translation helpful? Give feedback.
-
Please Check your config/app.php |
Beta Was this translation helpful? Give feedback.
-
I had to delete my |
Beta Was this translation helpful? Give feedback.
-
Happened to me as well. Worked just fine for everyone on the team, but one member came across this issue. In the end we blamed the local git repository being corrupted. We set up (cloned) the repo from scratch and then it was working just fine. Just something to try for anyone to whom other solutions didn't work. |
Beta Was this translation helpful? Give feedback.
-
dalal admi agar batana hai to batao nahi to warna chup raho |
Beta Was this translation helpful? Give feedback.
-
This is the perfect solution for this problems thanks for resolving it means a lot |
Beta Was this translation helpful? Give feedback.
I just managed to update a project this way. This is probably related to something specific for your project. Perhaps an external package you use?