Skip to content
This repository was archived by the owner on Sep 14, 2018. It is now read-only.

An error occurred while loading the web debug toolbar (500: Internal Server Error). #69

@jeremykendall

Description

@jeremykendall

After installing the skeleton per the instructions in the README and running COMPOSER_PROCESS_TIMEOUT=0 composer run and visit http://localhost:8888 or http://localhost:8888/index_dev.php I get the following error in a JS alert:

An error occurred while loading the web debug toolbar (500: Internal Server Error).

Do you want to open the profiler?

That error pops up every time I click "OK". When I hit "Cancel" I see the following:

RuntimeException in ArgumentResolver.php line 82: Controller "Symfony\Bundle\WebProfilerBundle\Controller\ProfilerController::panelAction()" requires that you provide a value for the "$request" argument (because there is no default value or because there is a non optional argument after this one).

    in ArgumentResolver.php line 82
    at ArgumentResolver->getArguments(object(Request), array(object(ProfilerController), 'panelAction')) in HttpKernel.php line 145
    at HttpKernel->handleRaw(object(Request), '1') in HttpKernel.php line 68
    at HttpKernel->handle(object(Request), '1', true) in Application.php line 496
    at Application->handle(object(Request)) in Application.php line 477
    at Application->run() in index_dev.php line 22

Environment: Ubuntu 16.04 LTS and PHP 7.1.0beta3:

PHP 7.1.0beta3 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.1.0-dev, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.1.0beta3, Copyright (c) 1999-2016, by Zend Technologies

Silex Skeleton version "~2.0@dev"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions