WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Contact Form 7] Fatal error: call to undefined function imagetypes() (7 posts)

  1. cmkl
    Member
    Posted 5 years ago #

    I have upgraded to 1.9.3 and am getting this message in my error log.

    PHP Fatal error: Call to undefined function imagetypes() in /path-to/wordpress/wp-content/plugins/contact-form-7/wp-contact-form-7.php on line 1551

    No form shows up on the page into which I’ve inserted the tag. Suggestions?

  2. bamajr
    Member
    Posted 4 years ago #

    After the most recent upgrade offered for Contact Form 7, I'm getting a similar error. I am getting it on multiple sites where Contact Form 7 is being used. Every site is giving me the same error!

    http://www.sapphiresolutionsltd.com/contact-us/
    Fatal error: Call to undefined function imagetypes() in /../../../wp-content/plugins/contact-form-7/modules/captcha.php on line 201

    http://www.fumc-ottumwa.org/contact-us/
    Fatal error: Call to undefined function imagetypes() in /../../../wp-content/plugins/contact-form-7/modules/captcha.php on line 201

    http://www.captivatingexposures.com/contact-me/
    Fatal error: Call to undefined function imagetypes() in /../../../wp-content/plugins/contact-form-7/modules/captcha.php on line 201

    http://www.mvfdonline.com/contact-us/
    Fatal error: Call to undefined function imagetypes() in /../../../wp-content/plugins/contact-form-7/modules/captcha.php on line 201

    Each web site is using WordPress 2.8.4 and has the following:
    Apache version: 2.2.9
    MySQL version: 5.0.51
    PHP version: 5.2.6

    This problem did not exist until the most recent update for Contact Form 7, or at least that is when we first noticed the issue on all sites!

  3. bamajr
    Member
    Posted 4 years ago #

    After doing some more digging...

    I'm using Contact Form 7 (Version 2.0.5) plug-in
    w/
    Really Simple CAPTCHA (Version 1.0) plug-in

    On all the sites, if I disable the "Really Simple CAPTCHA" plug-in, the problem goes away.

    ...So it seems the issue is in the "Really Simple CAPTCHA" plug-in and not the Contact Form!

  4. bamajr
    Member
    Posted 4 years ago #

    I think the problem I discussed should be listed in the Really Simply CAPTCHA support area.

    Found at: http://wordpress.org/support/topic/320319

  5. Takayuki Miyoshi
    Member
    Posted 4 years ago #

    What version of GD and FreeType libraries are you using?

  6. bamajr
    Member
    Posted 4 years ago #

    These sites are all running on Debian Linux 5.0 servers with the BigMem kernel installed.

    PHP5-GD - GD module for php5 - Running latest 5.2.6.dfsg.1-1+lenny3

    libfreetype6 - FreeType 2 font engine, shared library files - Running latest 2.3.7-2+lenny1

  7. egeste
    Member
    Posted 4 years ago #

    I was having the same issue. did this:

    apt-get install php5-gd
    /etc/init.d/apache2 restart

    success

Topic Closed

This topic has been closed to new replies.

About this Topic