The error message also shows a line number. That line is where the variable is no longer in scope. Correct your indentation in the code and you can more easily see the scope of the variable in...
Type: Posts; User: jps
The error message also shows a line number. That line is where the variable is no longer in scope. Correct your indentation in the code and you can more easily see the scope of the variable in...