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

i am facing The service "sonata.user.admin.user" has a dependency on a non-existent service "sonata.admin.manager.orm". #1050

Closed
HaseebIsmail90 opened this issue Oct 3, 2018 · 11 comments
Labels

Comments

@HaseebIsmail90
Copy link

HaseebIsmail90 commented Oct 3, 2018

i am using sonata user bundle devmaster
The service "sonata.user.admin.user" has a dependency on a non-existent service "sonata.admin.manager.orm".
can't find problem

Environment

Sonata packages

$ composer show --latest 'sonata-project/*'
sonata-project/admin-bundle              3.39.0             3.39.0             The missing Symfony Admin Generator
sonata-project/block-bundle              3.12.1             3.12.1             Symfony SonataBlockBundle
sonata-project/cache                     2.0.1              2.0.1              Cache library
sonata-project/core-bundle               3.11.2             3.11.2             Symfony SonataCoreBundle
sonata-project/datagrid-bundle           2.3.1              2.3.1              Symfony SonataDatagridBundle
sonata-project/doctrine-extensions       1.1.0              1.1.0              Doctrine2 behavioral extensions
sonata-project/doctrine-orm-admin-bundle 3.6.2              3.6.2              Symfony Sonata / Integrate Doctrine ORM into the S...
sonata-project/easy-extends-bundle       2.5.0              2.5.0              Symfony SonataEasyExtendsBundle
sonata-project/exporter                  1.9.1              1.9.1              Lightweight Exporter library
sonata-project/google-authenticator      1.1.0              2.2.0              Library to integrate Google Authenticator into a P...```

#### Symfony packages

$ composer show --latest 'symfony/'
#########################
symfony/monolog-bundle v3.3.0 v3.3.0 Symfony MonologBundle
symfony/phpunit-bridge v3.4.16 v4.1.5 Symfony PHPUnit Bridge
symfony/polyfill-apcu v1.9.0 v1.9.0 Symfony polyfill backporting apcu_
functions to lower PHP versions
symfony/polyfill-ctype v1.9.0 v1.9.0 Symfony polyfill for ctype functions
symfony/polyfill-intl-icu v1.9.0 v1.9.0 Symfony polyfill for intl's ICU-related data and classes
symfony/polyfill-mbstring v1.9.0 v1.9.0 Symfony polyfill for the Mbstring extension
symfony/polyfill-php56 v1.9.0 v1.9.0 Symfony polyfill backporting some PHP 5.6+ features to lower PHP versions
symfony/polyfill-php70 v1.9.0 v1.9.0 Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions
symfony/polyfill-util v1.9.0 v1.9.0 Symfony utilities for portability of PHP codes
symfony/security-acl v3.0.1 v3.0.1 Symfony Security Component - ACL (Access Control List)
symfony/swiftmailer-bundle v2.6.7 v3.2.3 Symfony SwiftmailerBundle
symfony/symfony v3.4.16 v3.4.16 The Symfony PHP framework


#### PHP version

$ php -v
##############
PHP 7.2.10 (cli) (built: Sep 13 2018 01:01:10) ( ZTS MSVC15 (Visual C++ 2017) x86 )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies


## Subject

<!--
    Give here as many details as possible.
    Next sections are for ERRORS only.
-->

## Steps to reproduce

## Expected results

## Actual results

<!--
    If it's an error message or piece of code, use code block tags,
    and make sure you provide the whole stack trace(s),
    not just the first error message you can see.
    More details here: https://github.com/sonata-project/SonataUserBundle/blob/4.x/CONTRIBUTING.md#issues
-->
@kunicmarko20
Copy link
Contributor

We have a bug report template for a reason, please fill it.

@maavia10
Copy link

maavia10 commented Oct 3, 2018

i am also using sonata user bundle
Environment
Sonata packages

$ composer show --latest 'sonata-project/*'
3

Symfony packages

$ composer show --latest 'symfony/*'
3.4.1

PHP version

$ php -v
7.2

The service "sonata.user.admin.user" has a dependency on a non-existent service "sonata.admin.manager.orm".

i am also facing this issue
i have just install fresh

@fedy95
Copy link

fedy95 commented Dec 8, 2018

This string is helped me for symfony 4:

  • composer require sonata-project/doctrine-orm-admin-bundle

@v0ff4k
Copy link

v0ff4k commented Mar 7, 2019

i founded mine solution, i forgot to set new Sonata\DoctrineORMAdminBundle\SonataDoctrineORMAdminBundle(), in app/AppKernel.php

@Liuck
Copy link

Liuck commented Mar 26, 2019

composer require sonata-project/doctrine-orm-admin-bundle
解决 symfony4 依赖问题

@phansys
Copy link
Member

phansys commented Jun 23, 2019

@HaseebIsmail90, did any of the above suggestions helped to solve your problem?

@piedrucci
Copy link

i founded mine solution, i have not setted new Sonata\DoctrineORMAdminBundle\SonataDoctrineORMAdminBundle(), in app/AppKernel.php

This works for me too!.. Thanks so much...

@core23
Copy link
Member

core23 commented Oct 29, 2019

Can you please update the docs @piedrucci @v0ff4k

@persfrancobe
Copy link

did you find any solution for this issue?

@stale
Copy link

stale bot commented Jan 31, 2020

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@jordisala1991
Copy link
Member

The docs are updated now, this is no longer relevant

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

No branches or pull requests