• Resolved gopalb123

    (@gopalb123)


    Hello.

    I have some problem with my signle.php. When user click on submit after writing comments it shows this error

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'check_referrer' was given in /home/content/g/o/p/gopalb123/html/gb_wp/wp-includes/plugin.php on line 339
    Warning: Cannot modify header information - headers already sent by (output started at /home/content/g/o/p/gopalb123/html/gb_wp/wp-includes/plugin.php:339) in /home/content/g/o/p/gopalb123/html/gb_wp/wp-includes/pluggable.php on line 868

    I’m using WP2.9.2 here is code on comment page

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter gopalb123

    (@gopalb123)

    how to do that!

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Follow the guide that esmi linked to.

    Thread Starter gopalb123

    (@gopalb123)

    I follow the guide…but it’s not solved….same error…

    something need to correct for this belowo code:

    do {
    		foreach ( (array) current($wp_filter[$tag]) as $the_ )
    			if ( !is_null($the_['function']) )
    //problem is here call_user_func...				call_user_func_array($the_['function'], array_slice($args, 0, (int) $the_['accepted_args']));
    
    	} while ( next($wp_filter[$tag]) !== false );
    
    	array_pop($wp_current_filter);
    }

    Thread Starter gopalb123

    (@gopalb123)

    hi

    I installed wordpress 3.0 in my machine and import database from my online server….but problem is still there with plugin.php line no 395…

    After installation i check wp-config.php/plugin.php there is no closing tag(i.e. ?>) and i add this tag to both file. Please help me…

    Thread Starter gopalb123

    (@gopalb123)

    hi,

    I solved the problem….now it is ok….Thanks esmi & macmanx…

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    You’re welcome! I’m glad you found a solution.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Comment submit error…’ is closed to new replies.