Call To Undefined Function: ctype_digit() in WordPress 2.5呼籲未定義功能: ctype_digit ( )在WordPress的2.5
After upgrading or installing在升級或安裝 WordPress 2.5 WordPress的2.5 , the following PHP error may appear on web pages or in Apache web server log, especially when using the new Flash based media uploader to upload photos, pictures, images, videos and other files:以下PHP的錯誤可能會出現在網頁或在Apache Web服務器日誌,尤其是當使用新的基於Flash媒體上傳程序上傳照片,圖片,圖像,視頻和其他文件:
[error] [client xxxx] PHP Fatal Error: Call to undefined function: ctype_digit() in /wordpress/wp-includes/link-template.php on line 182, referer: /wp-admin/media-upload.php?type=image&tab=library&post_id=1&post_mime_type=&s=&m=200804 [錯誤] [客戶端年月] PHP的致命錯誤:請未定義功能: ctype_digit ( )在/ WordPress的/可濕性粉劑,包括/鏈接template.php線182 ,參考: / wp-admin/media-upload.php ?類型=圖像及標籤=圖書館& post_id = 1 & = & post_mime_type秒= &米= 200804
The function ctype_digit() is used in get_attachment_link() in link-template.php, and the error may happens on some PHP installation regardless of version.功能ctype_digit ( )是用於get_attachment_link ( )在連結template.php和錯誤可能發生在一些PHP安裝不論版本。 PHP 4 (such 4.3.10) and PHP 5 (such as 5.2.6) both may be affected with the error. PHP 4中(例如4.3.10 )和PHP 5中(如5.2.6 )都可能受到影響的錯誤。
This is a known bug that will be fixed in WordPress 2.5.1, which may released in early May.這是一個已知的錯誤,將固定在WordPress的2.5.1 ,它可能在5月初公佈。 Meanwhile, if you want to fix the issue immediately, download fixed另外,如果你想解決問題,立即下載固定 link-template.php連結template.php file, and then upload and replace/overwrite the same link-template.php file in /wp-includes/ folder on the web server.文件,然後上傳並取代/覆蓋相同的鏈接template.php文件中/可濕性粉劑,包括/文件夾的網絡服務器。
If you’re using IE7, some如果您使用的是IE7的,有些 bugs have to be fixed錯誤必須固定 too before太前 release of WordPress 2.5.1 WordPress的釋放2.5.1 . 。
IMPORTANT : You're reading a machine translated page which is provided "as is" without warranty. 重要:您正在閱讀的機器翻譯網頁這是“原樣”提供,無保修。 Unlike human translation, machine translation does not understand the grammar, semantics, syntax, idioms of natural language, thus often produce inaccurate and low quality text which is misleading and incomprehensible.不同人的翻譯,機器翻譯不明白的語法,語義,句法,成語自然語言,因此,往往產生不準確,低質量的文字這是誤導和費解。 Thus, please refer to因此,請參閱 original English article英文原文的文章 when in doubt.當懷疑。
Related Articles相關文章
- Call to Undefined Function: wp_constrain_dimensions() When Uploading Images or image_downsize() in Gallery/Media Library in WordPress 2.5呼籲未定義功能: wp_constrain_dimensions ( )當上傳圖片或image_downsize ( )在畫廊/傳媒圖書館在WordPress的2.5
- Call to Undefined Function get_currentuserinfo() Error in WordPress呼籲未定義功能get_currentuserinfo ( )在WordPress的錯誤
- PHP Fatal Error on Call to Add_Query_Var in Taxonomy.php After Upgrading to WordPress 2.5 RC2 PHP的致命錯誤就請Add_Query_Var在Taxonomy.php後升級到WordPress的2.5 RC2中
- WordPress 2.5.1 Released for Download WordPress的2.5.1發布下載
- Fix WordPress 2.5 Image or Media Flash Uploader Not Working Issue in IE7修正2.5 WordPress的圖像或媒體閃光燈上傳不工作的問題在IE7
- Disable WordPress 2.5 Flash Image/Video/Media Uploader with Plugin禁用WordPress的2.5閃光圖片/視頻/媒體上傳與插件
- Media Buttons Disabler Plugin to Remove “Add Media” Icons in WordPress 2.5媒體按鈕Disabler插件刪除“添加媒體”圖標在WordPress的2.5
- WordPress 2.5 Released for Free Download WordPress的2.5發布免費下載
- How to SEO Optimize WordPress 2.5 Blog Web Page Title Without Optimal Title Plugin如何優化搜索引擎優化WordPress的2.5博客網頁標題無標題的優化插件
- Notification Emails Not Send After Comment Approval in WordPress 2.5 and 2.5.1通知電子郵件無法發送評論核准後在WordPress的2.5和2.5.1

































April 21st, 2008 22:33 08年四月21日22時33分
[...] bug is related to ctype_digit() function. [...]缺陷有關ctype_digit ( )函數。 If using the Flash uploader is too much trouble, disable the Flash media uploader with this [...]如果使用閃光燈上載是太麻煩,請禁用Flash媒體上載與此[...]
April 21st, 2008 22:35 08年4月21號22:35
[...] uploader does not work after whatever effort, workaround and solution been done, including some bug fixes, such as disable conflicting plugin and bypass mod_security to try to solve the error and issue, [...] [...]上載不工作後,無論努力,解決方法和解決方案已經完成,其中包括一些錯誤修正,如停用衝突的插件和繞行mod_security ,以試圖解決的錯誤和問題, [...]
July 16th, 2008 03:07 08年七月16日03:07
[...] upgrade to WordPress 2.5.1, which fixes many bugs related to new interface in WordPress 2.5 such as call to undefined function ctype_digit(), plus critial security fix. [...]升級到WordPress的2.5.1 ,其中許多漏洞修復有關新界面的WordPress的2.5如呼籲未定義功能ctype_digit ( ) ,外加批判安全補丁。 The features, bugs fixed and improvements in WordPress 2.5.1 [...]的功能,修復的錯誤和改進WordPress的2.5.1 [...]
August 4th, 2008 15:04 2008年8月4號15:04
Hi,嗨,
Thank you for the tip !謝謝你的小費! It fixed my Flash uploader feature.它固定我的閃存上載功能。