Title: Syntax error after editing functions.php file
Last modified: August 20, 2016

---

# Syntax error after editing functions.php file

 *  Resolved [thestealthyfox](https://wordpress.org/support/users/thestealthyfox/)
 * (@thestealthyfox)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/syntax-error-after-editing-functionsphp-file/)
 * I’m in the middle of designing a new blog and I tried to edit the footer in the
   functions.php file.
 * I’ve just had the error:
 * Parse error: syntax error, unexpected T_STRING in /home/herglass/public_html/
   wp-content/themes/codium-extend/functions.php on line 443
 * So I checked line 443 and everything looks fine. Can someone double check the
   coding please? I’m tearing my hair out!
 * `$textfooter = __('Proudly powered by <a href="http://www.wordpress.org">WordPress
   </a> and designed by ', 'codium_extend' );`
 * Thanks 🙂

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

 *  [Len](https://wordpress.org/support/users/lenk/)
 * (@lenk)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/syntax-error-after-editing-functionsphp-file/#post-2674444)
 * Hi thestealthyfox
 * It’s hard to say without seeing the entire file. Could you post the contents 
   of the `functions.php` file at the [pastebin](http://pastebin.com/) and post 
   the link here so we can have a look?
 *  Thread Starter [thestealthyfox](https://wordpress.org/support/users/thestealthyfox/)
 * (@thestealthyfox)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/syntax-error-after-editing-functionsphp-file/#post-2674446)
 * [file here](http://pastebin.com/0Swd4q57)
 * Hope this works! I only posted that line, as that’s the one with the unknown 
   T_STRING.
 * Thanks.
 *  [Len](https://wordpress.org/support/users/lenk/)
 * (@lenk)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/syntax-error-after-editing-functionsphp-file/#post-2674457)
 * You know, I just installed that theme on a test site and loaded the file you 
   posted at the pastebin with no errors. Out of curiosity what version of PHP are
   you running?
 *  Thread Starter [thestealthyfox](https://wordpress.org/support/users/thestealthyfox/)
 * (@thestealthyfox)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/syntax-error-after-editing-functionsphp-file/#post-2674506)
 * I know, it worked perfectly before I tried to edit it.
 * I’ve just gone in to the file through the ftp – seems it wasn’t updating which
   is why I kept getting the error message.
    Looks like it’s fixed now! Thanks 🙂
 *  [Len](https://wordpress.org/support/users/lenk/)
 * (@lenk)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/syntax-error-after-editing-functionsphp-file/#post-2674508)
 * D’oh! Of course you gave me the unedited version because you can’t get into your
   site. 🙂
 * Using FTP rename the theme folder. You should then be able to log in and switch
   to a different theme for the time being.
 * Once you get in, post the contents of the edited version of the functions.php
   file at the pastebin – that’s the one I want to see. 🙂
 *  [Len](https://wordpress.org/support/users/lenk/)
 * (@lenk)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/syntax-error-after-editing-functionsphp-file/#post-2674509)
 * Okay disregard what I said. I didn’t read your reply carefully enough. It’s way
   too early. 🙂
 *  Thread Starter [thestealthyfox](https://wordpress.org/support/users/thestealthyfox/)
 * (@thestealthyfox)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/syntax-error-after-editing-functionsphp-file/#post-2674511)
 * Thanks for your help! 🙂
 *  [Len](https://wordpress.org/support/users/lenk/)
 * (@lenk)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/syntax-error-after-editing-functionsphp-file/#post-2674512)
 * You’re welcome.

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

The topic ‘Syntax error after editing functions.php file’ is closed to new replies.

## Tags

 * [Coding](https://wordpress.org/support/topic-tag/coding/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 8 replies
 * 2 participants
 * Last reply from: [Len](https://wordpress.org/support/users/lenk/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/syntax-error-after-editing-functionsphp-file/#post-2674512)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
