Title: Blank pages after changing function.php
Last modified: August 20, 2016

---

# Blank pages after changing function.php

 *  Resolved [KEJNAV](https://wordpress.org/support/users/kejnav/)
 * (@kejnav)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/blank-pages-after-changing-functionphp/)
 * Here is the problem:
    I made my theme , and at the and I wanted to add “Featured
   Image” possibility and I add these two lines in my functions.php
 *     ```
       add_theme_support( 'post-thumbnails' );
       set_post_thumbnail_size( 649, 245, true );
       ```
   
 * After that when I try to update some post and click update , it takes me to post.
   php but blank page.
    Then I tried to delete these to lines but still don’t working.
   It’s same to options.php > BLANK
 * Here is my functions.php
    [http://pastebin.com/ZmzgMicM](http://pastebin.com/ZmzgMicM)
 * And here is the blog
    [http://skyinx.com/kejnav/wpress/](http://skyinx.com/kejnav/wpress/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [subpop](https://wordpress.org/support/users/subpop/)
 * (@subpop)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/blank-pages-after-changing-functionphp/#post-2575813)
 * How did you fix it? I have exactly the same problem
 * These are the lines I added
 *     ```
       <?php
       if ( function_exists( 'add_theme_support' ) )
       add_theme_support( 'post-thumbnails' );
       ?>
       ```
   
 * I’ve also tried to deactive the new plugins I’ve added lately and restart all
   plugins via ftp with no success
 *  Thread Starter [KEJNAV](https://wordpress.org/support/users/kejnav/)
 * (@kejnav)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/blank-pages-after-changing-functionphp/#post-2575814)
 * I just deleted some blank rows and it works 😀
    Here is my finctions.php now 
   😉
 * [http://pastebin.com/E7hsC4Cb](http://pastebin.com/E7hsC4Cb)
 *  [subpop](https://wordpress.org/support/users/subpop/)
 * (@subpop)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/blank-pages-after-changing-functionphp/#post-2575815)
 * It works!
    Now I remember reading about it somewhere..
 * Thanks a lot!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Blank pages after changing function.php’ is closed to new replies.

## Tags

 * [Blank](https://wordpress.org/support/topic-tag/blank/)
 * [blank-page](https://wordpress.org/support/topic-tag/blank-page/)
 * [options.php](https://wordpress.org/support/topic-tag/options-php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [subpop](https://wordpress.org/support/users/subpop/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/blank-pages-after-changing-functionphp/#post-2575815)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
