Warning: cannot yet handle MBCS in html_entity_decode()!

使用 WP-PostRatings這支外掛程式的朋友,可能有遇到WP-PostRatings程式升級到1.30版時,側邊欄出現很多Warning: cannot yet handle MBCS in html_entity_decode()!的錯誤訊息,這是因為主機PHP版本還是4.X而且WordPress 也已經升級到2.5.1版的關係,避免這樣的錯誤訊息出現,可以在佈景主題資料夾內,會出現WP-PostRatings Widget的檔案(例如index.php,page.php,single.php),開啟這些檔案,然後在最上方的地方加上<? error_reporting(0); ?>,這樣應該就可以避免Warning: cannot yet handle MBCS in html_entity_decode()!這些錯誤訊息的出現了。

參考資料:WP-PostRatings 討論區

This entry was posted in Plugins, Troubleshooting and tagged , . Bookmark the permalink.

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">