• Resolved Corey Salzano

    (@salzano)


    This error occurs on version 4.4.0. I don’t have any pending updates to any plugins or themes. I can reproduce this error when I go to the Entries list at wp-admin/admin.php?page=gf_entries and click the gear icon to change which columns show up in the table of forms.

    [20-Aug-2024 13:35:22 UTC] PHP Fatal error:  Uncaught TypeError: HCaptcha\GravityForms\Field::__construct(): Argument #1 ($data) must be of type array, HCaptcha\GravityForms\Field given, called in /home/public_html/wp-content/plugins/gravityforms/includes/fields/class-gf-fields.php on line 83 and defined in /home/public_html/wp-content/plugins/hcaptcha-for-forms-and-more/src/php/GravityForms/Field.php:55
    Stack trace:
    #0 /home/public_html/wp-content/plugins/gravityforms/includes/fields/class-gf-fields.php(83): HCaptcha\GravityForms\Field->__construct()
    #1 /home/public_html/wp-content/plugins/gravityforms/forms_model.php(1096): GF_Fields::create()
    #2 /home/public_html/wp-content/plugins/gravityforms/select_columns.php(207): GFFormsModel::convert_field_objects()
    #3 /home/public_html/wp-content/plugins/gravityforms/select_columns.php(309): GFSelectColumns::select_columns_page()
    #4 /home/public_html/wp-content/plugins/gravityforms/gravityforms.php(920): require_once('/home/p...')
    #5 /home/public_html/wp-includes/class-wp-hook.php(324): GFForms::process_exterior_pages()
    #6 /home/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #7 /home/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
    #8 /home/public_html/wp-admin/admin.php(175): do_action()
    #9 /home/public_html/wp-admin/index.php(10): require_once('/home/p...')
    #10 {main}
    thrown in /home/public_html/wp-content/plugins/hcaptcha-for-forms-and-more/src/php/GravityForms/Field.php on line 55
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor kaggdesign

    (@kaggdesign)

    Here is what I have:

    What is your version of Gravity Forms? Can you share it with me for testing? My email is [email protected].

    Thanks.

    Thread Starter Corey Salzano

    (@salzano)

    Gravity Forms 2.8.16

    Plugin Contributor kaggdesign

    (@kaggdesign)

    Gravity Forms is a premium product, and I do not have the latest version. Can you provide it for testing, as I mentioned above?

    Thanks.

    Plugin Contributor kaggdesign

    (@kaggdesign)

    I have fixed the bug. The fix will be released with v4.5.0 in the beginning of September. Thank you for the report.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.