Error solve

There was error in calling function