Title: Comment Post Callback Error
Last modified: August 19, 2016

---

# Comment Post Callback Error

 *  [blackessej](https://wordpress.org/support/users/blackessej/)
 * (@blackessej)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/comment-post-callback-error/)
 * I get this message when I try to comment on my post, logged in or out, doesn’t
   matter:
 * `Warning: call_user_func(twentyten_comment) [function.call-user-func]: First 
   argument is expected to be a valid callback in /home/erisdesi/public_html/wp-
   includes/comment-template.php on line 1308`
 * And I’m not so hot with the PHP yet. How do I fix?

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

 *  Thread Starter [blackessej](https://wordpress.org/support/users/blackessej/)
 * (@blackessej)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/comment-post-callback-error/#post-1647364)
 * Upon further investigation, there is no mention of `twentyten_comment` on line
   1308 of `comment-template.php`. Does wordpress cache posts somehow, or is it 
   possible that it’s being cached by a plug-in or something else? I also have the
   question listed on stackoverflow, if any information posted there helps…
 * [http://stackoverflow.com/questions/3593266/call-user-func-valid-callback](http://stackoverflow.com/questions/3593266/call-user-func-valid-callback)
 * Any response would be appreciated!
 *  Thread Starter [blackessej](https://wordpress.org/support/users/blackessej/)
 * (@blackessej)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/comment-post-callback-error/#post-1647365)
 * Solved. Read my last comment on the above link.
 *  [honeycut](https://wordpress.org/support/users/honeycut/)
 * (@honeycut)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/comment-post-callback-error/#post-1647449)
 * I’m trying hard to follow the solution here (and on stackoverflow) but am having
   no luck.
 * All comment.php files appear to be up to date in twentyten and child theme.
 * I’ll keep searching I guess.

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

The topic ‘Comment Post Callback Error’ is closed to new replies.

## Tags

 * [callback](https://wordpress.org/support/topic-tag/callback/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [wordpress 3.0](https://wordpress.org/support/topic-tag/wordpress-3-0/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [honeycut](https://wordpress.org/support/users/honeycut/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/comment-post-callback-error/#post-1647449)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
