I am getting the following fatal error once I enable web profiler

after installing the module

page /admin/modules

Recoverable fatal error: Argument 2 passed to Drupal\Core\EventSubscriber\FinishResponseSubscriber::__construct() must be an instance of Drupal\Core\Config\ConfigFactory, instance of Drupal\webprofiler\Config\ConfigFactoryWrapper given, called in /Users/martin/sites/drupal/sites/default/files/php/service_container/service_container_prod/8dce9ae72105c3ed7e777e44e3fd77158655432197791558ccbef4e52e750ecc.php on line 2255 and defined in Drupal\Core\EventSubscriber\FinishResponseSubscriber->__construct() (line 49 of core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php).

The Actual error is in core -

The solution is to make the FinishResponseSubscriber::__construct work with a generalized interface (ConfigFactoryInerface) not a specific ConfigFactory

There is already a core issue which is RTBC and will fix this ( https://drupal.org/node/2253977#comment-8769787 )

But I am posting this here just in case others start searching the web profiler issue queue for the bug.

Comments

dawehner’s picture

Status: Active » Closed (won't fix)

Well yeah, this is a core bug, sadly :( We really can't do anything against that.