Title: functions.php
Last modified: August 30, 2016

---

# functions.php

 *  [vasile99](https://wordpress.org/support/users/vasile99/)
 * (@vasile99)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/functionsphp-16/)
 * Hello.
    I wanted to change the featured image size on a theme and added this 
   code to functions.php down at the end of the page.
 * <?php
 * set_post_thumbnail_size( $width, $height, $crop );
 * ?>
 * Before that, I made a backup of the functions.php.
    After I added the code, the
   site is all blank, doesn’t works anymore. I uploaded the backed-up file “functions.
   php” through FTP in the theme functions folder but still blank site. I uploaded
   the original file “functions.php” from the archived unchanged theme, the site
   is still blank. The theme is Avada 3.7.4.
 * Any help?
    Thank you.

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

 *  [Radices](https://wordpress.org/support/users/radices/)
 * (@radices)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/functionsphp-16/#post-6674601)
 * Turn on debug mode by editing the wp-config.php file and see what error is reported
   when you browse to the site.
 * [https://codex.wordpress.org/WP_DEBUG](https://codex.wordpress.org/WP_DEBUG)
 *  Thread Starter [vasile99](https://wordpress.org/support/users/vasile99/)
 * (@vasile99)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/functionsphp-16/#post-6674609)
 * Parse error: syntax error, unexpected ‘<‘ in …/functions.php on line 1620.
 * My functions.php has only 1615 lines.
 *  [Radices](https://wordpress.org/support/users/radices/)
 * (@radices)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/functionsphp-16/#post-6674631)
 * There is probably blank spaces/lines at the bottom of the file.
 *  Thread Starter [vasile99](https://wordpress.org/support/users/vasile99/)
 * (@vasile99)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/functionsphp-16/#post-6674636)
 * Nevermind, there were 2 “_functions.php_” files and I edited them both. One of
   them supposed to be blank and I made it blank. It works now.
    Anyway, after I
   removed that code the site works again. Speaking of which, what went wrong? How
   can I resize the featured image because from media editor it shows me the smaller
   width & height but in the page the size is 100% I think.
 *  [Radices](https://wordpress.org/support/users/radices/)
 * (@radices)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/functionsphp-16/#post-6674681)
 * That is definitely a question for the Avada Support people.
 * Requesting Support for a Commercial Product
 * If you use a commercial theme or plugin and need support, please go to their 
   official support channel. In order to be good stewards of the WordPress community,
   and encourage innovation and progress, we feel it’s important to direct people
   to those official locations.
 * [product support URL, if easily found]
 * Forum volunteers are also not given access to commercial products, so they would
   not know why your commercial theme or plugin is not working properly. This is
   one other reason why volunteers forward you to the commercial product’s vendors.
   The vendors are responsible for supporting their commercial product.

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

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [Radices](https://wordpress.org/support/users/radices/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/functionsphp-16/#post-6674681)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
