Title: functions.php completely empty
Last modified: February 10, 2024

---

# functions.php completely empty

 *  [bikesantpere](https://wordpress.org/support/users/bikesantpere/)
 * (@bikesantpere)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/functions-php-completely-empty/)
 * Hi there,
   I wanted to insert a code, but then deleted it again and didn’t save
   anything.
 * But now the entire functions.php is suddenly empty and the homepage is completely
   down.
 * Can someone please help me?
    -  This topic was modified 2 years, 7 months ago by [bikesantpere](https://wordpress.org/support/users/bikesantpere/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffunctions-php-completely-empty%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Shahin](https://wordpress.org/support/users/skalanter/)
 * (@skalanter)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/functions-php-completely-empty/#post-17417199)
 * Hello [@bikesantpere](https://wordpress.org/support/users/bikesantpere/),
 * Thank you for reaching out,
 * By default, we don’t have any custom functionality in the default child theme:
   [https://docs.oceanwp.org/article/90-sample-child-theme](https://docs.oceanwp.org/article/90-sample-child-theme)
 * This is the original function.php file: [https://github.com/oceanwp/oceanwp-child-theme/blob/master/functions.php](https://github.com/oceanwp/oceanwp-child-theme/blob/master/functions.php)
 * If you can’t see any changes on the function.php file, it seems your host prevents
   writing and saving; please get in touch with your host provider and ask them 
   to check all permissions on your website.
 * Also, there can be some wrong code in the function.php file, which gets a fatal
   error. Please check the super administrator email to see the error or which plugins
   cause the issue. The error message will always be sent to the super administrator
   email in WordPress.
 * There is another way to see the error: you need to turn on the WordPress debugger
   mode. To enable it, please follow the steps explained in this link: [https://wordpress.org/documentation/article/debugging-in-wordpress/](https://wordpress.org/documentation/article/debugging-in-wordpress/)
 * Another thing that can affect it is plugin conflicts, which can cause errors.
   To fix the issue, disable all plugins and turn them back on individually to identify
   the problematic ones. Update or remove the plugin as needed.
 * **Please note:** Before the above steps, ensure you get a full backup from your
   website and child theme.
 * I hope it helps.
    Best Regards

Viewing 1 replies (of 1 total)

 The topic ‘functions.php completely empty’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/oceanwp/4.2.6/screenshot.png)
 * OceanWP
 * [Support Threads](https://wordpress.org/support/theme/oceanwp/)
 * [Active Topics](https://wordpress.org/support/theme/oceanwp/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/oceanwp/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/oceanwp/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Shahin](https://wordpress.org/support/users/skalanter/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/functions-php-completely-empty/#post-17417199)
 * Status: not resolved