Using same long gives me error

Hey there, when I’m trying to use the same travelLog to a different function gives me this error, anyone know why?

A post was merged into an existing topic: Correct Direction based off current direction

I merged this topic with the other to keep the project questions together in one place.