Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By donpwinston on
What's going on with the Devel module? I frequently get the following: (In this case I was executing dpm($variables); in a theme_preprocess_menu function but this happens in other situations too.)
The website encountered an unexpected error. Please try again later.
Error: Class "Doctrine\Common\Util\Debug" not found in Drupal\devel\Plugin\Devel\Dumper\DoctrineDebug->export() (line 25 of modules/contrib/devel/src/Plugin/Devel/Dumper/DoctrineDebug.php).
Drupal\devel\Plugin\Devel\Dumper\DoctrineDebug->export() (Line: 86) Drupal\devel\DevelDumperManager->export() (Line: 96) Drupal\devel\DevelDumperManager->message() (Line: 496) dpm() (Line: 44) bnc_barrio_preprocess_menu() (Line: 287) Drupal\Core\Theme\ThemeManager->render() (Line: 436) Drupal\Core\Render\Renderer->doRender() (Line: 201) Drupal\Core\Render\Renderer->render() (Line: 157) Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 578) Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 158) Drupal\Core\Render\Renderer->renderPlain() (Line: 115) Drupal\toolbar\Controller\ToolbarController::preRenderGetRenderedSubtrees() call_user_func_array() (Line: 101) Drupal\Core\Render\Renderer->doTrustedCallback() (Line: 786) Drupal\Core\Render\Renderer->doCallback() (Line: 377) Drupal\Core\Render\Renderer->doRender() (Line: 201) Drupal\Core\Render\Renderer->render() (Line: 157) Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}() (Line: 578) Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 158) Drupal\Core\Render\Renderer->renderPlain() (Line: 278) toolbar_get_rendered_subtrees() (Line: 289) _toolbar_get_subtrees_hash() (Line: 167) toolbar_toolbar()