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

Old library version used out of the box #4

Open
kumy opened this issue Aug 20, 2017 · 0 comments
Open

Old library version used out of the box #4

kumy opened this issue Aug 20, 2017 · 0 comments

Comments

@kumy
Copy link

kumy commented Aug 20, 2017

On a fresh install, I get error

Framework exception caught: Invalid service definition. Missing 'className' parameter
#0 [internal function]: Phalcon\Di\Service\Builder->build(Object(Phalcon\Di\FactoryDefault), Array, NULL)
#1 [internal function]: Phalcon\Di\Service->resolve(NULL, Object(Phalcon\Di\FactoryDefault))
#2 /var/www/vendor/gte451f/phalcon-json-api-package/src/bin/bootstrap/web.php(22): Phalcon\Di->get('config')
#3 [internal function]: {closure}()
#4 /var/www/public/index.php(41): Phalcon\Mvc\Micro->handle()
#5 {main}

which has been fixed 6 month ago in phalcon-json-api-package

Changing the dependency from

    "require": {
        "php": ">=7.0",
        "gte451f/phalcon-json-api-package": "dev-dev"
    },

to

    "require": {
        "php": ">=7.0",
        "gte451f/phalcon-json-api-package": "dev-master"
    },

I'm not sure if the problem is "an old dependency" or library "gte451f/phalcon-json-api-package:dev-dev" not updated packagist.org

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

1 participant