admin管理员组文章数量:1415484
I'm working on a website using ampps local server. when I try to edit any page this error occurs.
Catchable fatal error: Object of class WP_Error could not be converted to string in /Applications/AMPPS/www/wp-includes/formatting.php on line 1111
This is the line on formatting.php
line 1110 function wp_check_invalid_utf8( $string, $strip = false ) { line 1111 $string = (string) $string;
I'm working on a website using ampps local server. when I try to edit any page this error occurs.
Catchable fatal error: Object of class WP_Error could not be converted to string in /Applications/AMPPS/www/wp-includes/formatting.php on line 1111
This is the line on formatting.php
line 1110 function wp_check_invalid_utf8( $string, $strip = false ) { line 1111 $string = (string) $string;
Share Improve this question asked Aug 19, 2019 at 10:24 Saqib KhanSaqib Khan 31 bronze badge 1- Can you see what the error you're getting is, i.e. the contents of the WP_Error? You probably just need to fix that to save again. However it might make sense to modify wp_check_invalid_utf8 accept and pass through a WP_Error object, and if the source of the WP_Error and the route through wp_check_invalid_utf8 is all core code and not a third-party block or plugin then this is a WordPress bug. – Rup Commented Aug 19, 2019 at 10:36
1 Answer
Reset to default 0i think you should overwrite old file with NEW WORDPRESS file (formatting.php)
本文标签: fatal errorunable to edit any page of my wordpress website
版权声明:本文标题:fatal error - unable to edit any page of my wordpress website 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745232913a2648905.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论