PHP Call to undefined function
This was a developer mistake – a misplaced ending brace, which made the above function a nested function. I see a lot of questions related to the undefined function error in SO. Let me note down this as an answer, in case someone else have the same issue with function scope. Things I tried to … Read more