`$error` is undefined. `$info['error']` maybe?