Title: Error message for coding in functions.php
Last modified: August 19, 2016

---

# Error message for coding in functions.php

 *  [BerniceKidd](https://wordpress.org/support/users/bernicekidd/)
 * (@bernicekidd)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/error-message-for-coding-in-functionsphp/)
 * Hello. I followed some guidelines on how to insert adsense in a blog post and
   it didn’t work so I then deleted the bit of code that I had inserted into functions.
   php. There is now an error in the coding which reads **Parse error: syntax error,
   unexpected T_STRING in /home4/toponfb8/public_html/wp-content/themes/familytree
   udated2/functions.php on line 8**
 * I can’t do anything on my blog now as everytime I click on something, this same
   message comes up. **I now can’t click on anything without getting this message,
   and that includes the functions.php link. How can I correct the coding in functions.
   php if I can’ access it?** I even get this error message when I try to login.
   Please help!! The first lines of the functions.php code on my site are (I am 
   using the Studiopress Family tree template);
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 * Many thanks.

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

 *  [Rev. Voodoo](https://wordpress.org/support/users/rvoodoo/)
 * (@rvoodoo)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/error-message-for-coding-in-functionsphp/#post-1886601)
 * you would need to use a fresh copy of te theme and upload the functions.php from
   it to
    wp-content->themes->your theme
 * using ftp or a file manager if your host offers one
 *  [mitchrabreu](https://wordpress.org/support/users/mitchrabreu/)
 * (@mitchrabreu)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/error-message-for-coding-in-functionsphp/#post-1886945)
 * While doing some editing, I accidently deleted my themefunctions.php css.
 * An error popped up:
 * Warning: require_once(/home/mitch/public_html/miamiinvestigators.net/wp-content/
   themes/mitch/functions//admin-setup.php) [function.require-once]: failed to open
   stream: No such file or directory in /home/mitch/public_html/miamiinvestigators.
   net/wp-content/themes/mitch/functions.php on line 12
 * Fatal error: require_once() [function.require]: Failed opening required ‘/home/
   mitch/public_html/miamiinvestigators.net/wp-content/themes/mitch/functions//admin-
   setup.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/mitch/
   public_html/miamiinvestigators.net/wp-content/themes/mitch/functions.php on line
   12
 * i dont have access to my admin page! and dont want to lose all the hard work 
   i’ve put into this site…PLEASE HELP!
 *  [Alwyn Botha](https://wordpress.org/support/users/123milliseconds/)
 * (@123milliseconds)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/error-message-for-coding-in-functionsphp/#post-1886946)
 * mitchrabreu; get themefunctions.php from a fresh latest.zip
 *  [mitchrabreu](https://wordpress.org/support/users/mitchrabreu/)
 * (@mitchrabreu)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/error-message-for-coding-in-functionsphp/#post-1886947)
 * dont understand…can you please elaborate 🙂
 * Mitch
 *  [Alwyn Botha](https://wordpress.org/support/users/123milliseconds/)
 * (@123milliseconds)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/error-message-for-coding-in-functionsphp/#post-1886948)
 * YOu said you deleted themefunctions.php
 * download wp zip file again
 * extract it
 * copy the deleted file back

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

The topic ‘Error message for coding in functions.php’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 4 participants
 * Last reply from: [Alwyn Botha](https://wordpress.org/support/users/123milliseconds/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/error-message-for-coding-in-functionsphp/#post-1886948)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
