WordPress 2.3 和 Table ‘wp_post2cat’ doesn’t exist 錯誤訊息
前陣子升級了 WordPress 2.3,那天比較沒空所以升級完沒有發篇文章順便測試一下,後來要寫文章時才發現,不管是寫文章暫存或是寫完發表時,都會有資料庫錯誤的錯誤訊息:
WordPress database error: [Table 'wordpress_dbname.wp_post2cat' doesn't exist]
雖然文章還是會發表出去,但總是怪怪的,後來看到「Wordpress 2.3: wp_post2cat does not exist」才知道,原來是升級到 WordPress 2.3 時刪掉了 wp_post2cat 這個資料表,而這個資料表會被我有裝的一個 plugin:Google (XML) Sitemaps Generator for WordPress 2.7.1 用到,解決方案一是將 wp_post2cat 臨時建回來,不過我用的是另一種方法,將 Google (XML) Sitemaps Generator 升級到 3.0 (奇怪,WordPress 2.3 有檢查 plugins 是否有新版的功能,但還沒有提示 Google (XML) Sitemaps Generator 已經有新版)現在看來就沒問題了。
related articles
- WordPress 2.6.2 (September 13th, 2008)
- WordPress 2.3.3 (February 13th, 2008)
- WordPress 2.3.2 (January 5th, 2008)
- 近況 (December 3rd, 2007)
- 消失和還在的 robots.txt (October 9th, 2007)




October 11th, 2007 at 21:22
『WordPress 2.3 有檢查 plugins 是否有新版的功能,但還沒有提示』那是僅限於檔案(新版)有放到 http://wordpress.org/extend/plugins/ 的才會吧
October 11th, 2007 at 21:43
唔,那時倒是沒有去看 http://wordpress.org/extend/plugins/google-sitemap-generator/ 有新版了沒,不過現在看來是有了