wpvidZ

Learn WordPress With Video Tutorials

  • Blog
  • Browse
    • Backup & Restore
    • WordPress Localhost
    • WordPress Hosting
    • WordPress themes
    • Version Updates
    • Plugin Tips
    • Security
    • Tutorials
    • WordPress SEO
    • WP Miscellaneous
    • Sitemap
  • WP 5+ Tutorial
  • Search
wpvidZ Blog Tutorials WordPress Fix “Parse Error Functions.php” Video Tutorial
Parse error functions.php

Tutorials

WordPress Fix “Parse Error Functions.php” Video Tutorial

Last updated on May 18, 2017
Posted on July 14, 2010

How to fix if you have an Parse error functions.php notification, which is usually “Parse error: syntax error..functions.php online..”, it is mostly happened afterย you added any codes to your functions.php incorrectly in your WordPress dashboard.

So let’s say you’ve just installed a plugin, and you followed the instruction to paste some codes in your functions.php file, and you added the code there, refreshing your browser, and suddenly you will get this following message:


Parse error: syntax error, unexpected '<' in /home/webinternet/public_html/(my website)/wp-content/themes/yourthemename/functions.php on line 450

First of all, do not be panic. I know whenever you can’t login to your dashboard and you will just see white screen with above error message, you will probably think your whole blog is broken. No it is not. If your error has error establishing database, then read this link instead.

Read the error message carefully

There are many ways to fix it. Re-read the error message again. We use the example above, it said, inside ../wp-content/themes/yourtheme/functions.php on line 450. Pay attention on the word I highlighted to bold fonts. Notice, “themes” word in path, it means inside your theme.

Is the error message showing /wp-content/themes/ or /wp-includes/functions.php?
Important!

If your error message does not contain the “theme” wording, then it is NOT functions.php of your theme. For example, this error support thread is not inside your theme, but insides wp-includes.


Parse error: syntax error, unexpected $end in /home/content/11/79741933/html/youraccountname/wp-includes/functions.php on line 5435

Notice the difference between the bold fonts highlighted text between the first and the second of both error messages. The second one is in your wp-includes/functions.php. It is in fact a different file. So if you read your error message, and you read wp-includes, then you need to upload the fresh functions.php of WordPress, if it does not work, you will need to re-install or manually update your WordPress core files.

But if you read it inside your theme then follow this tutorial.

The error message will look like.

Try these two methods first

1. First, try download fresh functions.php file of your theme, and upload it to your theme folder.

2. If the 1st method above does not work? Then look for that line error code (in this example, it says line 450), and clean the code.

If two methods above did not work, try this latest method. This is the easiest, especially for beginners is delete or rename theme folder. This tutorial is using this easiest and fastest way.

Last method toย fix this parse error functions.php


Video tutorial:

1. Go in to your cPanel, and then “File Manager” and navigate to where you installed WordPress. Let’s say you install it in the root, so go to the root and look for “wp-content“.

Parse error functions.php
File manager icon.
  • Is my site loading fast? I use this shared hosting
  • Try my theme >
wp-content folder.

2. Once you find this folder, look for your theme name, and rename or delete it. In this tutorial, I renamed it.

Rename the theme file.

This will switch your WordPress blog theme to the default theme.

I hope this will be a help if you ever encountered this similar problem, and it is always good if you want to modify something, backup your database and theme files to your computer, or backup your website manually without FTP.

deleted error hostgator how restore

Latest Posts

  • Twenty Nineteen Theme Full Tutorial – Creating a Website
  • Uninstall W3 Total Cache Plugin – Incredibly Easy!
  • Create WordPress Website 2018 on SiteGround Genesis
  • WordPress Noopener Noreferrer Rel Attribute Quick Fix
  • WordPress CDN Setup with MaxCDN and W3 Total Cache Plugin
  • Twenty Seventeen One Page Parallax Scrolling Website Style
  • How To Add Google Map in WordPress Contact Page
  • WordPress 4.7 Justify Text and Underline
  • Twenty Seventeen Footer “Proudly Powered By WordPress” Text
  • How To Add YouTube Subscribe Button To WordPress Website
← Display Image Post In Squared-2 Theme
→ “Error Establishing A Database Connection”-WordPress

Comments

  1. Pham-Pham says

    July 15, 2010 at 3:19 am

    I wish I had your tutorial when I started using WordPress ! Back then, I hadn’t even heard of PHP, and, when I first edited some PHP file, errors happened of course, and I got scared… Sometimes, I was shown a broken page instead of an error message : this was even more scary ! Later, I discovered in cPanel a Log icon, which gives access to the error messages.

    • Kimi says

      July 15, 2010 at 7:37 am

      @Pham-Pham, I understand, i was once new as well.

      i felt it is scary indeed when you have error message, i do feel scare too, especially when i restored this website a few months ago ๐Ÿ˜€

  2. hary says

    July 15, 2010 at 10:24 pm

    thx. helped

    • Kimi says

      July 16, 2010 at 11:40 am

      @hary, Glad it helped! Thanks for commenting

  3. Victoria says

    August 18, 2010 at 2:24 am

    I could not get this to work. I tried to edit the function area (in file manager)…only to get this error:

    Parse error: syntax error, unexpected ‘<' in /wp-content/themes/wp-clear-basic/functions.php on line 25

    When I attempt to edit it, the code is not in the file.
    I'm desperate at this point as my site has been down for awhile. I have contacted the creators of my theme (solostream), but no one is answering questions. They all seem to be "away".

    When you say that renaming will cause it to revert to the "default" theme, how to change it back to the premium theme I purchased?

    Very scary…
    Ty, any advice is appreciated.

    • Kimi says

      August 18, 2010 at 5:39 am

      @Victoria, Hi there,

      Yes, by renaming the theme file (in your case, your theme name is wp-clear-basic, you can rename it to wp-clear-basic1 or anything) this will force your wordpress blog to have your default theme. (avoiding white screen)

      To change back to the premium theme you have purchased, either you upload the original functions.php of wp-clear-basic, or just upload the whole original copy of wp-clear-basic (i hope you saved one original of your theme in your computer) If not, contact the creator/seller to send you the original files.

      Let me know if it works.

  4. victoria says

    August 24, 2010 at 10:22 pm

    Hi Kimi,
    It did work but now I have a new error & can’t download any plugins. Can you change my post (site name) a bit? Google is indexing this comment along with my site. Thanks for you help!

    • Kimi says

      August 25, 2010 at 8:18 am

      @victoria, hey,

      I have changed/removed it, please check if it’s ok for you, let me know if i need to change it again.

      The problem that you can’t download any plugins are definitely not caused by renaming and re-upload your theme files. It can be caused by anything else.

  5. Victoria says

    August 25, 2010 at 6:01 pm

    Hey Kimi,
    Thanks for that! Don’t want THAT to get indexed! All of my problems disappeared when I signed up with a new host. Dashboard issues (plugins that were forever in the “loading” status) and the plugin admin are now perfect! No wonder my “other fixes” weren’t working. My pages now download really FAST! So, I am so glad everything is working fine. If anyone has these issues (dashboard plugins not working correctly & plugins for the site are down)…it’s probably the host. Since I’ve already had so many issues with them…not a big surprise. Thanks so much, without your help I would not have made it this far!

    • Kimi says

      August 26, 2010 at 6:53 am

      @Victoria, No problem ๐Ÿ™‚

      I am so glad you finally found out the reason why you couldn’t install plugins.

      I agree, that host plays big part of our site’s functionality.

      Best.

  6. Michelle says

    August 25, 2010 at 6:23 pm

    Thank you so much for this. I literally did cry when I couldn’t even get into the file to edit it.

    • Kimi says

      August 26, 2010 at 6:55 am

      @Michelle, you’re welcome, glad you fixed it.

  7. Cedric says

    August 25, 2010 at 8:14 pm

    wow..it really shocked me at first.. i was no no no i shouldnt have meddled with that(funtions.php)..haha now thanks to you i can access my site again..THANK YOU =P

    • Kimi says

      August 26, 2010 at 6:56 am

      @Cedric, you’re welcome.

      Editing functions.php is really ok, if you really know in which line you did edit, you can always delete the line through cPanel ๐Ÿ™‚

  8. edward cullom says

    September 16, 2010 at 6:22 am

    THANK YOU FOR THE HELP!!! I thought I lost my entire site, but, was able to fix the error thanks to you!!!!!

    • Kimi says

      September 16, 2010 at 7:02 am

      You’re welcome, the problem was solved!

      Best regards.

  9. Jason Dudley says

    September 17, 2010 at 10:21 am

    Hey Kimi,

    I’m freaking out I have this message because I edited my function.php, but I also backed my function.php up and so when I got the error I pasted the saved function.php code in and it STILL has the error? I don’t understand why? The thing is I have a slightly different error to you.

    Parse error: syntax error, unexpected $end in /home/…/public_html/wp-content/themes/renegade/functions.php on line 353

    I don’t want to have to change the theme name folder because then I have to redownload the theme and lose all my changes. Is there nothing else I can do??

    • Kimi says

      September 17, 2010 at 7:35 pm

      Jason, Glad you got your dashboard back, Enjoy Aussie ๐Ÿ˜€

  10. courtney says

    September 26, 2010 at 1:13 am

    i freaking love you. i almost deleted my entire site and months worth of work (just started…of course i’m a foolish girl and didn’t back up ANYTHING. dumb) and then came across this post. totally forget that cpanel had all my files there and that i could edit to a diff theme!

    you rock, i love you, and once i’m not poor i will donate hundreds of dollars.

    thank you again!

    • Kimi says

      September 26, 2010 at 8:09 am

      Hey Courtney,

      So glad that it is fixed! Yes, i hope you will be rich one day, and still remember me ๐Ÿ˜‰

      Thank you for the nice words!
      Kimi.

  11. newcomer says

    November 14, 2010 at 12:44 am

    hi, I have a big problem with my functions.php file.
    everything I add to it appears in webpage above the header area. I copy the codes from websites from codex wordpress files or… but all codes will be printed in website! can you tell me whats wrong?!

    • Kimi says

      November 14, 2010 at 6:14 am

      Hello there,

      You should not copy code from any websites to yours, because your theme has different codes and css file content.

      To get it back as before, upload your theme backup, i hope you still have one. If not, download again.

      I hope this helps.

  12. Krishna says

    December 10, 2010 at 12:33 pm

    This is definitely a great help! I experience this problem awhile ago but because of your helpful article, I was able to recover my blog.. Thank you very much!

    • Kimi says

      December 10, 2010 at 6:19 pm

      Hello Krishna,

      Glad it was a helpful post for you, thank you for the nice comment!

  13. Lena says

    January 11, 2011 at 6:52 pm

    This was great precise info and I was able to fix my problem immediately! Thanks!

    • Kimi says

      January 12, 2011 at 11:11 am

      Lena,

      Glad it was useful, thanks for leaving your nice comment!

      Kimi.

  14. Justin says

    February 18, 2011 at 1:28 am

    Kimi, Thanks a million, I was trying to add a favicon logo to my site and messed something up in my theme editor. Your directions were clear, concise, and easy to follow. Thank You again… Justin

    • Kimi says

      February 18, 2011 at 3:22 pm

      Hi Justin!

      Most welcome, I am glad it was easy to follow..

      Kind regards,

      Kimi.

  15. Cathy says

    May 7, 2011 at 9:18 am

    You are a life saver! Thanks so much!!

  16. atula says

    May 24, 2011 at 8:46 am

    I really feel terrible, I was trying to add a facebook like button when I got a parse error. Now my site is totally blank. I did try and follow your instructions but still the page is showing a white screen. I am scared that I have lost all my work done for the last 4 months. I renamed my default theme page. I even erased the error from the cpanel.

    • Kimi says

      May 27, 2011 at 6:34 am

      Atula,

      Mind to share you site URL? without seeing it, I can’t actually check.

      It is very important to always backup your site before installing plugin.

  17. KKenner says

    May 30, 2011 at 10:21 pm

    thank you, thank you! You totally just saved me hours of time and headache. I’m very new to WP and thesis and so when I got the error message and the whole site froze up, I got scared … and then I found your site and you saved me. thank you!

  18. Michelle McPeters says

    June 9, 2011 at 1:14 am

    I was changing the theme and the preview worked fine now I cant even get to my dashboard.

    Any help is appreciated. ๐Ÿ™

  19. Chandan says

    June 13, 2011 at 8:50 am

    Thank you so much Kimi. I uploaded the original functions.php file of my theme through ftp and got back my dashboard and blog.

    However, when I tried to rename my theme earlier, I got my dashboard back but not my site.

    Thanks once again for your help.

    • Kimi says

      June 17, 2011 at 11:27 pm

      Hi Chandan,

      I am glad it worked out!

      Cheers,

      Kimi.

  20. Johan says

    August 5, 2011 at 2:18 pm

    THX a lot!!! ๐Ÿ™‚

  21. Johan says

    August 5, 2011 at 2:19 pm

    Thank you

    Johan

  22. kumar says

    August 14, 2011 at 3:31 pm

    hi, when i type my site, it appears like this, Fatal error: Cannot redeclare __popular_posts() (previously declared in /home/bardiaju/public_html/wp-content/themes/state-of-mind/functions.php:208) in /home/bardiaju/public_html/wp-content/themes/state-of-mind/functions.php on line 457,

    so can u pls suggest me how can i fix this, i looked in cpane, but not sure from which part i can fix, can u pls suggest me, thanks

    • Kimi says

      August 15, 2011 at 6:43 pm

      Hi Kumar,

      Welcome to my blog

      Have you watched the video actually? because that’s the fix.

      Or the fastest way, login to your cPanel and delete the state of mind theme folder, it will be fixed.

      I hope this helps

      Kimi.

      • AHH says

        February 6, 2013 at 7:53 am

        I deleted my theme where the error existed and the error is still there!!!!!

        • Kimi says

          February 25, 2013 at 2:48 pm

          Without knowing your site, I can’t help much ๐Ÿ™

  23. Manuel says

    August 15, 2011 at 5:18 am

    Woah… i got this error message…
    im so scared..
    i search immediately for the solutions.
    lucky to found this one ๐Ÿ˜€

    THANKS FOR THIS WONDERFUL TUTORIAL.

  24. kumar says

    August 16, 2011 at 9:09 am

    hi, i deleted but still appears with another one, can u pls suggest me thanks

  25. kumar says

    August 16, 2011 at 9:11 am

    hi, i deleted but still appears with another one, can u pls suggest me thanks, it appears like this now
    Fatal error: Cannot redeclare __popular_posts() (previously declared in /home/bardiaju/public_html/wp-content/themes/wp-andreas09/functions.php:523) in /home/bardiaju/public_html/wp-content/themes/wp-andreas09/functions.php on line 764

    so, if i delete this themes, i wont have left another one, so can upls suggest me, if there will be big problem,, if i delete this theme again,

    i have some themes but in my desktop,
    thanks

  26. kumar says

    August 16, 2011 at 9:53 am

    hi, Kimi, thanks for your help, yes i am able to avoid the problem, and fixed it thanks so much again !

  27. rohan says

    August 17, 2011 at 8:59 pm

    im a complete newbie with php, website development, ftp servers and such. what is cpanel exactly? how do i get it on my computer so i can access the files? is there any way i can access the files without using cpanel?

    this is the error im getting:

    Parse error: syntax error, unexpected ‘=’, expecting ‘)’ in /home5/aezincor/public_html/aezberkeley/wp-content/themes/platformpro/functions.php on line 19

  28. Danielle Lynn says

    September 7, 2011 at 10:09 pm

    Thank you! Awesome and informative post โ€“ helped me fix the problem right away. ๐Ÿ™‚ (It also helped when you wrote โ€œDONโ€™T PANIC!)

  29. Susanna says

    September 12, 2011 at 1:25 am

    Thank you so much for this tutorial and easy to follow video, I managed to fix my parse error with your help and I am hopeless when it comes to things like these! I’m so grateful, thank you so much!

  30. hamed says

    September 29, 2011 at 12:16 pm

    TNX very much. u saved my life!!!

  31. Amy Kingsford says

    October 7, 2011 at 2:06 pm

    Thank you so much for this! It was very easy to follow and luckily I was only in a full blown panic for a few seconds before I found this tutorial! I appreciate your help getting my site back ๐Ÿ™‚

  32. instate says

    November 2, 2011 at 12:39 am

    Hello

    i have read and followed your instructions but i am struggling the last two days and i cannot understand what is happening.

    The error message i am getting is: ‘Parse error: syntax error, unexpected ‘}’ in /home/instate/public_html/wp-content/themes/striking/functions.php on line 20′

    So i tried to go to this file path in order to change the name of my theme (striking) as per your instructions or to change the ‘functions.php

    However this filepath does not exist in my mac!

    I have a folder where my wordpress files are saved (it is in a different file path) and i tried to change the ‘functions.php’ of this folder or to change the name of the theme but nothing is happening…

    Could you please help me because i have no clue what else i can try?

    • Kimi says

      November 3, 2011 at 10:28 am

      Hello

      Welcome to this blog ๐Ÿ™‚

      I have checked your site and the problem still remains..

      I don’t really understand about what you said, “However this filepath does not exist in my mac!” because the filepath should be in your webserver/cPanel or webhost.

      Login to your cPanel, look in wp-content/themes and, delete the folder inside themes, called, “Striking” as the current theme which causes the problem, and it will be solved.

      Let me know if this helps

      Kimi.

  33. instate says

    November 3, 2011 at 10:29 pm

    Thank you so much for your help!

    It was my mistake (proving my lack of experience!) as i was looking for the file path in my hard disk:)

    Thx again, you saved from hours of pointless efforts!!

    • Kimi says

      November 4, 2011 at 7:04 am

      My pleasure instate, glad it is sorted!

      Kind regards

      Kimi

  34. reza says

    November 19, 2011 at 5:38 pm

    i’m so glad i found solution,i have do the same problem thank’s for you
    explain

  35. Mariam says

    December 24, 2011 at 11:32 pm

    Hi Kimi,
    Thank you very much. That was very useful. I really got tensed when I saw the message but it is all sorted now ๐Ÿ™‚

  36. kunal says

    January 12, 2012 at 12:41 pm

    People are glad , i’m too glad because of sharing & work experience of yours . . . I almost got a heart attack on my brains . . . completely fused . . . after just messed with one single line of function.php menu implementation .

    thanks . . . Breathing now . . .

  37. Sefi says

    January 21, 2012 at 10:52 am

    Hi everybody!
    Actually I come frome Hungary, so my english is not the best. Sorry about that.
    That’s my problem. I have no idea what can I do with that. I tried a houndred times to load up the files from wordpress file, to website. But it wasn’t worked! Always the same problem. ๐Ÿ™

    Please help me! ๐Ÿ™

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/clients/client1233/web6724/web/wp-config.php:1) in /var/www/clients/client1233/web6724/web/wp-includes/functions.php on line 3371

    • Kimi says

      January 21, 2012 at 11:38 am

      Hi Sefi!

      Welcome to my blog, Hungary is a beautiful country, I was in Balaton sea ๐Ÿ™‚

      For your problem, if you feel you have not edited some files, that caused by your webhost. Contact your webhost and they will give you a better answer.

      I ever had that problem, and it was gone from alone.

      Best regards

      Kimi.

  38. Sefi says

    January 21, 2012 at 1:19 pm

    Hi Kimi! ๐Ÿ™‚

    I tried to contact my webhost, but they couldn’t help! I’m a little bit pissed off, becouse I can’t do anything. I send them a few letter since 01.02. and now, almost two weeks later, they could’n answer!!
    http://www.freeweb.hu that’s my webhost. And they changed the (I don’t know the word) to a hosting service. So I paid them. And I just don’t know WHY I can’t install the word press to my website!! I have no idea!! ๐Ÿ™ :'( (my website: kertbaratok-paks.fw.hu)

    Please give me some tips!! ๐Ÿ™

  39. Judy says

    February 11, 2012 at 11:13 am

    Hi Kimi,
    Stumbled upon your useful blog when i desperately needed to fix my website that was down. Appreciate your explanation here.
    I hope that you will be able to give some useful feedback to me as I m having a slightly different issue – i encountered parse error pointing to functions.php in twentyten folder inside theme folder but i m actually not using the twentyten theme, i m using another theme. To my surprise, all the files in the theme folder that i m using is empty. I m not sure whether my website is hacked because this happened overnight and i have not deleted any files.

    How can i solved the problem? Really appreciate your help. Thx so much!

    • Kimi says

      February 12, 2012 at 7:38 am

      Hi Judy!

      Welcome to my blog. To be honest, I have never encounter this issue.

      If you are being hacked, only your host can help, by checking the logs file.

      I suggest you to ask your web host about it.

      I hope it will be fixed soon

  40. Judy says

    February 12, 2012 at 8:19 am

    Ok, thanks a lot. Keep up the good work in your website. It is useful ๐Ÿ™‚ to newbie like me.

    • Kimi says

      February 12, 2012 at 8:33 am

      Most welcome Judy!

      Thank you very much for the nice words, truly appreciate it! ๐Ÿ™‚

  41. Magdalena says

    March 4, 2012 at 6:48 pm

    Dear Kimi,
    Iยดm having this very same problem at the moment. I was editting functions.php as I wanted to put Facebook like buttonยดs codes in it and my dashboard went blank since then. I have tried your suggestions, deleting the theme (coraline) and also renaming it (coraline1). Yet, Iยดm still cannot access to my dashboard. It says,
    Index of /wp-admin

    Parent Directory
    error_log

    Apache Server at http://www.sabororiental.com Port 80
    Can you please help? Iยดm new in WP.
    Thanks in advance!

    • Kimi says

      March 4, 2012 at 6:51 pm

      Hi Magdalena,

      It shouldn’t show only the parent directory folder.

      I have visited the URL you pasted, but it redirected to BlueHost.

      Is your domain by any chance expired or is it really new?

      I would contact your host.

      Keep me updated

      Kimi.

  42. Magdalena says

    March 4, 2012 at 7:19 pm

    Wow, thanks for a prompt response. I really appreciated!
    I will write to my host. My account is really new, I have just signed up 2 weeks ago.
    I will keep you updated.
    Thanks again!
    Magdalena

  43. Magdalena says

    March 5, 2012 at 1:57 am

    Dear Kimi,
    My host company has fixed the problem but I had to reinstall WP and started from 0 setting the blog to look like before.
    I have learnt my lesson:-(. Tomorrow Iยดll get backups from my files with your tutorial. Thanks for your kind help!
    Magdalena

    • Kimi says

      March 5, 2012 at 7:12 pm

      Dear Magdalena,

      I checked your site, it’s sad, that you have to reinstall WP, your host should have the whole site backup though…

      But if it’s a new site, to prevent something like this happen, it’s best to backup your database regularly, and “wp-content” folder to your computer. (backup, not delete!).

      If you want to use plugin: https://www.wpvidz.com/wordpress-database-backup-plugin-tutorial/

      If you backup manually (database + wp-content folder), like I always do regularly, like once a week:

      https://www.wpvidz.com/backup-wordpress-database/

      Best wishes

      Kimi.

    • Kimi says

      March 5, 2012 at 7:14 pm

      Oh Once more,

      I like your name, it’s like my mom’s name ๐Ÿ™‚

      Regards from Germany

      Kimi

  44. lyns says

    March 5, 2012 at 2:18 pm

    Thank you!

    • Kimi says

      March 5, 2012 at 7:14 pm

      Most welcome!

  45. NOOB says

    March 11, 2012 at 10:24 am

    i upgraded my wordpress version. mey be the theme is not compatible with the new version.
    how can i go into cpanel ๐Ÿ˜ก
    i tried to access the database using filezilla but it gives an erro
    ” Login authentication failed ” although the user name and password are correct.
    i’m a pro noob. please help

    • Kimi says

      March 11, 2012 at 12:43 pm

      Hello there,

      To access your cPanel, you can ask your host, who is your host? For example if you use HostGator, you can ask the login and password of your cPanel if you forget it.

      Usually, you can also try, yoursite.com/cpanel

      To use FileZilla, the configuration settings must be filled correctly, otherwise it will not connect to your server.

      I would contact your host to access your cPanel first.

      Kimi.

  46. Christina says

    March 22, 2012 at 9:51 am

    Oh my god thank you so much!!! I almost died of a heart attack and came across your page. I am your fan forever. Thank you and it worked!!!

  47. surya says

    March 23, 2012 at 4:24 pm

    Great thanks for the solution ๐Ÿ™‚

  48. lisa says

    April 11, 2012 at 3:55 am

    how do i add a google tracking code? what are the exact steps?

  49. SSK says

    April 23, 2012 at 10:03 pm

    Thank you so much for this post. I just got a parse error and was petrified I had done something wrong! It didn’t change even when I was copying the code from original file. Your re-uploading the functions file saved me! Thanks again! A very useful post. =)

  50. zu says

    May 28, 2012 at 10:39 am

    God bless you! You saved my life :B ๐Ÿ™‚

  51. Alex Z says

    June 6, 2012 at 11:17 am

    Thank you very much! You saved my day!

  52. veronica says

    July 9, 2012 at 2:49 am

    Thank you thank you thank you!! Ugh I was soooo mad at myself.

  53. Austin says

    July 31, 2012 at 6:58 pm

    Thanx so much!

  54. Andy says

    July 31, 2012 at 9:48 pm

    Hi!
    I had a similar parse error and i followed your instructions to delete the line that had problems first. I did so and when I hit refresh it shows me another parse error for the next line. I thought I would have to delete every line one by one, so I tried the second method. I renamed the theme and when I refreshed my page was blank. Then I deleted the theme thinking iy would aplly the sample theme as you said, but it still showed a blank page with my website adress in the browser. I don’t know what to do! I’m scared to death!!!! Please help me!!

    • Kimi says

      August 2, 2012 at 12:33 pm

      Hi Andy,

      I just checked your site, and it appears ok to me. Try to clean your browser cache.

      Kimi

  55. Himadri says

    August 27, 2012 at 7:48 pm

    Thanks a lot!You tips just worked for me.I was facing the problem and i was just scared.Then searching in the Google i have got your blog and the tips just worked for me.Thanks for your helpful tips.I am feeling better now.Thanks!

  56. Joshua says

    August 30, 2012 at 11:32 am

    Thank you for guiding me through saving my site. Woooooooooooo!!!

  57. Venkat says

    September 5, 2012 at 2:23 am

    This post removed all the stress, confusion, helplessness. Thanks and God bless you.

  58. Jessica says

    January 7, 2013 at 8:48 am

    Please help! Your site has been the most helpful one I’ve found so far, but I still can’t get my blog back! I’m using DreamHost, so when I got to the “File Manager” part of your instructions I was lost. I don’t even know what FTP is, but I see a lot about it. I installed a backup plug-in with google drive a couple weeks ago. The error message I’m getting is:

    Parse error: syntax error, unexpected ‘}’ in /home/prayersnapples/prayersandapples.com/wp-content/themes/freedream/functions.php on line 10

    The problem came after I tried to follow a dumb tutorial online for adding a favicon – I added the following text to my functions.php and that’s when everything went wrong:

    function my_favicon() { ?>โ€จโ€จ<?php }โ€จadd_action('wp_head', 'my_favicon');

    I can't even access my login and (as you can tell) I'm about to have a heart attack ๐Ÿ™ You seem to really know what you're talking about, if you could offer me any help or assistance I would appreciate it! I don't know how to get around in DreamHost and I'm just sitting here crying! Thanks so much!!

    • Kimi says

      January 7, 2013 at 9:29 am

      Hi Jessica,

      I have checked your site, it’s an error in functions.php file of your theme.

      1. Delete your current theme, which is stored under “freedream” folder. Delete this folder, ONLY freedream folder. Login to your cPanel, click file manager, and IT should be inside wp-content/themes/freedream

      Doing above should switch your site to the default theme.

      2. You can then download your current theme again (freedream) and use it again if you like.

      To add favicon, you can simply upload your favicon to your file manager, no need to add any code, this will work too.

      Let me know if this helps.

      Kimi.

  59. Jessica says

    January 7, 2013 at 8:01 pm

    Thank you so, so much! That worked!!! Thank you again ๐Ÿ™‚

  60. Okto says

    January 9, 2013 at 5:01 am

    Hi Kimi,

    I send you message through contact form asking my problems.

    I have made edit on functions php (without having backup ๐Ÿ™ ) but then I cancel the change.

    The problem is I can not log out, so I try to restart my computer but then I even cannot log in. Here’s the message every time I try to log in:

    Warning: Cannot modify header information – headers already sent by (output started at /home/oktorian/public_html/wp-content/themes/bloggie/functions.php:282) in /home/oktorian/public_html/wp-login.php on line 368

    Warning: Cannot modify header information – headers already sent by (output started at /home/oktorian/public_html/wp-content/themes/bloggie/functions.php:282) in /home/oktorian/public_html/wp-login.php on line 380

    Warning: Cannot modify header information – headers already sent by (output started at /home/oktorian/public_html/wp-content/themes/bloggie/functions.php:282) in /home/oktorian/public_html/wp-includes/pluggable.php on line 680

    Warning: Cannot modify header information – headers already sent by (output started at /home/oktorian/public_html/wp-content/themes/bloggie/functions.php:282) in /home/oktorian/public_html/wp-includes/pluggable.php on line 681

    Warning: Cannot modify header information – headers already sent by (output started at /home/oktorian/public_html/wp-content/themes/bloggie/functions.php:282) in /home/oktorian/public_html/wp-includes/pluggable.php on line 682

    Warning: Cannot modify header information – headers already sent by (output started at /home/oktorian/public_html/wp-content/themes/bloggie/functions.php:282) in /home/oktorian/public_html/wp-includes/pluggable.php on line 876

    Can you help me out?

    Thanks

    • Kimi says

      January 9, 2013 at 2:17 pm

      Hello Okto,

      If you can’t login, can you access the cPanel with FTP programs? and then delete the “bloggie” themes folder, you can install later back then, but first delete that folder, ONLY bloggie folder.

      If you can’t access cPanel with FTP, you have no other choice other than contacting your webhost to help you.

      Kimi.

  61. Okto says

    January 10, 2013 at 1:52 am

    Hi Kim,

    I’ve followed your tip here. I access my cpanel and delete my “bloggie” theme folder, etc.

    Conclusion is it fix my problem. Thanks

    *I guess I am another victim of dumb tutorial online .. thanks for your tip here.

  62. GlennElye says

    January 14, 2013 at 9:03 pm

    Salamat.. (Thank You) Now I can go to sleep. ^______^

  63. Lahir says

    January 17, 2013 at 11:02 am

    Useless, doesn’t work

  64. Okto says

    January 25, 2013 at 4:07 am

    Hi Kimi,

    Thanks for your expert suggestion. It’s solved now. Frankly speaking I have new problem, is there any way I can ask directly?

    Thanks for your attention

    • Kimi says

      January 25, 2013 at 6:19 pm

      Hello Okto,

      I really would like to help anyone who contacts me, but I rarely have time as I have 2 little kids, and a daily job ๐Ÿ™‚

      Therefore, I suggest you to visit wordpress.org forum, as it’s the official page for helps.

      Thank you for your kindness

      Kimi.

  65. Chris says

    February 12, 2013 at 7:24 am

    Hi Kimi,

    I’m late to the party but thank you, thank you, thank YOU for this post! I’ve literally just cried with happiness (after the mild heart palpitation!).

    LIFESAVER!

  66. Umer Rock says

    February 14, 2013 at 5:03 pm

    I really thank you for sharing for this content i fix my wordpress blog.

  67. KJones says

    February 17, 2013 at 6:37 am

    Hi Kimi,
    I hope you can help…
    I added some code in my PHP functions for WP Lifestyle theme and now cannot log in. I have the folowing error message: Parse error: syntax error, unexpected end of file in /homepages/23/d182009826/htdocs/wordpress/wp-content/themes/lifestyle/functions.php on line 163

    I have managed to access my cPanel via my host 1&1 and am sitting looking at pages of code with no idea what to do next!

    I did manage to delete the extra code I added to Functions PHP that started this whole problem and have saved that code in a Word document but i don’t know what to do next or how to do it. I read your above blog and you said: “download fresh functions.php file of your theme, and upload it to your theme folder”

    Forgive me but I don’t know how to do that.
    Help please!

    I’m so worried that all my work will be lost on my website.

    Thank you x

  68. rj says

    March 4, 2013 at 8:19 am

    Parse error: syntax error, unexpected ‘<' in /home/nykall/public_html/wp-content/themes/vibrant/functions.php on line 48

    hello i was wondering if u can help me fix this on my site.. can't seem to log in to filezilla to fix this. Please help!!

    • Kimi says

      March 4, 2013 at 9:19 am

      Hello,

      You should be able to use FileZilla, check the pass and username again, however, alternatively, you can also login via cPanel, and delete the theme folder, called, “vibrant”.

      Then, you can upload or install the vibrant theme (original) again.

      Kimi.

  69. Bassam says

    April 14, 2013 at 5:03 pm

    Thank you very much! Your a life saver! I really thought my whole website was broken but this fixed it perfectly. Instead of deleting the theme I just edited the functions.php through my cpanel!

    Thanks again, helped me so much! :):):):):)

  70. William says

    May 2, 2013 at 12:35 pm

    Worked like a charm. Thanks!

  71. bart says

    June 15, 2013 at 2:21 pm

    You are fantastic! Thank you so much. I had the same problem, totally getting stressed. With this tutorial I fixed the problem. thanks again!! ๐Ÿ™‚

  72. Annie says

    August 9, 2013 at 2:01 pm

    Thankyouthankyouthankyou! I can’t remember the amount of times I’ve completely fluffed up WP, but you don’t learn if you don’t tinker with code! ๐Ÿ˜€ As I always say, if it ain’t broke, then break it!

    Thanks again.

  73. Mel says

    January 13, 2014 at 12:36 am

    Thank you so much for this post. It’s good to be reminded to not start panicking. Even though aaaaaaarrrrghhh! White screeeeeen!

    Anywayโ€ฆwe only tried changing the font of our blog yesterday and somehow something got mixed up and put in the wrong place probably and now the screen appears to be white with a error message telling us that there’s an error in the functions.php.

    So we tried a couple different things. First we replaced the functions.php that apparently had the error in it with the original theme functions.php. No change.

    Now we deleted the whole theme folder in wp-content/theme. No change.

    It just doesn’t make ANY sense and I have no clue what to do now ๐Ÿ™

    Any advice would be amazing.

    • Kimi says

      January 13, 2014 at 3:54 pm

      Hello Mel..

      It would be easier if you tell what url your site is?

      Kimi.

Trackbacks

  1. Tweets that mention Wordpress fix "Parse error functions.php" -- Topsy.com says:
    July 14, 2010 at 10:39 pm

    […] This post was mentioned on Twitter by Kimberly , CHERYL FORREST. CHERYL FORREST said: WordPress fix "Parse error functions.php": WordPress video tutorial how to fix .. http://bit.ly/bYsHZG http://bit.ly/8GRCXK […]

Comment form on this post is closed after 60 days.

Search

Worth Reading

  • WordPress CDN setupWordPress CDN Setup with MaxCDN and W3 Total Cache Plugin
  • WordPress Google maps in contact pageHow To Add Google Map in WordPress Contact Page
  • The configuration of YouTube Subscribe button in Google Developers web pageHow To Add YouTube Subscribe Button To WordPress Website
  • Adding Social Media Links to WordPress Menu With CSS Classes
  • Unable to create directory wp-content/uploads in WordPress
  • Forward Twitter to Facebook Using App and Feedburner Tutorial
  • Kitchen Sink WordPress - Seem Simple But Important
  • Admin Pointers, Drag and Drop WordPress 3.3 Media Upload Features
  • How to sell ebook in a wordpress blog?
  • Check your site's performance using Google labs Page Speed

Backup & Restore

Backup WordPress Without a Plugin or FTP

Export WordPress Database using phpMyAdmin

BigDump Alternative – When BigDump Failed Importing Large WP Database

At This Place The Current Query Includes More Than 300 Dump Lines

View All..

Live Online Website

View All..

Offline Installation

How to Upload WordPress localhost to live server manually

Steps to Install WordPress on Windows 8 and WAMP 2.4

Install WordPress on Mavericks OS X 2014

Maximum upload file size in WAMP WordPress

View All..


WPvidz Hosting Image

  • About Me
  • Contact
  • Affiliate Disclosure
  • Privacy Policy
  • Term of Use

Copyright© 2023 wpvidz.com SG2021 | sitemap.xml


WPvidz.com is independent from WordPress.org but is proudly powered by WordPress & its block-based editor (Gutenberg)

WpvidZ.com uses cookies" to give you the best browsing experience possible. If you click "I Accept" below then you are consenting to this. For more information about your privacy settings on this website, please visit the Privacy Policy page. I Accept