From b147cfaf15492660d6d878d6815512943446401b Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Tue, 29 Apr 2014 21:42:43 +0200 Subject: [PATCH] [Debug] fix #10313: FlattenException not found because of https://bugs.php.net/42098 --- src/Symfony/Component/Debug/ErrorHandler.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Symfony/Component/Debug/ErrorHandler.php b/src/Symfony/Component/Debug/ErrorHandler.php index 7e8bbc5542..d0566ae18e 100644 --- a/src/Symfony/Component/Debug/ErrorHandler.php +++ b/src/Symfony/Component/Debug/ErrorHandler.php @@ -125,6 +125,9 @@ class ErrorHandler if (!class_exists('Symfony\Component\Debug\Exception\ContextErrorException')) { require __DIR__.'/Exception/ContextErrorException.php'; } + if (!class_exists('Symfony\Component\Debug\Exception\FlattenException')) { + require __DIR__.'/Exception/FlattenException.php'; + } if (PHP_VERSION_ID < 50400 && isset($context['GLOBALS']) && is_array($context)) { unset($context['GLOBALS']);