Title: functions.php error
Last modified: August 22, 2016

---

# functions.php error

 *  [lordkhomar](https://wordpress.org/support/users/lordkhomar/)
 * (@lordkhomar)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/functionsphp-error-13/)
 * Hi guys,
 * I hope somebody can help…
 * I’m getting the following error on my site, featuredcontentonline.com
 * Parse error: syntax error, unexpected ‘}’ in /home4/lordkhom/public_html/FeaturedContentOnline.
   com/wp-content/themes/wp-genius/functions.php on line 2
 * this is the file text..
 * _[code moderated - follow the forum guidelines for posting code - [http://codex.wordpress.org/Forum\_Welcome#Posting\_Code](http://codex.wordpress.org/Forum_Welcome#Posting_Code)-
   and use the [http://pastebin.com/%5D](http://pastebin.com/%5D)_
 * Another issue I have is that when I copy the file to my local PC it all appears
   on one line in notepad++.
 * Thanks in advance for any help you guys can offer.
 * Norm

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/functionsphp-error-13/#post-5421897)
 * there is possibly just a `{` missing at the end of the first line;
 * example:
 *     ```
       <?php if ( function_exists('register_sidebar') ) {
       ```
   
 * however, your code got corrupted by the forum editor and is un-readable.
 * please post the code again using the [pastebin ](http://pastebin.com/)which would
   also show line numbers – [http://codex.wordpress.org/Forum_Welcome#Posting_Code](http://codex.wordpress.org/Forum_Welcome#Posting_Code)
 * also, try to replace the functions.php with an unedtited version; or contact 
   the theme’s developer for support.
 *  Thread Starter [lordkhomar](https://wordpress.org/support/users/lordkhomar/)
 * (@lordkhomar)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/functionsphp-error-13/#post-5421909)
 * Thanks for your reply.
 * Here’s the pastebin [http://pastebin.com/k8GT81FJ](http://pastebin.com/k8GT81FJ)
 * It looks like the error is on line 38.
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/functionsphp-error-13/#post-5421928)
 * the whole file seem to be broken – with no line breaks in large parts.
 * have you tried to replace the functions.php with one from the original unedited
   theme?
 * what were you trying to change when the problem started?
 * make sure to use only text editors to edit the files; [http://codex.wordpress.org/Editing_Files](http://codex.wordpress.org/Editing_Files)
 * what is the reply of the theme’s developer?
 *  Thread Starter [lordkhomar](https://wordpress.org/support/users/lordkhomar/)
 * (@lordkhomar)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/functionsphp-error-13/#post-5421939)
 * Hi again, I haven’t heard back from the developer yet, solostream.
 * I was trying to reset my password in order to login to my site. I added one line
   of code, then removed it. That’s when the file broke.
 * I think I almost have it fixed now, there’s still an issue with the file, I think
   a missing ‘}’ somewhere around line 74. You can see what the problem is on my
   site, featuredcontentonline.com
 * Here’s a new pastebin.. [http://pastebin.com/yGr9xsEA](http://pastebin.com/yGr9xsEA)
 * Thanks again for your help. It’s been a long time since I’ve looked at this stuff.

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

The topic ‘functions.php error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [lordkhomar](https://wordpress.org/support/users/lordkhomar/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/functionsphp-error-13/#post-5421939)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
