Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Problem router panel in LTS version #18446

Closed
@Preovaleo

Description

@Preovaleo

Hi,

LTS = 2.8.*

there is a problem in the LTS install in the router panel of the profiler:
Attempted to load class "Request" from namespace "Symfony\Bundle\WebProfilerBundle\Controller".
Did you forget a "use" statement for e.g. "Symfony\Component\HttpFoundation\Request" or "Symfony\Component\BrowserKit\Request"?

How to :

  1. install a new lts version of symfony
    php symfony new hello_world lts
  2. start the server
    php app/console server:start
  3. get "/"
  4. go to the Routing panel in the profiler

resolve :

add
use Symfony\Component\HttpFoundation\Request;
in
src/Symfony/Bundle/WebProfilerBundle/Controller/RouterController.php

regards,

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