Parse Error Syntax Error
-
Hi,
We have a website ‘kencef.de’ and tried to change a few things in the functions.php, now the page doesn’t work at all and the only thing that is shown is the ‘Parse Error Syntax Error’. Also there is the ‘unexpected ‘/”, while other people have that issue solved because there was the line and file with the error, none of that was shown to us.Where and / how can we figure that out?
Thanks in advance.
The blog I need help with is: (visible only to logged in users)
-
Btw. the “blog” i need help with is not the tributestonature one but the kencef.de, sorry for the automatic phrase.
-
Hi there!
Please check the code of the functions.php once again. Maybe, you are missing a “}” or a PHP tag “<?php or ?>” is missing somewhere. Or else, keep a backup of your latest file and upload the previous functions.php file.
Here are some links for your reference:
https://stackoverflow.com/questions/11482527/parse-error-syntax-error-unexpected-end-of-file-in-my-php-codehttps://jason.pureconcepts.net/2013/05/fixing-php-errors/
Let me know if that helps.
-
Hey!
I’m really thankful for your quick answer! And it actually worked out for us. The file was basically not closed at the end, so we put the “?>” and uploaded the functions.php again and the website is online again!Thank you very much!
PS.: The references were really helpful too!
-
- The topic ‘Parse Error Syntax Error’ is closed to new replies.