Error thrown

Undefined constant "nr_id"