PHP: Notice when error_reporting(E_ALL)
<p>When I try to access info that is not presented in xml like so: <code>$someInfo = $element-&gt;blabla-&gt;cats[0]-&gt;src;</code><br>
PHP shows notice like this: <code>Notice: Trying to get property of non-object</code><br>
How would I settle the matter?</p>
