Forums

Join
bbPress Support ForumsTroubleshootingwp-functions error

Info

wp-functions error

  1. I'm getting this weird error. Anyone know how to fix it?

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '' was given in /home/mysite/public_html/forum/bb-includes/wp-functions.php on line 586

  2. Ok, I found out what is causing the error. It is the following line of code in my footer:

    <?php do_action('bb_foot', ''); ?>

    But I believe I have to have that line of code in place for one or more of _ck_'s plugins... Any suggestions anyone?

  3. put back in the bb_foot and start deactivating plugins until the error goes away

    let me know which plugin stopped the error when deactivated

  4. it's the my views plug in...

  5. yay! I figured it out... in the "my views" plug in you have add_action('bb_foot', ''); at the end of the code. I think that is the problem because then I basically have add_action('bb_foot', ''); twice on one page. The my views plugin has it, and then it is also in my footer.

    When I remove add_action('bb_foot', ''); from the my views plug in (but leave it in my footer), everything works and the error goes away!

    Finally, now I can sleep ;)

  6. You must log in to post.