PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Fatal error: Cannot redeclare gravity_form() (previously declared in ....

  1. This was the error I received when I updated to Version 1.4.3.1 and was required to reactivate Gravity Forms

    Fatal error: Cannot redeclare gravity_form() (previously declared in /home/content/j/e/l/jelcoach/html/wp-content/plugins/gravityforms/gravityforms.php:922) in /home/content/j/e/l/jelcoach/html/wp-content/plugins/gravityforms/gravityforms.php on line 924

    Can some one suggest a fix?

    GF was previously working fine, but I added the GF plug in Add On at this site - http://wordpress.org/extend/plugins/gravity-forms-addons/
    and it has given me problems since.

    Thanks

    Posted 13 years ago on Tuesday October 19, 2010 | Permalink
  2. Have deactivated the Gravity Forms Addons plugin and then tried to activate 1.4.3.1?

    Posted 13 years ago on Tuesday October 19, 2010 | Permalink
  3. Bingo... that worked Carl. Thanks!

    BUt then I reactivated the Add On plugin and I am still having trouble accessing the Add Fields Section to the right when I am in the Edit Form mode.

    Any one have any success with the GF Directory and AddOns plug in?

    Posted 13 years ago on Tuesday October 19, 2010 | Permalink
  4. FanaticWeb
    Member

    I got this error too: Fatal error: Cannot redeclare gravity_form() (previously declared in /homepages/website/theme/wp-content/plugins/gravityforms/gravityforms.php:1193) in /homepages/website/theme/wp-content/plugins/gravityforms/gravityforms.php on line 1192

    Fixed it by deactivating the GF Addon (User Registration) then the main Gravity Forms, then reactivated the main GF followed by the addon, all went well (The forms were still there)

    But then I got the following statement under Gravity Forms User Registration Add-On:
    "Register your copy of Gravity Forms to receive access to automatic upgrades and support. Need a license key? Purchase one now."

    I just clicked on Register, took me to the pre-filled registration form and I clicked on Save Settings and voila, back on track...*fiouuu*

    Posted 13 years ago on Friday April 8, 2011 | Permalink
  5. I'm not sure how the GF Directory & Addons plugin would cause this error; the gravity_form() function is not declared in the plugin...

    I would like to know more about these errors; please post additional information here so I can fix any problems.

    Posted 12 years ago on Monday May 2, 2011 | Permalink