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.
- The topic ‘Functions.php file ERROR’ is closed to new replies.