NullPropertyFetch# Error at levels All Emitted when trying to fetch a property on a null value <?php $a = null; echo $a->foo; Further resources# CWE-476 Get Psalm news by email News about Psalm, a few emails a month. You can unsubscribe at any time. Email Subscribe I accept the privacy policy