• Resolved Yaswat

    (@statlercity)


    Getting an error in Woocommerce logs. Seems to be not be able to get transaction errors back to the site for display.

    Note: dir structure changed for pasting here.

    2017-11-30T14:50:15+00:00 CRITICAL Uncaught Error: Cannot use object of type WP_Error as array in /fake-path-for-posting/wp-content/plugins/woo-nmi-three-step/nmi_three_step_gateway_functions.php:1908
    Stack trace:
    #0 /fake-path-for-posting/wp-includes/class-wp-hook.php(286): nmi701_stepOne(”)
    #1 /fake-path-for-posting/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
    #2 /fake-path-for-posting/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #3 /fake-path-for-posting/wp-admin/admin-ajax.php(112): do_action(‘wp_ajax_nopriv_…’)
    #4 {main}
    thrown

    • This topic was modified 7 years, 3 months ago by Yaswat.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Design Team

    (@bngdesign)

    @statlercity

    Thanks for the note. I’ve started looking at this and will post an update as soon as I find out what is causing that error.

    Nate
    BNG Team

    Thread Starter Yaswat

    (@statlercity)

    @bngdesign

    Thanks for your prompt attention to this!

    Plugin Author Design Team

    (@bngdesign)

    @statlercity

    I haven’t been able to recreate your error on my end. Could you please try disabling any other plugins and try reproducing the error?

    Also, could you please post or send the following:
    – WordPress version
    – WooCommerce Version
    – NMI Plugin Version (version number and if it is paid or premium)

    One more thing. Could you please send a screen shot of the error to [email protected] as well as the url of your site? I suspect it might be a conflict between another plugin but want to cover my bases and do anything I can on my end to confirm.

    Thanks!
    Nate

    Thread Starter Yaswat

    (@statlercity)

    @bngdesign

    I appreciate you looking into this.

    WP Version – 4.9.1
    WC Version – 3.2.5
    NMI Gateway for WooCommerce by BNGDesign – 1.5.6 – Not tested with the active version of WooCommerce

    I’ll email a screenshot of the last few errors. They all appear to be the same.

    It seems to be related to user input error. I noticed while manually running a customers order that if I add dashes to the CC#, a few JS error popups come up but only say ‘Error’. That happens 2 or 3 times then says internal server error in another generic JS popup.

    I had no issues when using only the numbers. I believe spaces won’t throw the error, but I cannot confirm until I need to run another order manually. I had no issues during testing, but customers are finding a way to break things.

    As far as plugins go, most are critical and I have tried disabling any that aren’t absolutely required for the site to stay operational. The site is live and uses a seating chart plugin which I cannot disable or the entire system will be unavailable.

    I have another site using your gateway plugin. It uses the ticket system but not the seating charts and has been mostly ok so far. It is throwing the same errors with your plugin though. I will email that url to you as well.

    Thanks again!

    Charles

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘CRITICAL Uncaught Error’ is closed to new replies.