When I follow instructions from Webprofiler README.md I have:
Fatal error: Class '\Drupal\webprofiler\DependencyInjection\TraceableContainer' not found in /var/www/drupal8.loc/core/lib/Drupal/Core/DrupalKernel.php on line 841

Found that:

$class_loader->addPsr4('Drupal\\webprofiler\\', [ __DIR__ . '/../../modules/contrib/webprofiler/src']);

should be:

$class_loader->addPsr4('Drupal\\webprofiler\\', [ __DIR__ . '/../../modules/contrib/devel/webprofiler/src']);

Seems forget to change after merge Webprofiler to devel.
I see that README.md still in progress, created issue just to not forget ;)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

AndrewsizZ created an issue. See original summary.

AndrewsizZ’s picture

AndrewsizZ’s picture

Status: Active » Needs review

  • lussoluca committed 2bc0b69 on 8.x-1.x authored by AndrewsizZ
    Issue #2625736 by AndrewsizZ: Webprofiler README.md Timeline issue
    
lussoluca’s picture

Status: Needs review » Closed (fixed)

Good catch, I've committed this to 8.x-1.x-dev and I'll open a new issue for completing the README file

alar’s picture

I was working on a new Drupal 8 site that didn't have the custom and contrib directories yet. This caught me:
$class_loader->addPsr4('Drupal\\webprofiler\\', [ __DIR__ . '/../../modules/contrib/devel/webprofiler/src']);

Changed to:
$class_loader->addPsr4('Drupal\\webprofiler\\', [ __DIR__ . '/../../modules/devel/webprofiler/src']);

I suppose I should really just add the custom and contrib directories, but...