title: PHP Warning: main(): Node no longer exists
body: <p>i´m looking for solution for my problem. I´m reading a xml feed which works fine, but sometime 1 node is missing. I always get an error in the logfile. I don´t want to turn off the complete error reporting. Can someone let me know, what´s the best way? Here is my code:</p>
  
  <pre><code>if(isset($im-&gt;price-&gt;attributes()-&gt;amount)) {
  
          $track_amount = $im-&gt;price-&gt;attributes()-&gt;amount;
          $track_currency = $im-&gt;price-&gt;attributes()-&gt;currency;
          } else {
          $track_amount = "0.00000";
          $track_currency = "USD";
          }   
  </code></pre>
  
  <p>I thought this "if" loop can solve the problem, but the error still appears in the error log.</p>