• Resolved webfolk

    (@webfolk)


    Notice: WC_Shortcode_Checkout->output was called with an argument that is <strong>deprecated</strong> since version 2.1! "order" is no longer used to pass an order ID. Use the order-pay or order-received endpoint instead

    Notice: Undefined variable: paymentmethod

    The undefined variable notice is displayed several times (5) due to the variable being called on multiple lines.

    Could we get an ETA on a fix for this? Thank you!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Design Team

    (@bngdesign)

    I will start looking into this error now, & will post a reply once I have more information.

    Plugin Author Design Team

    (@bngdesign)

    @webfolk, could you please provide the following for your site?

    – PHP version
    – WordPress version
    – WooCommerce version

    This will help us track down the issue and figure out what is going on.
    Thanks!

    Thread Starter webfolk

    (@webfolk)

    PHP Version: 7.0
    WP Version: 4.8.1
    WC Version: 3.1.1

    Plugin Author Design Team

    (@bngdesign)

    Thanks @webfolk. We have set a new dev site locally with the same versions of PHP, WordPress, and WooCommerce, but are unable to recreate the warning you are seeing. After doing some research, it may be possible there is a conflict with another plugin. Please try disabling other plugins one at a time and see if that stops the warning from being displayed.

    Thread Starter webfolk

    (@webfolk)

    Hi there! I apologize for the delay in response.

    I just tried it on a separate install and am still receiving the errors (after selecting the “Pay Securely” button on the Checkout page). The separate install contains only WooCommerce and NMI Gateway for WooCommerce, so I have ruled out the random plugin conflict.

    I have also reverted back to the Twenty Seventeen theme to rule out theme conflict, and the notices still remain.

    Notice: Undefined variable: paymentmethods in /wp-content/plugins/woo-nmi-three-step/nmi_three_step_gateway_functions.php on line 488

    The above notice appears several times after line 488, on lines: 490, 491, 492, 493. Obviously this is just because the variable (paymentmethods) appears on these lines as well, but I wanted to provide as much detail as possible for you to troubleshoot.

    Thank you

    Thread Starter webfolk

    (@webfolk)

    Just an update on my end:

    I had another developer install the plugin on one of their sites and they are seeing the errors as well.

    Plugin Author Design Team

    (@bngdesign)

    Thanks @webfolk, I’ve been going through things this week and hope to have a new version to push very soon. I found what I believe is causing your warning above and am putting a fix in place. Thank you for the details! They are extremely helpful.

    Thread Starter webfolk

    (@webfolk)

    Glad they helped! Look forward to testing out the new update. Thanks again!

    Plugin Author Design Team

    (@bngdesign)

    @webfolk I pushed a new version of the plugin earlier today that will fix your back button issue. I’m going to close this topic, but if you need more help in the future feel free to open a new thread or contact me directly nate.a@bngteam.com

    Thanks again for your help & patience!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Update for WooCommerce 3.0 / Fix PHP Notices’ is closed to new replies.