This error usually occurs when you are trying to add code snippets into WordPress and have accidentally missed something or the code has incorrect syntax.
The error message would show the startling thing found in the code and the area of the content where the mistake happened with the line number. To fix this issue you should address the punctuation. More often than not it is a missing section or some surprising person in the code.
Login through the FTP to check the editor or see the codes.
Subsequent to introducing the FTP program, associate it to your site and go to the subject document that needs altering. On the off chance that you failed to remember which record you really want to alter, simply take a gander at the blunder code. The blunder will tell you precisely which record and which line you want to alter.
You can either eliminate the code you last added or compose the code in the right sentence structure. Whenever you are finished eliminating/altering the code, save the document and transfer it back to your server. Come to your WordPress site and invigorate the page, and your site will work.
Share your knowledge OR comment if you do not resolve this.