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
http://stackoverflow.com/questions/29164999/function-parent-theme-locations-not-found-or-invalid-function-name
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()‘?
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.
(@carolynbrooks)
10 years, 10 months ago
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.