Title: Functions.php file ERROR
Last modified: August 20, 2016

---

# Functions.php file ERROR

 *  [StaceyRae1](https://wordpress.org/support/users/staceyrae1/)
 * (@staceyrae1)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/functionsphp-file-error-1/)
 * Hey guys,
 * I purchased a theme from themeforest. XMarket today (yes I know this is not usually
   the place to get support for outside themes) but Im desperate.
 * When I try to install the theme, it says it works fine and then when I refresh
   or try to view the site this error comes up.
 * Fatal error: Call to undefined function wp_get_theme() in /home/e3live/public_html/
   wp-content/themes/xmarket/functions.php on line 3
 * I have tried virtually everything, can someone please help me?
 * I am uploading only the theme zipped folder not the entire download (as I know
   that is usually why themes dont work)
 * I have also attempted to upload the theme via FTP but I find it confusing and
   might be doing it wrong.
 * Is it a code on the functions page? Can someone tell me how to fix this pretty
   please??
 * Thank you in advance.

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

 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [13 years, 4 months ago](https://wordpress.org/support/topic/functionsphp-file-error-1/#post-3336641)
 * >  (yes I know this is not usually the place to get support for outside themes)
   > but Im desperate.
 * I’m glad you got that out of the way but we don’t support commercial themes here.
 * It’s not just because we don’t want to deprive authors of support income or mess
   with their business model, we do not have access to the theme code. Don’t want
   access either; you really do have to get support from the theme author.
 * [http://themeforest.net/user/8theme](http://themeforest.net/user/8theme)
 * That’s part of what you paid for when you purchased that theme.
 *  [varundave](https://wordpress.org/support/users/varundave/)
 * (@varundave)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/functionsphp-file-error-1/#post-3336701)
 * You need to update your wordpress version. You might be using WP 3.4 which is
   why you are getting this error message.
 * The Author of this theme is totally inactive so, people have started asking for
   help everywhere…wouldn’t hurt to help…

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

The topic ‘Functions.php file ERROR’ is closed to new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [functions](https://wordpress.org/support/topic-tag/functions/)
 * [theme broken](https://wordpress.org/support/topic-tag/theme-broken/)

 * 2 replies
 * 3 participants
 * Last reply from: [varundave](https://wordpress.org/support/users/varundave/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/functionsphp-file-error-1/#post-3336701)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
