fatal error - unable to edit any page of my wordpress website

I'm working on a website using ampps local server. when I try to edit any page this error occurs.Catchable fatal er

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
Add a comment  | 

1 Answer 1

Reset to default 0

i think you should overwrite old file with NEW WORDPRESS file (formatting.php)

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745232913a4617759.html

相关推荐

  • fatal error - unable to edit any page of my wordpress website

    I'm working on a website using ampps local server. when I try to edit any page this error occurs.Catchable fatal er

    8小时前
    10

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

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

关注微信