php - class 'wphpc_PAnD' not found

PHP Warning:call_user_func_array() expects parameter 1 to be a valid callback, class wphpc_PAnD not found in varwww

PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class wphpc_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, class wphpc_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 badge
Add a comment  | 

1 Answer 1

Reset to default 1

It 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

相关推荐

  • php - class 'wphpc_PAnD' not found

    PHP Warning:call_user_func_array() expects parameter 1 to be a valid callback, class wphpc_PAnD not found in varwww

    1天前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信