25

Omg so I've been stuck on this function I'm writing that checks if a certain array value is so many characters long and well, it just wasnt returning false when outside the conditions..

I tried taking it step by step, echoing out every line and it all made sense to me and there were no syntax errors.

Time goes by and inside the configuration file I was testing.. I was changing the value of a DIFFERENT array property than what I was using in my condition. They looked really similar.. fml xD

Comments
  • 3
    Did something similar last week. Spent 2 hours changing code to realize the plugin I was changing wasn't even active.
  • 1
    @sylar182 I've spent half an hour trying to figure out why my Vuejs app won't compile.

    Apparently, "npm run dev" helps a lot.
Add Comment