Parse error- syntax error, unexpected $end in /public_html/site_folder/wp-content/themes/my-theme/functions.php on line n
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.
Should Fix the Syntax Error Using FTP Only. Often beginners freak out because this error causes your entire site to become inaccessible. If you pasted the code using your WordPress dashboard Appearance » Editor section, then you are locked out. The only way to fix this is to access the file you last edited using FTP