Title: Parse error: syntax error in functions.php
Last modified: August 19, 2016

---

# Parse error: syntax error in functions.php

 *  Resolved [cjmox](https://wordpress.org/support/users/cjmox/)
 * (@cjmox)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-in-functionsphp/)
 * So I downloaded a theme from ThemeForest, and installed it on one server hosted
   by GoDaddy. I tried to install it on my server hosted by A Small Orange, and 
   when I preview/activate the theme it says:
 * `Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or 
   T_FUNCTION or T_VAR or '}' in /home/cjmox/public_html/wordpress/wp-content/themes/
   SQUARED3/functions.php on line 233`
 * I am running PHP 5.2.13 on a Linux OS server, and have talked with the theme 
   creator. He has no idea why it’s messed up.
 * Here’s what I’ve tried:
    -Re-downloading the theme -Deleting and uploading the
   functions.php file again
 * I’m wondering if I’ve done something wrong with my WP install, but other themes
   seem to be working. I’ve gotten the client to pay for this theme, which is why
   I’m trying so hard to get it working. The theme works fine on the GoDaddy server.
 * I need a genius to look at this please.

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

 *  Thread Starter [cjmox](https://wordpress.org/support/users/cjmox/)
 * (@cjmox)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-in-functionsphp/#post-1635505)
 * The website that is having the issue is doodlepedia.com/wordpress
 *  Thread Starter [cjmox](https://wordpress.org/support/users/cjmox/)
 * (@cjmox)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-in-functionsphp/#post-1635514)
 * Nevermind, for some reason my cPanel was displaying that I was running PHP 5.2.13
   when in actuality it was set to the default PHP 4. Lame. I’ll leave this up as
   a warning to others: contact your server host and ask silly questions, don’t 
   assume anything!

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

The topic ‘Parse error: syntax error in functions.php’ is closed to new replies.

## Tags

 * [Parse error: syntax error](https://wordpress.org/support/topic-tag/parse-error-syntax-error/)
 * [theme error](https://wordpress.org/support/topic-tag/theme-error/)
 * [Theme help](https://wordpress.org/support/topic-tag/theme-help/)
 * [troubleshooting](https://wordpress.org/support/topic-tag/troubleshooting/)
 * [WP install](https://wordpress.org/support/topic-tag/wp-install/)

 * 2 replies
 * 1 participant
 * Last reply from: [cjmox](https://wordpress.org/support/users/cjmox/)
 * Last activity: [15 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-in-functionsphp/#post-1635514)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
