Support » Plugin: Gravity Forms ConvertKit Add-On » Fatal error: Uncaught Error: Cannot use object of type WP_Error as array

  • Resolved kiudex

    (@kiudex)


    I’ve just freshly installed Gravity Forms (2.3.6) and Gravity Forms ConvertKit Add-On (1.0.4) on WordPress (4.9.8).

    In the ConvertKit Feeds Settings page for my form I clicked “Add Feed” and the result is an error message and nothing else:

    Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /home/learn115/public_html/wp-content/plugins/convertkit-gravity-forms/components/gravityforms/class-gf-convertkit.php:165 Stack trace: #0 /home/learn115/public_html/wp-content/plugins/convertkit-gravity-forms/components/gravityforms/class-gf-convertkit.php(136): GFConvertKit->get_custom_fields() #1 /home/learn115/public_html/wp-content/plugins/gravityforms/includes/addon/class-gf-feed-addon.php(1294): GFConvertKit->feed_settings_fields() #2 /home/learn115/public_html/wp-content/plugins/gravityforms/includes/addon/class-gf-feed-addon.php(1096): GFFeedAddOn->get_feed_settings_fields(Array) #3 /home/learn115/public_html/wp-content/plugins/gravityforms/includes/addon/class-gf-feed-addon.php(1041): GFFeedAddOn->feed_edit_page(Array, ‘0’) #4 /home/learn115/public_html/wp-content/plugins/gravityforms/includes/addon/class-gf-addon.php(4196): GFFeedAddOn->form_settings(Array) #5 /home/learn115/public_html/wp-includes/class-wp-hook.php(286): GFAddOn->form_ in /home/learn115/public_html/wp-content/plugins/convertkit-gravity-forms/components/gravityforms/class-gf-convertkit.php on line 165

    Can you help with that please?

    Thanks Kevin

    • This topic was modified 2 years, 7 months ago by kiudex.

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

Viewing 1 replies (of 1 total)
  • Plugin Contributor Daniel Espinoza

    (@growdev)

    I’m not able to reproduce this.

    Please update to the latest version of Gravity Forms 2.4.3 and retest.
    Also, go to
    [yopur site]/wp-admin/admin.php?page=gf_settings&subview=ckgf
    and make sure there is an API Key added.

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error: Uncaught Error: Cannot use object of type WP_Error as array’ is closed to new replies.