SyntaxFix
Write A Post
Hire A Developer
Questions
It happens when you don't properly close the code block:
if (condition){ // your code goes here* { // This doesn't close the code block
Correct way:
if (condition){ // your code goes here } // Close the code block