Chapter 7 , Create New User

In Chapter 7 it ​​is shown how to create a new user, but when I enter the data required form error appears:

[color="#FF0000"]Please Fix the Following input errors:

Create User must be integer year.

Update User must be integer year.[/color]

What should I do?

You should check and fix validations at method rules(), I believe it resides at User model in your case.