• Resolved dmhbeast

    (@dmhbeast)


    So this is my first time posting, sorry if i dont include all that is needed here. i have search these forumns, google, and bing for an answer to this but i can not find anything. Currently the comments on my post are displaying this message:

    Warning: call_user_func(art_comment) [function.call-user-func]: First argument is expected to be a valid callback in /home/airrifle/public_html/wp-includes/comment-template.php on line 1242

    This just started to happen on my test blog. My companies main blogs are fine. I believe it is the spell check plugin i have installed. because when i deactived it and removed the 2 lines of codes on my comments.php file. the comments then displayed the original messages. Thats all fine and dandy but i want the spell checker plugin to remain and also i am worried about my main blog for my company running into this same fate. the site is airriflesonline.com. There is nothing on there but a few test posts as i am just using to test new plugins and features.

    in the comments template file it is as followed
    1241 if ( !empty($args[‘callback’]) ) {
    1242 call_user_func($args[‘callback’], $comment, $args, $depth);
    1243 return;

Viewing 5 replies - 1 through 5 (of 5 total)
  • Have you tried switching to the default theme to rule out any theme-specific problems?

    Thread Starter dmhbeast

    (@dmhbeast)

    Just tried and the comments are still showing that error message. i have also tried pulling the templates from the active blog and switched out them out, but still the same message. And i also put the original WP files in there as well

    OK – try:

    – deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    resetting the plugins folder by FTP or phpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    – re-uploading the wp-admin and wp-includes folders from a fresh download of WordPress.

    Thread Starter dmhbeast

    (@dmhbeast)

    awesome got it. Thanks alot Esmi

    For these who has theme-specific problems with call_user_func() Warning and comments:

    – check if your functions.php has all the required functions that comments.php uses

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

The topic ‘Warning: call_user_func(art_comment) [function.call-user-func]’ is closed to new replies.