diff --git a/lib/Cake/Utility/Debugger.php b/lib/Cake/Utility/Debugger.php index ef906659e..e71e0ea5e 100644 --- a/lib/Cake/Utility/Debugger.php +++ b/lib/Cake/Utility/Debugger.php @@ -593,6 +593,11 @@ class Debugger { $reflectionProperties = $ref->getProperties($filter); foreach ($reflectionProperties as $reflectionProperty) { $reflectionProperty->setAccessible(true); + + if (!$reflectionProperty->isInitialized($var)) { + continue; + } + $property = $reflectionProperty->getValue($var); $value = static::_export($property, $depth - 1, $indent);