Spontaneously when I started working on a project earlier today a function that was working perfectly fine earlier simply failed. This was curious because the last time I was working on it, it was working fine.
All that was left to do was revert to an earlier stage of the project in which I know for a fact that my function was working.
I reverted to several previous stages and the function still was not functioning.
Other people when they cloned my work found that it is functioning fine. It is only when I try to access it that it doesn't work.
The only lead I have is that my git was not functioning properly earlier. I think a file was corrupted and I fixed it by resetting my working repository and copying over my work.
Everything seemed fine after this fix.My function was working when I pushed it to github.