ArgumentCountError thrown

sprintf() expects at least 1 argument, 0 given