如何解决错误:警告call_user_func_array()C ... \ wp-includes \ class-wp-hook.php?

时间:2018-05-21 12:47:01

标签: wordpress custom-wordpress-pages wordpress-rest-api

说明:我最近安装了4.7.10版本。

升级后我的程序失败了。如何解决以下错误:

    **( ! ) Warning: call_user_func_a rray() expects parameter 1 to be a valid callback, function 'myplguin_admin_sub_page' not found or invalid function name in C:\wamp64\www\sumit\wp-includes\class-wp-hook.php on line 298
    Call Stack
    #   Time    Memory  Function    Location
    1   0.0050  308232  {main}( )   ...\admin.php:0
    2   0.8550  33806248    do_action( )    ...\admin.php:222
    3   0.8550  33806968    WP_Hook->do_action( )   ...\plugin.php:453
    4   0.8550  33807048    WP_Hook->apply_filters( )   ...\class-wp-hook.php:323
    5   0.8550  33807848    call_user_func_array:{C:\wamp64\www\sumit\wp-includes\class-wp-hook.php:298} ( )    ...\class-wp-hook.php:298**

0 个答案:

没有答案