title: InvalidArgumentException in Carbon.php line 425: Trailing data
body: <p>I just recently migrate from MySQL to PostgreSQL.
  I noticed I kept getting this error </p>
  
  <pre><code>InvalidArgumentException in Carbon.php line 425:
  Trailing data
  </code></pre>
  
  <p>Then, I did a global search for <code>Carbon::</code> in my application. I found 47 matches across 15 files.</p>
  
  <p>How do I fix this errors without having to modify all those files ? </p>
  
  <hr>
  
  <p>I <strong>dd()</strong> my object this is what I got </p>
  
  <pre><code>Capture {#412 ▼
    #table: "captures"
    #connection: null
    #primaryKey: "id"
    #perPage: 15
    +incrementing: true
    +timestamps: true
    #attributes: array:6 [▼
      "id" =&gt; 65
      "type" =&gt; "cpe"
      "cpe_mac" =&gt; "000D6721A5EE"
      "device_mac" =&gt; null
      "created_at" =&gt; "2016-05-03 11:20:10-04"
      "updated_at" =&gt; "2016-05-03 11:20:10-04"
    ]
  
     ....
  </code></pre>