Title: missing theme function.php code even reinstalled causing White Screen of death
Last modified: June 19, 2019

---

# missing theme function.php code even reinstalled causing White Screen of death

 *  [madhukumar26](https://wordpress.org/support/users/madhukumar26/)
 * (@madhukumar26)
 * [7 years ago](https://wordpress.org/support/topic/missing-theme-function-php-code-even-reinstalled-causing-white-screen-of-death/)
 * My Website crashed due to a **white screen of death** after I have searched in
   google for the same issue I found that need to check plugins and themes, then
   I found there is an issue with the **theme **. with the following error.
 *     ```
        PHP Fatal error:  Uncaught Error: Call to undefined function mk_get_body_class() in /home/prixgfmz/public_html/wp-content/themes/jupiter/header.php:7
       Stack trace:
       #0 /home/prixgfmz/public_html/wp-includes/template.php(722): require_once()
       #1 /home/prixgfmz/public_html/wp-includes/template.php(671): load_template('/home/prixgfmz/...', true)
       #2 /home/prixgfmz/public_html/wp-includes/general-template.php(41): locate_template(Array, true)
       #3 /home/prixgfmz/public_html/wp-content/themes/jupiter/page.php(8): get_header()
       #4 /home/prixgfmz/public_html/wp-includes/template-loader.php(78): include('/home/prixgfmz/...')
       #5 /home/prixgfmz/public_html/wp-blog-header.php(19): require_once('/home/prixgfmz/...')
       #6 /home/prixgfmz/public_html/index.php(17): require('/home/prixgfmz/...')
       #7 {main}
         thrown in /home/prixgfmz/public_html/wp-content/themes/jupiter/header.php on line 7
       ```
   
 * Then removed the same theme and reinstalled it so problem solved, the website
   got back.
 * But that same problem arrived with the same error on next day, again I reinstalled
   it but the problem is not solved. white screen arose with the same error and 
   missing **function.php** codes inside.
 * Please help me with it
    -  This topic was modified 7 years ago by [madhukumar26](https://wordpress.org/support/users/madhukumar26/).

Viewing 1 replies (of 1 total)

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [7 years ago](https://wordpress.org/support/topic/missing-theme-function-php-code-even-reinstalled-causing-white-screen-of-death/#post-11652199)
 * You need to contact the theme author about this as we don’t support commercial
   themes.

Viewing 1 replies (of 1 total)

The topic ‘missing theme function.php code even reinstalled causing White Screen
of death’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * Last activity: [7 years ago](https://wordpress.org/support/topic/missing-theme-function-php-code-even-reinstalled-causing-white-screen-of-death/#post-11652199)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
