PHP Warning:
call_user_func_array()
expects parameter 1 to be a valid callback, classwphpc_PAnD
not found in/var/www/clients/client32/web3288/web/wp-includes/class-wp-hook.php
on line 288
What can I do?
PHP Warning:
call_user_func_array()
expects parameter 1 to be a valid callback, classwphpc_PAnD
not found in/var/www/clients/client32/web3288/web/wp-includes/class-wp-hook.php
on line 288
What can I do?
Share Improve this question edited Jan 3, 2020 at 20:50 nmr 4,5672 gold badges17 silver badges25 bronze badges asked Jan 3, 2020 at 20:41 CsasziCsaszi 31 bronze badge1 Answer
Reset to default 1It is usually caused by a filter or an action not properly declared. Somewhere in your theme or plugins is a line like:
add_filter( 'hook_name' , array( 'wphpc_PAnD', 'someMethod' ) );
// or
add_action( 'hook_name' , array( 'wphpc_PAnD', 'methodName' ) );
which register class method with hook for a action or filter, but this class (wphpc_PAnD
) does not exist.
Check if file with class definition is included and there is no typo in the class name in add_action()
/ add_filter()
.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744861522a4597730.html
评论列表(0条)