Self-service cancellation from a registered event seems to be broken
Can you try reproducing on https://wpmaster.demo.civicrm.org/ (I did try and wasn't able to).
Looks like its a environment issue. Could you please check your htaccess or server config? Or WP permlinks?