This can happen when your FTP client, text editor places a random blank spaces inside the file because of format incapabilities.
Try editing you file locally and then upload them to your web hosting.
This happens and it’s completely random thing. For me it usually happens when I develop locally on Mac and then try to upload files to Linux server file on file bases. The best option is to upload everything as archive and then unarchive it.
Hey, i get same error, only now i cant access my website at all, even as admin
Viewing 4 posts - 1 through 4 (of 4 total)
The topic ‘Getting error “Parse error: syntax error, unexpected T_STRING in” on line 1’ is closed to new replies.
Disclosure: This page contains external affiliate links that may result in us receiving a commission if you choose to purchase mentioned product. The opinions on this page are our own and we don't receive additional bonus for positive reviews.
We change everything WordPress. One WordPress theme at a time.