WPGut – Updating failed and shortcode?

As Tom pointed out, the reason you are seeing that error is you shortcode is not returning your desired output, but rather outputting it right in place. This results in a breaking of the REST API and you seeing that error message.

Simple fix:

function register_form_template_f() {
    return '<h1>Hello World! register</h1>';
}

add_shortcode('register_form_template', 'register_form_template_f');

error code: 523