Skip to content

New Project build failed #37936

@Fabricio872

Description

@Fabricio872

Symfony version(s) affected: 4.4.11

Description
I have a problem installing new project with symfony cli version 4.18.4. Project seems to install correctly but after running it with symfony CLI server it outputs error:

Argument 1 passed to Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\DoctrineParamConverter::__construct() must be an instance of Doctrine\Common\Persistence\ManagerRegistry or null, instance of Doctrine\Bundle\DoctrineBundle\Registry given, called in /home/fabricio/PhpstormProjects/tw_catalog/tw_catalog_build/var/cache/dev/ContainerPxvsF1h/srcApp_KernelDevDebugContainer.php on line 4575

And also the error message seems broken (see attached image) also in image the profiler is in middle of the page it is because i captured whole page with firefox screenshots not only visible part

How to reproduce

  • installl project with command:
    symfony new tw_catalog_build --version=4.4 --full
  • run dev enviroment with command:
    symfony serve

i have php version 7.4.3, Composer version 1.10.1 and OS Ubuntu 20.04

Possible Solution

Additional context

Screenshot_2020-08-25 Welcome to Symfony

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions