WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Error on upgrade: Fatal error: Call to undefined function wpcf7_add_shortcode() (5 posts)

  1. emregan
    Member
    Posted 9 months ago #

    I just upgraded to the latest version, and now my front and back ends are totally whitescreened with the following error message:

    Fatal error: Call to undefined function wpcf7_add_shortcode() .... in functions.php

    I'm on wordpress 3.7.1

    Thanks!

    http://wordpress.org/plugins/contact-form-7/

  2. pharris324
    Member
    Posted 9 months ago #

    Mine too. Had to restore from a backup, delete 3.5.4 version plugin file, and recreate my forms on old plugin version. But would like to keep up to date. Any answers for us? Thanks.

  3. esmi
    Forum Moderator
    Posted 9 months ago #

    @pharris324: If you require assistance then, as per the Forum Welcome, please post your own topic.

  4. emregan
    Member
    Posted 9 months ago #

    So it seems the plugin got deactivated after I did an upgrade. I was able to resolve this by manually activating the plugin through a php script - since I couldn't do it through the admin.

    Now, however, it is working but with my debugger on I am getting the following error message:

    Warning: Missing argument 2 for wpcf7_add_shortcode() in ....../wp-content/plugins/contact-form-7/includes/shortcodes.php on line 179

  5. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 9 months ago #

    Try deactivating other plugins and theme which extend Contact Form 7's tag set. If it solves the issue, you need update of the extension plugin or theme.

    This topic may be helpful.
    http://wordpress.org/support/topic/after-update-undefined-function-wpcf7_add_shortcode

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.