This is not something big, but may help people if fixed.
The error message line numbers are those in the saved php snippet.
The editor line numbers are those minus 2 because the lines
<?php namespace ProcessWire; if(!defined("PROCESSWIRE"))
die("no direct access");
@dominiklenne I just tested here but the line number matched up for me. Can you paste in the Hanna Code where you are observing the wrong line number? Thanks.
This is not something big, but may help people if fixed. The error message line numbers are those in the saved php snippet. The editor line numbers are those minus 2 because the lines
<?php namespace ProcessWire; if(!defined("PROCESSWIRE")) die("no direct access");
are not visible in the hanna editor.