• Resolved fkarimi

    (@fkarimi)


    Hi ,

    Am having the below errors on my site;

    Deprecated: WC_Shortcode_Checkout->output was called with an argument that is deprecated since version 2.1! “order” is no longer used to pass an order ID. Use the order-pay or order-received endpoint instead. in C:\Bitnami\wordpress-5.5.1-0\apps\wordpress\htdocs\wp-includes\functions.php on line 5061.

    What can be the problem?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @fkarimi,

    It sounds like some code on the site is making use of a deprecated function. That’s a function that the developers have indicated will be removed in a future version of WooCommerce.

    It could be the theme or a plugin. You could find out which one by running a conflict test. This guide can walk you through how to do that.

    https://docs.woocommerce.com/document/how-to-test-for-conflicts/

    Once you’ve found the source of the deprecated function being used, you can then get in touch with the developer of that plugin/theme to get them to make an update.

    I hope that gets you pointed in the right direction.

    Thanks!

    Thread Starter fkarimi

    (@fkarimi)

    Thanks you @3sonsdevelopment

    I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WC_Shortcode_Checkout’ is closed to new replies.