Why does this happen? (runtime error message: "No group 4")

My money is on this:

image