I've read the other posts about this issue, but mine is different in one fundamental way... there is no function defined in the error. It reads like this:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function '' not found or invalid function name in /home/ovbar/public_html/wp-includes/plugin.php on line 496
I've never seen this error without a function defined so I'm at a loss. I moved it using the All-in-One WP Migration
plugin. Any ideas? Here's what I've done so far:
- I've already checked for hard-coded urls just to be sure, and there aren't any.
- Deactivating all plugins still shows this error.
Every other aspect of the site works fine. This error only displays on the front end.
Any ideas?
add_action
in "wp-includes/plugin.php" line 431 puttingif ( empty( $function_to_add ) ) echo '<pre>', debug_print_backtrace(), '</pre>';
.error_reporting(0);
to the bottom of my wp-config file. It's only for that theme, and I'm going to be reworking it anyway. I went through the theme (poorly built) and commented out all of theadd_action()
s and the error still displayed, but if I switch themes it's gone. So for now, turning off warnings will do.