Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anyone got "Unresolvable dependency resolving"? #184

Open
przor3n opened this issue Jul 13, 2017 · 3 comments
Open

Anyone got "Unresolvable dependency resolving"? #184

przor3n opened this issue Jul 13, 2017 · 3 comments

Comments

@przor3n
Copy link

przor3n commented Jul 13, 2017

Got such error:

PHP Fatal error:  Uncaught exception 'Illuminate\\Contracts\\Container\\BindingResolutionException' 
with message 'Target [Illuminate\\Contracts\\Foundation\\Application] is not instantiable while building [Herbert\\Framework\\Providers\\HerbertServiceProvider].' 
in /home/red/Workspace/pandemonium/eventer/wp-content/plugins/eventer-plugin/vendor/illuminate/container/Container.php:895

Stack trace:
#0 /home/red/Workspace/pandemonium/eventer/wp-content/plugins/eventer-plugin/vendor/illuminate/container/Container.php(735): 
    Illuminate\\Container\\Container->notInstantiable('Illuminate\\\\Cont...')\n

#1 /home/red/Workspace/pandemonium/eventer/wp-content/plugins/eventer-plugin/vendor/illuminate/container/Container.php(608): Illuminate\\Container\\Container->build('Illuminate\\\\Cont...')
#2 /home/red/Workspace/pandemonium/eventer/wp-content/plugins/eventer-plugin/vendor/illuminate/container/Container.php(575): Illuminate\\Container\\Container->resolve('Illuminate\\\\Cont...')
#3 /home/red/Workspace/pandemonium/eventer/wp-content/plugins/eventer-plugin/vendo in /home/red/Workspace/pandemonium/eventer/wp-content/plugins/eventer-plugin/vendor/illuminate/container/Container.php on line 895
@cojocaru3
Copy link

+1

Fatal error: Uncaught exception 'Illuminate\Contracts\Container\BindingResolutionException' with message 'Unresolvable dependency resolving [Parameter #0 [ $app ]] in class Illuminate\Support\ServiceProvider' in D:\xampp\htdocs\wp1\wp-content\plugins\krank\vendor\illuminate\container\Container.php:910 Stack trace: #0 D:\xampp\htdocs\wp1\wp-content\plugins\krank\vendor\illuminate\container\Container.php(848): Illuminate\Container\Container->unresolvablePrimitive(Object(ReflectionParameter)) #1 D:\xampp\htdocs\wp1\wp-content\plugins\krank\vendor\illuminate\container\Container.php(789): Illuminate\Container\Container->resolvePrimitive(Object(ReflectionParameter)) #2 D:\xampp\htdocs\wp1\wp-content\plugins\krank\vendor\illuminate\container\Container.php(758): Illuminate\Container\Container->resolveDependencies(Array) #3 D:\xampp\htdocs\wp1\wp-content\plugins\krank\vendor\illuminate\container\Container.php(608): Illuminate\Container\Container->build('Herbert\Framewo...') #4 D:\xampp\htdocs\wp1\wp-content\plugins\kra in D:\xampp\htdocs\wp1\wp-content\plugins\krank\vendor\illuminate\container\Container.php on line 910

@phaberest
Copy link

phaberest commented Jul 18, 2017

It's already been discussed, but the workaround doesn't seem to work anymore. #172 (comment)

Forcing "illuminate/container": "5.3" and "minimum-stability": "stable" in composer.json seems to do the trick.

@jamesm010
Copy link

@przemekkot i just fixed mine editing composer.json adding "illuminate/container": "v5.3.0", "illuminate/contracts": "v5.3.0" and "minimum-stability": "stable"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants