title: CakePHP "Fatal error: Class 'Debugger' not found" in a File That Doesn't Reference Debugger
body: <p>I'm getting the error referenced in the title from a file that doesn't reference the Debugger class. If I manually import Debugger, the error still shows up. The line number referenced in the error in the last } ending the class definition in the file. Nothing follows the } (there's not ?> either). The file that I'm getting the error in doesn't directly reference Debugger so far as I can tell (as in, there is no explicit use of Debugger).</p>
  
  <p>here's the stack trace:</p>
  
  <pre><code>( ! ) Fatal error: Class 'Debugger' not found in /home/gregg/workspace/Fueled/dapprly/backend/app/Plugin/Facebook/Controller/Component/FapiComponent.php on line 107
  Call Stack
  #   Time    Memory  Function    Location
  1   0.0003  245664  {main}( )   ../index.php:0
  2   0.0168  1657712 Dispatcher-&gt;dispatch( ) ../index.php:100
  3   0.0237  2753568 Dispatcher-&gt;_invoke( )  ../Dispatcher.php:85
  4   0.0237  2753768 Controller-&gt;constructClasses( ) ../Dispatcher.php:99
  5   0.0237  2755712 ComponentCollection-&gt;init( )    ../Controller.php:638
  6   0.0255  3057112 ComponentCollection-&gt;load( )    ../ComponentCollection.php:52
  7   0.0255  3057600 class_exists ( )    ../ComponentCollection.php:99
  8   0.0255  3057896 App::load( )    ../ComponentCollection.php:0
  9   0.0257  3091416 ErrorHandler::handleError( )    ../ComponentCollection.php:551
  </code></pre>
  
  <p>and here's the context around line 107:</p>
  
  <pre><code>class FapiComponent extends Component {
      // -- snip -- //
  
      public function method()
      {
          $url = urlencode('http://url');
  
          $param = array(
          'access_token' =&gt; '##' ,
          'object' =&gt; 'user',
          'fields' =&gt; 'feed', 
          'callback_url' =&gt; $url);
          $id = $this-&gt;facebook-&gt;getAppId();
          $subs = $this-&gt;facebook-&gt;api('/' . $id . '/subscriptions' , 'POST' , $param);
      }
  } // &lt;-- line 107 ... nothing after this
  </code></pre>