After making changes in your WordPress site, you may see syntax errors or parse errors in your web browser. These usually look similar to:
Parse error: syntax error, unexpected end of file in /app/themes/twentyseventeen/functions.php on line 430
The most common causes of these errors are typos or incorrectly pasted text in your code. To fix syntax errors, log in to your HostPapa dashboard and click My cPanel, then click File Manager.
In File Manager, locate the file named in the error. Right-click the file and select Edit.
Go to the line number specified in the error. Look for errors such as missing brackets, tags, and semicolons, spelling errors, and missing punctuation. In this example, a semicolon is missing at the end of the line.
When you’ve corrected the error, click Save Changes and close the file. Open your site in a web browser and confirm that the error is no longer being displayed.
If you have any questions or need help, you can always contact HostPapa Support by opening a support ticket. Details about how to open a support ticket are here.