Title: Single.php returning fatal error
Last modified: August 19, 2016

---

# Single.php returning fatal error

 *  [mcbbr](https://wordpress.org/support/users/mcbbr/)
 * (@mcbbr)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/singlephp-returning-fatal-error/)
 * Hello! I’m having some trouble with my single.php file. I just wanted to use 
   the one from the twentyten theme and make slight changes to fit my theme, but
   it’s not quite working for me, as can be seen on [this page](http://knivesatnoon.com/new/?p=1).
 * It was returning the error
 * > Fatal error: Call to undefined function twentyten_posted_on() in /home/knivesa1/
   > public_html/new/wp-content/themes/knives/single.php on line 26
 *  so I deleted the twentyten_ part but am still getting an error.
 * Can anyone help me out here? Do I need to start my own single.php file from scratch
   or is it just a matter of changing something to fit my theme?

Viewing 1 replies (of 1 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/singlephp-returning-fatal-error/#post-1732745)
 * replace single.php with a fresh copy.
 * Rename the old single.php if you want to save changes otherwise they will be 
   overwritten by the new fresh file.

Viewing 1 replies (of 1 total)

The topic ‘Single.php returning fatal error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [15 years, 7 months ago](https://wordpress.org/support/topic/singlephp-returning-fatal-error/#post-1732745)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
