Fatal error: Call to undefined function register_nav_menu() after install a theme on WordPress

問題:
在wordpress安裝一個新的theme後,wordpress發生嚴重的錯誤,訊息如下:

[Fri Mar 11 09:49:35 2011] [error] [client 60.248.245.26] PHP Fatal error:  Call to undefined function register_nav_menus() in /usr/share/wordpress/wp-content/themes/wsc6/functions.php on line 33
sh: /usr/sbin/sendmail: not found


原因:
it looks like you are using a theme that is incompatible with your version of WP

register_nav_menu() relates to the new menu system in WP 3.0, which if you are using 2.9.2, would be the issue

解法:
下載新版的Wordpress將舊版的蓋掉,在重新設定。

來源:
http://wordpress.org/support/topic/fatal-error-call-to-undefined-function-register_nav_menu-in-home2

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 變更 )

Twitter picture

You are commenting using your Twitter account. Log Out / 變更 )

Facebook照片

You are commenting using your Facebook account. Log Out / 變更 )

Google+ photo

You are commenting using your Google+ account. Log Out / 變更 )

連結到 %s