• Hi David,

    Our server is ubuntu nginx php7.4-fpm

    When submitting the gravity form the user gets a critical php error right before the success confirmation redirect and the email.
    The submission actually is successful, the post is created with all the data including all the keywords entered into the taxonomy field. It just fails before the emails get sent or the success page is shown so users keep re submitting ??

    The error from our log file:

    PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, GF_Field_HTML given in /wp-content/plugins/gravity-forms-custom-post-types/gfcptaddonbase.php:468
    Stack trace:
    #0 /wp-content/plugins/gravity-forms-custom-post-types/gfcptaddonbase.php(442): GFCPTAddonBase->delete_custom_taxonomies()
    #1 /wp-includes/class-wp-hook.php(294): GFCPTAddonBase->save_taxonomies()
    #2 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
    #3 /wp-includes/plugin.php(484): WP_Hook->do_action()
    #4 /wp-content/plugins/gravityforms/gravityforms.php(6110): do_action()
    #5 /wp-content/plugins/gravityforms/forms_model.php(4831): gf_do_action()
    #6 /wp-content/plugins/gravityforms/common.php(4300): GFFormsModel::create_post()
    #7 /wp-content/plugins/gravityforms/form_display.php(1533): GF”

    Any ideas?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author claygriffiths

    (@claygriffiths)

    Hi @gaborkukucska, sorry for the delay getting back to you!

    I had a hard time reproducing the exact error you are running into, but I put a speculative fix into 3.1.20, which I’m hoping will help. ??

    Let me know how it works for you!

Viewing 1 replies (of 1 total)
  • The topic ‘must be of type array, GF_Field_HTML given’ is closed to new replies.