# Functions.php fatal error!

**URL:** <https://forum.pinegrow.com/t/functions-php-fatal-error/1667>\
**Category:** Pinegrow WP\
**Created:** [February 28, 2018, 4:18am UTC](https://forum.pinegrow.com/t/functions-php-fatal-error/1667 "2018-02-28T04:18:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![henrythesteve](https://avatars.discourse-cdn.com/v4/letter/h/59ef9b/32.png) [@henrythesteve](https://forum.pinegrow.com/u/henrythesteve)\
**Post date:** [February 28, 2018, 4:18am UTC](https://forum.pinegrow.com/t/functions-php-fatal-error/1667/1 "2018-02-28T04:18:40Z")

</div>

I’m new to this and maybe i just exported it but when i exported my theme it created the functions.php. When i uploaded it to wordpress, it gave me a  
FATAL ERROR syntax error, unexpected ‘Oils\_setup’ (T\_STRING), expecting ‘(’ on line number 4

\<?php if ( ! function\_exists( 'Ampersand Oils\_setup' ) ) : function Ampersand Oils\_setup() { did i do something wrong? HELP!!

---

<div class="post-metadata">

**Author:** ![Emmanuel](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/emmanuel/32/6294_2.png) [@Emmanuel](https://forum.pinegrow.com/u/Emmanuel)\
**Post date:** [February 28, 2018, 8:12am UTC](https://forum.pinegrow.com/t/functions-php-fatal-error/1667/2 "2018-02-28T08:12:30Z")

</div>

Maybe it related to this:

Theme name: is the name of your theme  
Theme slug: is the identifier of your theme. No spaces, no dash, no comma. Here you can use underscore (\_) and less than 20 characters.  
Theme folder: is the location where your theme will be exported.

From our documentation here: [http://docsbeta.pinegrow.com/how-to-setup-pinegrow-for-wordpress-theme-development/#setup-the-wordpress-master-page](http://docsbeta.pinegrow.com/how-to-setup-pinegrow-for-wordpress-theme-development/#setup-the-wordpress-master-page)
