Moderator
t-p
(@t-p)
A syntax error indicates that you may have made a mistake while creating your PHP structure. When this error appears it will tell you which file the error appears in (e.g., functions.php) and approximately which line (it may not always be the exact line so be sure to check just before and just after) in the code.
Try:
– fix PHP structure in the file around the line indicated in the error message
– or, upload a fresh copy (unedited) of this file
– or, upload a fresh copy of your theme. If you immediately need to get in the dashboard, you can switch to the default theme by renaming your currently active theme’s folder inside /wp-content/themes/ and adding “-old” to the end of the folder name using FTP or SFTP or any whatever file management application your host provides.
Hi Tara
Thank you very much for replying to me, the error turned out to be that there was a \ missing before the * here:
/* For developers: WordPress debugging mode.
I’m not sure how this happened as I have never edited this, away to have a google to find out how this changed itself! 🙂
Thanks again for your help.