[QUOTE=mutinyzoo;1227065]Have been using the wonderful Numinix integration tutorial/method on a couple of blogs for years (thank you very much), but there is an issue with the Twenty Thirteen theme: PHP Warning:
Code:
call_user_func_array() expects parameter 1 to be a valid callback, function ‘stats_template_redirect’ not found or invalid function name in /path/to/wp-includes/plugin.php on line 406.
it occurs when i add any widget into the seconday widget area.
Following is the code on the numinix wordpress_page.php file where the stats_template_redirect call occurs and where I'm betting the answer may be found.
Code:
if ($_GET['main_page'] == 'blog') {
define('WP_USE_THEMES', false);
require('steel/wp-blog-header.php'); // edit this with relative path to wordpress from store root
add_action( 'wp_footer', 'stats_template_redirect', 1 );
}
If anybody still has this problem, it's trying to find the Jetpack plugin. Looks like something was added for Jetpack to work. But if you don't have Jetpack installed it causes an error.
Installing the Jetpack plugin stopped the errors for me.
Bookmarks