admin管理员组文章数量:1312971
I have this error show up in my error_log.
PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wp_force_remove_style' not found or invalid function name in wp-includes/class-wp-hook.php on line 287
I will appreciate your advice as to how to fix this.
Thank you.
I have this error show up in my error_log.
PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wp_force_remove_style' not found or invalid function name in wp-includes/class-wp-hook.php on line 287
I will appreciate your advice as to how to fix this.
Thank you.
Share Improve this question edited Dec 16, 2020 at 22:31 Rup 4,4004 gold badges29 silver badges29 bronze badges asked Dec 14, 2020 at 19:04 Tony H.Tony H. 11 Answer
Reset to default 2You have an action, but not the valid callback for your action.
For example,
You have somewhere following line:
add_action( 'some_action', 'wp_force_remove_style' );
But not have "wp_force_remove_style" function defined.
You have to have a function as following:
function wp_force_remove_style() {
// Do you stuff.
}
本文标签: phpwpforceremovestyle39 not found
版权声明:本文标题:php - wp_force_remove_style' not found 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741867981a2402022.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论