Typo.
Use string to define error type instead of uniqid(), because 512DBCCFCE429 is translated to E_USER_WARNING (512).