Skip to:
Content
Pages
Categories
Search
Top
Bottom

wp-functions error

  • @wilcosky

    Participant

    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

Viewing 4 replies - 1 through 4 (of 4 total)
  • @wilcosky

    Participant

    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?

    @_ck_

    Participant

    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

    @wilcosky

    Participant

    it’s the my views plug in…

    @wilcosky

    Participant

    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 ;)

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar