Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

I followed the doc of 4.2. MicroKernelTrait throws error #10858

Copy link
Copy link
Closed
@featuriz

Description

@featuriz
Issue body actions

I'm following a doc of symonfy 4.2 MicroKernelTrait
Dated: Jan 10 2019 08:45 AM India ISD.
This causing 2 error.

(1/2) ArgumentCountError

Too few arguments to function Symfony\Component\HttpKernel\Kernel::__construct(), 0 passed in /home/sudhakar/SudhakarK/NB/2019/FZFW/vendor/symfony/http-kernel/Controller/ControllerResolver.php on line 133 and exactly 2 expected

(2/2) InvalidArgumentException

Controller "Kernel" has required constructor arguments and does not exist in the container. Did you forget to define such a service?

How to reproduce:
I followd the turorial of the mentioned page with 4.2 symfony version.

The error is when running http://localhost:8000/random/10
But http://localhost:8000/ works

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Needs ReviewbughasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.