Title: What does this code say I&#039;m doing wrong
Last modified: August 30, 2016

---

# What does this code say I'm doing wrong

 *  [carolynbrooks](https://wordpress.org/support/users/carolynbrooks/)
 * (@carolynbrooks)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/what-does-this-code-say-im-doing-wrong/)
 * I’m trying to get WP to allow comments from my members, but every time they post
   a comment they get this:
 *  Warning: call_user_func() expects parameter 1 to be a valid callback, function‘
   tp_comments’ not found or invalid function name in /home/content/p3pnexwpnas07_data02/
   92/2670792/html/wp-includes/comment-template.php on line 1810
 * What does it mean and how do I fix it? Thank you.

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

 *  [leejosepho](https://wordpress.org/support/users/leejosepho/)
 * (@leejosepho)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/what-does-this-code-say-im-doing-wrong/#post-6342238)
 * I am guessing you have a plugin acting up, and the way to check for that is by
   deactivating *all* plugins and then reactivating them one-at-a-time to watch 
   for the problem to return…and then find the Support Forum for that specific plugin
   and possibly include these links that might or might not help identify a solution:
   
   [https://wordpress.org/support/topic/not-found-or-invalid-function-error-1?replies=5](https://wordpress.org/support/topic/not-found-or-invalid-function-error-1?replies=5)
   [http://stackoverflow.com/questions/29164999/function-parent-theme-locations-not-found-or-invalid-function-name](http://stackoverflow.com/questions/29164999/function-parent-theme-locations-not-found-or-invalid-function-name)
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/what-does-this-code-say-im-doing-wrong/#post-6342249)
 * what theme are you using?
 * what is the full code of **comments.php** of that theme?
 * does any of your theme’s function files (possibly **functions.php** or others)
   contain a function ‘`tp_comments()`‘?
 *  Thread Starter [carolynbrooks](https://wordpress.org/support/users/carolynbrooks/)
 * (@carolynbrooks)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/what-does-this-code-say-im-doing-wrong/#post-6342259)
 * Hey, thanks for replying. I only had one plugin: Akismet. I had previously had
   quite a few plugins, but I deactivated and deleted them all because (if you haven’t
   guessed) I’m new at all this.
 * I’m using Princess theme. I don’t know what “the full code of comments.php” would
   be. But I did search some plugins and found wp-Discuz. I tried it and that one
   seems to not only allow comments but makes it a very nice presentation with radio
   buttons and all. But how do I find the full code? I’d still like to find out 
   what the base problem is in order to better understand the program.
 * Thanks.
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/what-does-this-code-say-im-doing-wrong/#post-6342283)
 * is this the theme you are using: [https://wordpress.org/themes/princess/](https://wordpress.org/themes/princess/)?
 * if yes, please post in [https://wordpress.org/support/theme/princess#postform](https://wordpress.org/support/theme/princess#postform)

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

The topic ‘What does this code say I'm doing wrong’ is closed to new replies.

## Tags

 * [call_user_func](https://wordpress.org/support/topic-tag/call_user_func/)
 * [code](https://wordpress.org/support/topic-tag/code/)
 * [Comments](https://wordpress.org/support/topic-tag/comments/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/alchymyth/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/what-does-this-code-say-im-doing-wrong/#post-6342283)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
