Support » Plugin: ABN Lookup for Gravity Forms » When ABN API lookup errors, fatal error occurs on form submission

  • Jake Jackson


    Recently, the was briefly offline and the lookup failed. When the form was then submitted with the failed lookup, the following error occurs:

    Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /wp-content/plugins/abn-lookup-for-gravity-forms/abn-lookup-for-gravity-forms.php:179

    Looks like additional error handling needs to occur (check for is_wp_error).

  • You must be logged in to reply to this topic.