NUMBER_MOTOR'was not declared in this scope

what do I do

Declare it, in scope.

Or, failing that, post your code.