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 get_currentuserinfo() Error in WordPress呼吁未定义功能get_currentuserinfo ( )在WordPress的错误
- WordPress 2.5.1 Released for Download WordPress的2.5.1发布下载
- 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
- Fix WordPress 2.5 Image or Media Flash Uploader Not Working Issue in IE7修正2.5 WordPress的图像或媒体闪光灯上传不工作的问题在IE7
- 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中
- Disable WordPress 2.5 Flash Image/Video/Media Uploader with Plugin禁用WordPress的2.5闪光图片/视频/媒体上传与插件
- WordPress 2.5 RC2 Released for Download WordPress的2.5 RC2测试版发布下载
- How to SEO Optimize WordPress 2.5 Blog Web Page Title Without Optimal Title Plugin如何优化搜索引擎优化WordPress的2.5博客网页标题无标题的优化插件
- Workaround to Override WordPress Shortcode and Display the [] Brackets Tags解决办法,以覆盖WordPress的短,并显示方括号[ ]标签
- Media Buttons Disabler Plugin to Remove “Add Media” Icons in WordPress 2.5媒体按钮Disabler插件删除“添加媒体”图标在WordPress的2.5

































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.它固定我的闪存上载功能。