Title: deprecated function warning
Last modified: November 29, 2017

---

# deprecated function warning

 *  [Chris Mok](https://wordpress.org/support/users/chris_dev/)
 * (@chris_dev)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/deprecated-function-warning-3/)
 * Hi,
 * Thank you for the good payment gateway. I found some issue in your plugin.
 * Please have a look the log and fix this issue in next version.
 * [29-Nov-2017 23:01:33 UTC] id was called incorrectly. Order properties should
   not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘
   wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action,
   WP_Hook->apply_filters, call_user_func_array, WC_AJAX::do_wc_ajax, do_action(‘
   wc_ajax_checkout’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array,
   WC_AJAX::checkout, WC_Checkout->process_checkout, WC_Checkout->process_order_payment,
   WC_Gateway_WooCommerce_POLi->process_payment, WC_Order->update_status, WC_Order-
   >save, WC_Order->status_transition, do_action(‘woocommerce_order_status_pending_to_on-
   hold’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Emails::
   send_transactional_email, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters,
   call_user_func_array, WC_Email_Customer_On_Hold_Order->trigger, WC_Email->get_content,
   WC_Email_Customer_On_Hold_Order->get_content_html, wc_get_template_html, wc_get_template,
   include(‘/plugins/woocommerce/templates/emails/customer-on-hold-order.php’), 
   do_action(‘woocommerce_email_customer_details’), WP_Hook->do_action, WP_Hook-
   >apply_filters, call_user_func_array, add_verification_id_to_emails_notifications,
   WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in
   version 3.0.
 * [29-Nov-2017 23:01:34 UTC] The woocommerce_get_page_id function is deprecated
   since version 3.0. Replace with wc_get_page_id.
 * [29-Nov-2017 23:01:34 UTC] The wc_get_page_id argument is deprecated since version
   2.1. The “pay” and “thanks” pages are no-longer used – an endpoint is added to
   the checkout instead. To get a valid link use the WC_Order::get_checkout_payment_url()
   or WC_Order::get_checkout_order_received_url() methods instead.

Viewing 1 replies (of 1 total)

 *  [Virtual Employee Pvt Ltd](https://wordpress.org/support/users/virtualemployee/)
 * (@virtualemployee)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/deprecated-function-warning-3/#post-9785641)
 * Plugin not tested with latest woocommerce version, its return given below error.
 * [15-Dec-2017 11:34:49 UTC] PHP Fatal error: Call to undefined method WC_Gateway_WooCommerce_POLi::
   get_id() in /home/methclearco/public_html/wp-content/plugins/woocommerce/includes/
   class-wc-order.php on line 1392

Viewing 1 replies (of 1 total)

The topic ‘deprecated function warning’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/payment-gateway-poli-for-woocommerce.
   svg)
 * [Payment Gateway: POLi for WooCommerce](https://wordpress.org/plugins/payment-gateway-poli-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/payment-gateway-poli-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/payment-gateway-poli-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/payment-gateway-poli-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/payment-gateway-poli-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/payment-gateway-poli-for-woocommerce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Virtual Employee Pvt Ltd](https://wordpress.org/support/users/virtualemployee/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/deprecated-function-warning-3/#post-9785641)
 * Status: not resolved