Jump to content

How to debug a warning message?


izacksher

Recommended Posts

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)

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.