our php error() does not take errno argument
typo in error function name