Avoid error on access if not $error defined