Title: file inc/functions.php corrupt?
Last modified: December 13, 2018

---

# file inc/functions.php corrupt?

 *  [MisDes](https://wordpress.org/support/users/misdes/)
 * (@misdes)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/file-inc-functions-php-corrupt/)
 * When I try to edit the file inc/functions.php (either in WordPress Editor, or
   upload mine via FTP, I cannot do it. The Editor throws an Oops error, and the
   FTP freezes. This is a trivial first update that I have tried, just adding one
   letter to the word Copyright (Copyrightt) – line 577 of the code. What’s wrong
   with this file?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffile-inc-functions-php-corrupt%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [jewel10](https://wordpress.org/support/users/jewel10/)
 * (@jewel10)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/file-inc-functions-php-corrupt/#post-11060206)
 * It is easy to fix it. All you need is to log in to your cPanel, not ftp. And 
   now, please go to the file manager there and then, public_html/wp-content/themes/
   colormag. there you will see the functions.php. You can edit this file right 
   there by right-clicking and choosing “Edit”. There you won’t get this error what
   you are getting in FTP/in the editor. Do you remember what you did in that functions.
   php? If not, still there are ways to restore that functions.php.
 * First of all, go to your wordpress dashboard and then appearance->themes->add
   new. and now, you should install and activate a new theme but please don’t customize
   it. Now, go to file manager in cPanel-> public_html/wp-content/themes/
    and delete
   the theme “colormag”. things are done. Go back to the wordpress dashboard once
   again and reinstall and activate the colormag again and delete the other theme,
   now you will get a new and fresh copy of functions.php.
 * I hope this will solve your problem.
 * With regards,
    Jewel

Viewing 1 replies (of 1 total)

The topic ‘file inc/functions.php corrupt?’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/colormag/4.1.2/screenshot.jpg)
 * ColorMag
 * [Support Threads](https://wordpress.org/support/theme/colormag/)
 * [Active Topics](https://wordpress.org/support/theme/colormag/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/colormag/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/colormag/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [jewel10](https://wordpress.org/support/users/jewel10/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/file-inc-functions-php-corrupt/#post-11060206)
 * Status: not resolved