html 可捕获的致命错误:无法将类WP_Error的对象转换为/home/mahooorc/public_html/wp-includes/formatting.php中的字符串

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了html 可捕获的致命错误:无法将类WP_Error的对象转换为/home/mahooorc/public_html/wp-includes/formatting.php中的字符串相关的知识,希望对你有一定的参考价值。

This is usually caused by missing taxonomies that are used in a menu, but do not exist anymore.

You have a couple of solutions to try, but do not forget to always create a backup of your files and database before you try any of them.

**Method 1**

Remove the taxonomy items from the menu
Delete all session data, cookies etc...

Method 2

Find the table wp_term_taxonomy in the database
Find a record called nav_menu
Delete that record

Method 3

Find the table wp_terms in the database
Look at the different terms and decide which ones you do not need
Delete the terms you do not need anymore
When none of these solutions, or a combination of the solutions work, please let me know. You have still a couple more options, but those are a lot more destructive.

source: http://stackoverflow.com/a/33753824

以上是关于html 可捕获的致命错误:无法将类WP_Error的对象转换为/home/mahooorc/public_html/wp-includes/formatting.php中的字符串的主要内容,如果未能解决你的问题,请参考以下文章

可捕获的致命错误:WP_Error 类的对象无法转换为字符串

可捕获致命错误的 FindAll() 结果:DateTime 类的对象无法转换为字符串

可捕获的致命错误:类 AppBundle\Entity\Categoria 的对象无法转换为字符串

SQL 错误可捕获的致命错误:stdClass 类的对象无法转换为字符串

WordPress:可捕获的致命错误:stdClass 类的对象无法转换为字符串

可捕获的致命错误:WC_Cart 类的对象无法转换为字符串