Title: Parse error
Last modified: March 9, 2018

---

# Parse error

 *  [yedukondalu](https://wordpress.org/support/users/yedukondalu/)
 * (@yedukondalu)
 * [8 years ago](https://wordpress.org/support/topic/parse-error-477/)
 * Hi,
    Getting the below error message after I installed the hestia theme.
 * Parse error: syntax error, unexpected T_FUNCTION in D:\Hosting\3915819\html\wp-
   content\themes\hestia\functions.php on line 42
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fparse-error-477%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [anurag.deshmukh](https://wordpress.org/support/users/anuragdeshmukh/)
 * (@anuragdeshmukh)
 * [8 years ago](https://wordpress.org/support/topic/parse-error-477/#post-10055773)
 * Can you share the code that has been written on line 42 ?
 *  [anurag.deshmukh](https://wordpress.org/support/users/anuragdeshmukh/)
 * (@anuragdeshmukh)
 * [8 years ago](https://wordpress.org/support/topic/parse-error-477/#post-10055783)
 * This might be the issue with server. I got 1 link. Hope this helps.
 * [https://wordpress.org/support/topic/parse-error-on-functions-php-2/](https://wordpress.org/support/topic/parse-error-on-functions-php-2/)
 *  Thread Starter [yedukondalu](https://wordpress.org/support/users/yedukondalu/)
 * (@yedukondalu)
 * [8 years ago](https://wordpress.org/support/topic/parse-error-477/#post-10056246)
 * line 42 says:
 * return null != e ? 0 > e ? this[e + this.length] : this[e] : r.call(this)
 *  Thread Starter [yedukondalu](https://wordpress.org/support/users/yedukondalu/)
 * (@yedukondalu)
 * [8 years ago](https://wordpress.org/support/topic/parse-error-477/#post-10057019)
 * that error coming from this code:
 * add_filter(
    ‘themeisle_sdk_products’, function ( $products ) { $products[] =
   get_template_directory() . ‘/style.css’;
 *  return $products;
    } );
 *  Thread Starter [yedukondalu](https://wordpress.org/support/users/yedukondalu/)
 * (@yedukondalu)
 * [8 years ago](https://wordpress.org/support/topic/parse-error-477/#post-10057111)
 * I have removed and installed the same theme as manually again the error are showing
   same like below:
 * Parse error: syntax error, unexpected T_FUNCTION in D:\Hosting\3915819\html\wp-
   content\themes\hestia.1.1.66\hestia\functions.php on line 42

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

The topic ‘Parse error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [yedukondalu](https://wordpress.org/support/users/yedukondalu/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/parse-error-477/#post-10057111)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
