Answers.Body: <p>The current solution i know of is to change CLogFilter's default dumper from:</p>
  
  <pre><code>public $dumper='var_export';
  </code></pre>
  
  <p>To:</p>
  
  <pre><code>public $dumper='print_r';
  </code></pre>
  
  <p>It even has a comment above it:</p>
  
  <pre><code>/**
   * @var callable or function which will be used to dump context information.
   * Defaults to `var_export`. If you're experiencing issues with circular references
   * problem change it to `print_r`. Any kind of callable (static methods, user defined
   * functions, lambdas, etc.) could also be used.
   * @since 1.1.14
   */
  </code></pre>
  
  <p>My previous answer was criticised because I obviously wasn't clear enough. As for the age of this question, it's only 2 months old.</p>
  
  <p>Note: I've told P&amp;T about this.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-08T23:58:06.617Z
Answers.Text: Added the [logDumpMethod](https://craftcms.com/docs/config-settings#logDumpMethod) config setting so this can be easily configured.
Answers.UserDisplayName: Brad Bell
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-11-21T17:25:16.800Z
Answers.LastActivityDate: 2014-11-21T18:08:51.230Z
Answers.LastEditDate: 2014-11-21T18:08:51.230Z
Answers.UserDisplayName: Jay
Body: <p>When devMode is true, both the front end and admin of my site give me the PHP warning:</p>
  
  <blockquote>
    <p>"<code>var_export</code> does not handle circular references".</p>
  </blockquote>
  
  <p>I've tried disabling plugins, with no luck.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-09-12T00:24:23.640Z
Comments.Text: Can you send a database dump over to support@buildwithcraft.com and we'll see if we can reproduce with your data? Will update the thread here with what we find.
Comments.UserDisplayName: Brad Bell
Tags: <php><devmode>
Title: "PHP Warning: var_export does not handle circular references" when devMode = true
ThreadText: # "PHP Warning: var_export does not handle circular references" when devMode = true
  
  (Asked by: username_0 on 2014-09-11)
  
  When devMode is true, both the front end and admin of my site give me the PHP warning:
  
  > "`var_export` does not handle circular references".
  
  I've tried disabling plugins, with no luck.
  
  **Tags:** php, devmode
  
  > **Comments:**
  > **username_1**: Can you send a database dump over to support@buildwithcraft.com and we'll see if we can reproduce with your data? Will update the thread here with what we find.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2014-11-21. Score: 2
  
  The current solution i know of is to change CLogFilter's default dumper from:
  
  ```
  public $dumper='var_export';
  
  ```
  
  To:
  
  ```
  public $dumper='print_r';
  
  ```
  
  It even has a comment above it:
  
  ```
  /**
   * @var callable or function which will be used to dump context information.
   * Defaults to `var_export`. If you're experiencing issues with circular references
   * problem change it to `print_r`. Any kind of callable (static methods, user defined
   * functions, lambdas, etc.) could also be used.
   * @since 1.1.14
   */
  
  ```
  
  My previous answer was criticised because I obviously wasn't clear enough. As for the age of this question, it's only 2 months old.
  
  Note: I've told P&T about this.
  
  > **Comments:**
  > **username_1**: Added the [logDumpMethod](https://craftcms.com/docs/config-settings#logDumpMethod) config setting so this can be easily configured.  
  
  ---
  
  