UndefinedTrace# Error at levels 1–2 Default (2) Error Attempt to trace an undefined variable <?php /** @psalm-trace $x */ echo 'Hello World!'; How to fix# Provide existing variable or remove it 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