Info
- 5 posts
- 2 voices
- Started 3 years ago by wilcosky
- Latest reply from wilcosky
- This topic is not resolved
wp-functions error
-
- Posted 3 years ago #
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
-
- Posted 3 years ago #
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?
-
- Posted 3 years ago #
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
-
- Posted 3 years ago #
it's the my views plug in...
-
- Posted 3 years ago #
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 ;)
-
You must log in to post.