download the file and load it into a text editor that has line numbering 🙂
The quick fix — download a new copy of your theme, extract functions.php, and upload it via FTP replacing the messed up one.
Hi
I have copyed the file into a notpad editor.
It showes only 536 lines ???
Because of the syntax error i am not able to download anything in the word press using dashboard ..
Next step ?
Don’t use the WP dashboard; download via either the file manager in your host’s control panel or via FTP.
>> The quick fix — download a new copy of your theme, extract functions.php, and upload it via FTP replacing the messed up one. <<
What is the correct placing on my server.
I try to put it in the folder
/ wp-content / themes / twentytwelve
Still problems
What is the EXACT error you see?
Please provide a link to your site! Thanks.
I would suggest that you did not really replace the functions.php file.
Be sure you’re replacing wp-content/themes/twentytwelve/functions.php
Also, it’s a bad idea to edit a twenty* theme as they often get updated. An update will blow away your work. Instead, you should child theme it.
A child theme? https://codex.wordpress.org/Child_Themes
To fix your other problem, you could just totally reinstall twentytwelve. Activate another theme, delete twentytwelve, then reinstall.
can u log on my pc with TeamViewer to help me out ?
No.
I’m am 100% sure you mean well but please never offer or ask for credentials on these forums or offer access to your site.
http://codex.wordpress.org/Forum_Welcome#The_Bad_Stuff
Now for the why: The internet is a wonderful place full of very nice people and a few very bad ones. I’m sure everyone here is very nice however, by giving some ones keys to your house you are trusting they wont steal anything. Likewise the person who takes the keys is now responsible for the house FOREVER.
Sorry for asking….
I am not qualified to fix the errors,
So this means by by to my WordPress homepage…..
Life stinks
A miracle … I had and old backup..
This file resolved the problem………….