Title: Function WC_Shortcode_Checkout error calling depreciated version
Last modified: December 21, 2023

---

# Function WC_Shortcode_Checkout error calling depreciated version

 *  Resolved [stevenesau](https://wordpress.org/support/users/stevenesau/)
 * (@stevenesau)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/function-wc_shortcode_checkout-error-calling-depreciated-version/)
 * Checkout page error :[https://tongamarket.com/checkout/](https://tongamarket.com/checkout/).
   Show long error message about calling depreciate [assets. 
   Diaganose my checkout
   page issue: Deprecated: Function 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 /home1/
   tongamar/public_html/wp-includes/functions.php on line 6031d
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffunction-wc_shortcode_checkout-error-calling-depreciated-version%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Zee](https://wordpress.org/support/users/doublezed2/)
 * (@doublezed2)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/function-wc_shortcode_checkout-error-calling-depreciated-version/#post-17293580)
 * Hello [stevenesau](https://wordpress.org/support/users/stevenesau/),
 * Thank you for contacting WooCommerce support.
 * In an attempt to experience the issue you’re facing, I placed a test order on
   your site using Direct Bank Transfer payment. Interestingly, I didn’t encounter
   any error, and here is the screenshot to show my checkout process: [https://prnt.sc/GDpCOoYznqP5](https://prnt.sc/GDpCOoYznqP5).
 * To further assist with this, may I request a few more pieces of information?
    1. Can you share a screenshot of the error you’re facing from your end?
    2. Share your System Status Report. You can get this by navigating to `WooCommerce
       > Status` on your admin dashboard. There, the `Get system report` option will
       allow you to `Copy for support`.
    3. Also, share a copy of the error log with us. You can find this under `WooCommerce
       > System Status > Logs`.
 * With these insights from you, we might be able to get to the bottom of this issue
   more quickly. Looking forward to your response 🙂
 *  Thread Starter [stevenesau](https://wordpress.org/support/users/stevenesau/)
 * (@stevenesau)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/function-wc_shortcode_checkout-error-calling-depreciated-version/#post-17293915)
 * Thanks –
 * [Zubair Zahid (woo-hc)](https://wordpress.org/support/users/doublezed2/) here
   are the screenshots of the Checkout error message, I remove it from Debugger 
   with a plugin:
 * [https://prnt.sc/vbxb5Nb568is](https://prnt.sc/vbxb5Nb568is)
 * [https://prnt.sc/ErdDvj-RlMxo](https://prnt.sc/ErdDvj-RlMxo)
 * [https://prnt.sc/wfKJkF0nWR5O](https://prnt.sc/wfKJkF0nWR5O)
 * [https://prnt.sc/2kJ-K0e8wI_A](https://prnt.sc/2kJ-K0e8wI_A)
 * [https://prnt.sc/4dUOiWYrOrte](https://prnt.sc/4dUOiWYrOrte)
 * [https://prnt.sc/Dk233l4EONLO](https://prnt.sc/Dk233l4EONLO)
 * [https://prnt.sc/gNZRAAQ7CbzY](https://prnt.sc/gNZRAAQ7CbzY)
 * [https://prnt.sc/JwBtW-pLYhqV](https://prnt.sc/JwBtW-pLYhqV)
 * [https://prnt.sc/gx0FETDIA6gq](https://prnt.sc/gx0FETDIA6gq)
 * [https://prnt.sc/aEJ-McrH7jc-](https://prnt.sc/aEJ-McrH7jc-)
 * [https://prnt.sc/vkmBDX3bfLOT](https://prnt.sc/vkmBDX3bfLOT)
 *  Plugin Support [Shameem – a11n](https://wordpress.org/support/users/shameemreza/)
 * (@shameemreza)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/function-wc_shortcode_checkout-error-calling-depreciated-version/#post-17294412)
 * Hi [@stevenesau](https://wordpress.org/support/users/stevenesau/),
 * Thanks for sharing additional information.
 * I’ve checked the error message and screenshots you’ve provided, and it looks 
   like you’ve used Elementor to design your checkout and order received pages. 
   It seems that the widget you’ve used from Elementor is using a deprecated function.
 * There are a few ways you can resolve this issue. One option is to update your
   Elementor plugin and then check if the error message still appears. If it does,
   you might need to replace the widget you’ve been using to build all your WooCommerce
   related pages, especially the checkout and ‘Thank You’ pages.
 * Remember to disable your WP Debug mode as well: [https://wordpress.org/documentation/article/debugging-in-wordpress/](https://wordpress.org/documentation/article/debugging-in-wordpress/)
 * As an alternative, you could remove the Elementor widget from those pages and
   instead use a WooCommerce shortcode that’s available here: [https://woo.com/document/woocommerce-shortcodes](https://woo.com/document/woocommerce-shortcodes)
 * If the issue still exists, could you share a copy of your site’s System Status
   Report with us? You’ll find it at the top of the page under **WooCommerce > Status
   > Select Get System Report** and then **Download for Support**. This will download
   a TXT file containing the SSR’s contents to share with us.
 * You could copy and paste your reply or share it via [Mozilla Community Pastebin](https://prod.pastebin.prod.webservices.mozgcp.net/)
   and share the link here. This will help us investigate further and provide you
   with a more accurate solution.
 * Looking forward to helping you.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Function WC_Shortcode_Checkout error calling depreciated version’ is 
closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [checkout](https://wordpress.org/support/topic-tag/checkout/)
 * [depricated](https://wordpress.org/support/topic-tag/depricated/)

 * 4 replies
 * 3 participants
 * Last reply from: [Shameem – a11n](https://wordpress.org/support/users/shameemreza/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/function-wc_shortcode_checkout-error-calling-depreciated-version/#post-17294412)
 * Status: resolved