Title: WordPress function php error
Last modified: August 20, 2016

---

# WordPress function php error

 *  [HITNRUN822](https://wordpress.org/support/users/hitnrun822/)
 * (@hitnrun822)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/wordpress-function-php-error-1/)
 * Will not let me login
 * What can I do?
 * here s the error…
 * Parse error: syntax error, unexpected $end in /home/nick/public_html/wp-content/
   themes/platformpro/functions.php on line 21
 * Please Help!!

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

 *  [Abinav Thakuri](https://wordpress.org/support/users/abinav/)
 * (@abinav)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/wordpress-function-php-error-1/#post-2322711)
 * Were you fiddling around with the theme’s functions.php file? It would be good
   if you have an old backup of the file when nothing had been changed. If so, try
   replacing the current file with the older one. This can be coding errors sometimes.
 * Also try looking into your functions.php. Check and remove all spaces at the 
   end of the code. Spaces at the end can be the cause of this error.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/wordpress-function-php-error-1/#post-2322717)
 * Switch to the Twenty Eleven theme by renaming your current theme’s folder in 
   wp-content/themes and adding “-old” to the end of the folder name using [FTP](http://codex.wordpress.org/FTP_Clients)
   or whatever file management application your host provides.

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

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

## Tags

 * [login error](https://wordpress.org/support/topic-tag/login-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/wordpress-function-php-error-1/#post-2322717)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
