admin管理员组文章数量:1405629
Can someone help me with this error my website is not working even wp-admin page I'm getting this error message I have tried to disable all plugins but still same error?
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wp_pre_kses_block_attributes' not found or invalid function name in /home//public_html/wp-includes/class-wp-hook.php on line 288
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wp_pre_kses_block_attributes' not found or invalid function name in /home/public_html/wp-includes/class-wp-hook.php on line 288
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wp_pre_kses_block_attributes' not found or invalid function name in /home/public_html/wp-includes/class-wp-hook.php on line 288
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wp_pre_kses_block_attributes' not found or invalid function name in /home/public_html/wp-includes/class-wp-hook.php on line 288
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wp_pre_kses_block_attributes' not found or invalid function name in /home/public_html/wp-includes/class-wp-hook.php on line 288
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wp_pre_kses_block_attributes' not found or invalid function name in /home/public_html/wp-includes/class-wp-hook.php on line 288
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wp_pre_kses_block_attributes' not found or invalid function name in /home/public_html/wp-includes/class-wp-hook.php on line 288
Warning: Cannot modify header information - headers already sent by (output started at /home/aryshe5/public_html/wp-includes/class-wp-hook.php:288) in /home/public_html/wp-includes/pluggable.php on line 1265
Warning: Cannot modify header information - headers already sent by (output started at /home/aryshe5/public_html/wp-includes/class-wp-hook.php:288) in /home/public_html/wp-includes/pluggable.php on line 1268
Can someone help me with this error my website is not working even wp-admin page I'm getting this error message I have tried to disable all plugins but still same error?
Share Improve this question edited Dec 16, 2019 at 5:09 Chetan Vaghela 2,4084 gold badges10 silver badges16 bronze badges asked Dec 15, 2019 at 23:32 MrSherMrSher 31 silver badge2 bronze badges 1Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wp_pre_kses_block_attributes' not found or invalid function name in /home//public_html/wp-includes/class-wp-hook.php on line 288
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wp_pre_kses_block_attributes' not found or invalid function name in /home/public_html/wp-includes/class-wp-hook.php on line 288
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wp_pre_kses_block_attributes' not found or invalid function name in /home/public_html/wp-includes/class-wp-hook.php on line 288
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wp_pre_kses_block_attributes' not found or invalid function name in /home/public_html/wp-includes/class-wp-hook.php on line 288
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wp_pre_kses_block_attributes' not found or invalid function name in /home/public_html/wp-includes/class-wp-hook.php on line 288
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wp_pre_kses_block_attributes' not found or invalid function name in /home/public_html/wp-includes/class-wp-hook.php on line 288
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'wp_pre_kses_block_attributes' not found or invalid function name in /home/public_html/wp-includes/class-wp-hook.php on line 288
Warning: Cannot modify header information - headers already sent by (output started at /home/aryshe5/public_html/wp-includes/class-wp-hook.php:288) in /home/public_html/wp-includes/pluggable.php on line 1265
Warning: Cannot modify header information - headers already sent by (output started at /home/aryshe5/public_html/wp-includes/class-wp-hook.php:288) in /home/public_html/wp-includes/pluggable.php on line 1268
- There is a hook that isn't finding the function/callable that was attached to it 'wp_pre_kses_block_attributes'. I cannot help much without knowing more. We need to know where the 'wp_pre_kses_block_attributes' function comes from – Raba Commented Dec 16, 2019 at 0:06
3 Answers
Reset to default 3Reinstalling core should fix this issue. This is more than likely related to a botched update from 5.3 to 5.3.1.
Edit: To clarify, 5.3.1 included some hardening with relation to kses (specifically wp_kses_bad_protocol()
) as noted in the release post.
In the error output above, a core file was referencing a core function that didn't exist, which tells us that one core file was updated but another one elsewhere was not. So "botched update" is the conclusion.
As for why the update didn't work, your guess is as good as mine.
In my case, I just received the same error and went into wp-admin and chose to upgrade from WordPress 5.3 to 5.3.1, that resolved the errors.
Reinstalling WordPress latest version from the dashboard options fixed this issue for me! :)
Just a corrupt update essentially.
本文标签: wp adminclasswphookphp on line 288
版权声明:本文标题:wp admin - class-wp-hook.php on line 288 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744895407a2631033.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论