PHP Catchable fatal error, WP_Error – wpmu-functions.php

ผมติดตั้ง WordPress MU  2.8.1 แล้วใช้งานไปสักพัก  พบว่าเมื่อคลิกที่ Site Admin -> Options แล้วการแสดงผลมาหยุดที่คำว่า Dashboard Blog พร้อมๆ กับมี error message ข้างล่างโผล่ใน log  (ผมลองติดตั้งใหม่อีกรอบ ก็ยังคงเจอปัญหานี้เหมือนเดิม)

[error]  PHP Catchable fatal error:  Object of class WP_Error could not be converted to string in /home/…path…/wp-includes/wpmu-functions.php on line 107, referer: http://…website…/wp-admin/wpmu-themes.php?updated=true&action=themes

เมื่อลอง search แล้วก็พบวิธีการแก้ปัญหาที่นี่

Hi, I’ve seen the error and here is my solution (I promise it will work for you guys, too)

Go to your phpmyadmin. Select the name of the database which your wordpress mu is using. Go to Search.

At the: Word(s) or value(s) to search for (wildcard: “%”) type: dashboard_blog

Then on the Inside table(s): you have to scroll down and select wp_sitemeta to be inserted in the Search. OK, just click Go.

You will have the search resources above like this:

Search results for “dashboard_blog” at least one of the words:
2 match(es) inside table wp_sitemeta | Browse | Delete

Click Browse and you will see 2 table. Edit the table name dashboard_blog.

Whatever you see the meta_value is. I don’t remember exactly (may be ERROR and something) but you don’t need to worry. Just delete all and type 1. Yes, just type the word “1” in the box ONLY.

Finally, click Go. And log in to you WP. See the result.

It works for me and I hope that it works for you, too.

Have a nice day!

ขอคัดลอกมาเก็บไว้เพราะคิดว่า คงได้แก้ปัญหาแบบนี้บ่อย :p

Leave a Reply

Your email address will not be published. Required fields are marked *