Title: Several errors and not defined variables
Last modified: September 1, 2016

---

# Several errors and not defined variables

 *  Resolved [RonaldS](https://wordpress.org/support/users/norus/)
 * (@norus)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/several-errors-and-not-defined-variables/)
 * The plugin is a bit messy. Here again several errors in front-end.
    Notice: Undefined
   variable: query_args in /home/deb96951n2/domains/xxxx/public_html/aff/wp-content/
   plugins/woocommerce-order-searching/woocommerce-order-search.php on line 300
 * Notice: Undefined index: search_key in /home/deb96951n2/domains/xxxx/public_html/
   aff/wp-content/plugins/woocommerce-order-searching/woocommerce-order-search.php
   on line 306
 * Fatal error: Call to a member function populate() on boolean in /home/deb96951n2/
   domains/xxxx/public_html/aff/wp-content/plugins/woocommerce-order-searching/templates/
   wcos-order-search-list.php on line 18
 * [https://wordpress.org/plugins/woocommerce-order-searching/](https://wordpress.org/plugins/woocommerce-order-searching/)

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

 *  Plugin Author [Chetan Khandla](https://wordpress.org/support/users/ckhandla94/)
 * (@ckhandla94)
 * [10 years ago](https://wordpress.org/support/topic/several-errors-and-not-defined-variables/#post-7553252)
 * I think your are using other woocommerce plugin.
 * Did you installed below woocommerce Plugin?
    `https://wordpress.org/plugins/woocommerce/`
 * Please let me know which woocommerce plugin you are using.
 *  Plugin Author [Chetan Khandla](https://wordpress.org/support/users/ckhandla94/)
 * (@ckhandla94)
 * [10 years ago](https://wordpress.org/support/topic/several-errors-and-not-defined-variables/#post-7553253)
 * I have found the error I have resolved the error in new version
 * if you want to resolved the error manually then please replace `$order = wc_get_order();`
   with `$order = new WC_Order( $customer_order );` in **templates\wcos-order-search-
   list.php line no : 17**
 *  Plugin Author [Chetan Khandla](https://wordpress.org/support/users/ckhandla94/)
 * (@ckhandla94)
 * [10 years ago](https://wordpress.org/support/topic/several-errors-and-not-defined-variables/#post-7553254)
 * Please let me know if any other issue.

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

The topic ‘Several errors and not defined variables’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woocommerce-order-searching.svg)
 * [WooCommerce Order Search](https://wordpress.org/plugins/woocommerce-order-searching/)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-order-searching/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-order-searching/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-order-searching/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-order-searching/reviews/)

## Tags

 * [Plugin: [WooCommerce]](https://wordpress.org/support/topic-tag/plugin-woocommerce/)

 * 3 replies
 * 2 participants
 * Last reply from: [Chetan Khandla](https://wordpress.org/support/users/ckhandla94/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/several-errors-and-not-defined-variables/#post-7553254)
 * Status: resolved