WordPress.org

Ready to get started?Download WordPress

Forums

Error after 2.9 install (7 posts)

  1. empireofthekop
    Member
    Posted 4 years ago #

    Hi I recently installed 2.9 and am getting this error everytime I try to upload a picture.

    Fatal error: Call to undefined function ctype_digit()

    What can I do?

    Sincerely,

    Antoine Zammit

  2. Start with the basics: disable all of your plugins and try to upload a picture again. Do you still get the error after that? If no, re-enable your plugins until the error comes back. That will be the problem plugin.

  3. Shane G.
    Member
    Posted 4 years ago #

    Hi,

    Upgrade your wordpress version to the latest version which will resolve your issue.

    Thanks,

    Shane G.

  4. empireofthekop
    Member
    Posted 4 years ago #

    no luck,

    Fatal error: Call to undefined function ctype_digit() in /MYFILEPATH/wp-admin/includes/file.php on line 238

    is there a way to rollback to the previous version of WordPress?

    Is anybody else having the problem, I did not have any problems until I installed 2.9

    -Antoine

  5. MacDoodle
    Member
    Posted 4 years ago #

    Anyone have an answer to this? I'm having the same problem.

  6. Lamont Granquist
    Member
    Posted 4 years ago #

    your php probably doesn't have the ctype module installed:

    # php -r 'print ctype_digit(1234);'

    Fatal error: Call to undefined function ctype_digit() in Command line code on line 1

    that one-liner should instead return:

    # php -r 'print ctype_digit(1234);'
    1

    I use FreeBSD, so to fix it all I did was:

    cd /usr/ports/textproc/php5-ctype
    make install

    You probably do not use FreeBSD, so you'll have to figure out how to install the php ctype module for your O/S.

  7. MacDoodle
    Member
    Posted 4 years ago #

    This was fixed in vs. 2.9.1 released today.

Topic Closed

This topic has been closed to new replies.

About this Topic