title: The method is there, but I cannot use it?
body: <p><code>Fatal error: Call to a member function get() on a non-object</code> on</p>
  
  <pre><code>pr($transaction-&gt;invoice-&gt;get());
  </code></pre>
  
  <p>I am getting a weird message. I know for sure the method is there, and is available to use, and even double checked before using it. What's wrong here?</p>
  
  <pre><code>pr(get_class_methods($transaction-&gt;invoice));
  Array
  (
      [0] =&gt; __construct
      [1] =&gt; get
      [2] =&gt; __toString
      [3] =&gt; getHref
      [4] =&gt; setHref
      [5] =&gt; _get
  )
  </code></pre>
  
  <p><strong>Update:</strong></p>
  
  <p><code>var_dump(is_object($transaction-&gt;invoice));</code> evaluated as <code>bool(true)</code></p>
  
  <p>None  of the methods work. I'm so confused! I think this is one of those edge cases. I'm using Recurly library.</p>
  
  <p><strong>Update</strong> </p>
  
  <p>Looks like some objects coming back were un-instantiating themselves. That's weird. I didn't know PHP does this. </p>