izacksher Posted December 8, 2016 Share Posted December 8, 2016 Followiing is a warning that I get in my Wordpress site. Has anyone any idea how to debug it? ( ! ) Warning: call_user_func_array() expects parameter 1 to be a valid callback, no array or string given in C:\AAAA WEB MASTER\webroot\rihut-mashlim\wp-includes\class-wp-hook.php on line 298 Call Stack # Time Memory Function Location 1 0.2010 132936 {main}( ) ..\index.php:0 2 0.2010 134936 require( 'C:\AAAA WEB MASTER\webroot\rihut-mashlim\wp-blog-header.php' ) ..\index.php:17 3 1.8401 46122240 require_once( 'C:\AAAA WEB MASTER\webroot\rihut-mashlim\wp-includes\template-loader.php' ) ..\wp-blog-header.php:19 4 1.8531 46261480 include( 'C:\AAAA WEB MASTER\webroot\rihut-mashlim\wp-content\themes\buzz\woocommerce.php' ) ..\template-loader.php:74 5 2.7272 46928296 woocommerce_content( ) ..\woocommerce.php:21 6 2.7292 46942352 wc_get_template_part( ) ..\wc-template-functions.php:358 7 2.7292 46942552 load_template( ) ..\wc-core-functions.php:173 8 2.7302 46955928 require( 'C:\AAAA WEB MASTER\webroot\rihut-mashlim\wp-content\plugins\woocommerce\templates\content-single-product.php' ) ..\template.php:686 9 2.7482 46958480 do_action( ) ..\content-single-product.php:48 10 2.7482 46958928 WP_Hook->do_action( ) ..\plugin.php:453 11 2.7482 46958976 WP_Hook->apply_filters( ) ..\class-wp-hook.php:323 12 2.7482 46959560 call_user_func_array:{C:\AAAA WEB MASTER\webroot\rihut-mashlim\wp-includes\class-wp-hook.php:298} ( ) ..\class-wp-hook.php:298 Variables in local scope (#11) $args = array (size=1) 0 => string '' (length=0) $nesting_level = int 0 $num_args = int 1 $priority = int 10 $the_ = array (size=2) 'function' => null 'accepted_args' => int 1 $value = string '' (length=0) Quote Link to comment Share on other sites More sharing options...
NotionCommotion Posted December 8, 2016 Share Posted December 8, 2016 It appears that call_user_func_array() expects parameter 1 to be a valid callback, no array or string given in C:\AAAA WEB MASTER\webroot\rihut-mashlim\wp-includes\class-wp-hook.php on line 298. PS. Wrapping your code in the code tags is a nice thing to do. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.