-2
I am with a wordpress installation running on another server and locally, however, when I climbed to another host I received the following error:
Parse error: syntax error, Unexpected '}' in /home/khoru270/public_html/wp-content/themes/u-design/functions.php on line 1
I have checked several times and can not find where this key would be. And as I said is working in two other places.
Follows the code:
http://pastebin.com/P1nTWDSV
The code in Pastebin shows no errors, which version of PHP is using on the server presenting the error?
– Bruno Wego
What is the version of php on your server? Post the contents of /home/khoru270/public_html/wp-content/themes/u-design/functions.php ... The problem seems to me a typo, but it can also be an error with character conversion.
– Guilherme Nascimento
The PHP version is 5.2 Bruno
– Renatogarou
The code is in the Pastebin link
– Renatogarou
Renato, I’m sorry, but I won’t read 3200 lines of code to look for the error for you. No chance. If you say that the same theme works in other places, almost certainly the error is not in that file. If you turn off all plugins, gives the same error?
– brasofilo
I do not believe that there is an error in this code, at least not a syntax error, even putting a die(); in the first line it still shows the same error.
– Renatogarou
Probably the problem and because it is version 5.2 and on your computer should be using a newer version, I recommend that you upgrade to the server because version 5.2 is very obsolete. I recommend version 5.4+.
– Guilherme Nascimento