Title: Fatal Error
Last modified: March 24, 2020

---

# Fatal Error

 *  Resolved [623carr](https://wordpress.org/support/users/623carr/)
 * (@623carr)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-3441/)
 * Hello,
 * When I go into my “products” section I keep getting this error:
 * Fatal error: Uncaught Error: Call to undefined function wc_get_chosen_shipping_method_ids()
   in /home1/outpost6/public_html/omnibioinnovations/wp-content/plugins/woocommerce/
   includes/class-wc-customer.php:190 Stack trace: #0 /home1/outpost6/public_html/
   omnibioinnovations/wp-content/plugins/woocommerce/includes/class-wc-tax.php(459):
   WC_Customer->get_taxable_address() #1 /home1/outpost6/public_html/omnibioinnovations/
   wp-content/plugins/woocommerce/includes/class-wc-tax.php(481): WC_Tax::get_tax_location(”,
   Object(WC_Customer)) #2 /home1/outpost6/public_html/omnibioinnovations/wp-content/
   plugins/woocommerce/includes/data-stores/class-wc-product-variable-data-store-
   cpt.php(400): WC_Tax::get_rates() #3 /home1/outpost6/public_html/omnibioinnovations/
   wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-variable-
   data-store-cpt.php(258): WC_Product_Variable_Data_Store_CPT->get_price_hash(Object(
   WC_Product_PW_Gift_Card), true) #4 /home1/outpost6/public_html/omnibioinnovations/
   wp-content/plugins/woocommerce/includes in /home1/outpost6/public_html/omnibioinnovations/
   wp-content/plugins/woocommerce/includes/class-wc-customer.php on line 190
 * No idea what’s going on. I made sure no tax is applied. Also, because of this,
   I can’t click “quick edit” on any of my products. Can someone please help?
    -  This topic was modified 6 years, 2 months ago by [623carr](https://wordpress.org/support/users/623carr/).

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

 *  Plugin Author [pimwick](https://wordpress.org/support/users/pimwick/)
 * (@pimwick)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-3441/#post-12583940)
 * Sorry to hear you’re having trouble but I don’t see anything in that code that
   is related to our plugin. The code is all contained in the core WooCommerce code
   so I think you will need to open a ticket with them instead: [https://woocommerce.com/contact-us/](https://woocommerce.com/contact-us/)
 *  Thread Starter [623carr](https://wordpress.org/support/users/623carr/)
 * (@623carr)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-3441/#post-12584088)
 * Oh ok thank you!
 *  Thread Starter [623carr](https://wordpress.org/support/users/623carr/)
 * (@623carr)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-3441/#post-12584203)
 * So I reached out to them and they told me this:
 * “Ok thanks for confirming.
    So looking more closely at the error, we can see 
   there it’s coming from the PW Gift Card in #3 there: get_price_hash(Object(WC_Product_PW_Gift_Card)”
 *  Plugin Author [pimwick](https://wordpress.org/support/users/pimwick/)
 * (@pimwick)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-3441/#post-12584289)
 * That code is passing your Gift Card product object into the WooCommerce fields
   which then throw the error.
 * It could be that you have data corruption on that product. Try these steps and
   let me know if it resolves your issue:
 * 1. Move the existing Gift Card product to trash.
    2. Click on Pimwick Plugins-
   > PW Gift Cards 3. Click on the “Create Gift Card Product” button.
 * This will create a new gift card product with the default settings.
 *  Thread Starter [623carr](https://wordpress.org/support/users/623carr/)
 * (@623carr)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-3441/#post-12584453)
 * I did that and am getting the same error.
 *  Plugin Author [pimwick](https://wordpress.org/support/users/pimwick/)
 * (@pimwick)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-3441/#post-12584495)
 * Unfortunately there isn’t much further troubleshooting that I can provide since
   the error isn’t originating from our code.
 * Investigating further would require debugging your system and tracing through
   the code to find the culprit. Your website host may be able to assist you with
   this or if you have a developer who helped you set things up they may be able
   to help.
 * Also, make sure you have the latest versions of your plugins, theme, and PHP 
   just to rule out anything like that as the source of the error.
 *  [kreativamarketing](https://wordpress.org/support/users/kreativamarketing/)
 * (@kreativamarketing)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-3441/#post-13409153)
 * I’d like to know if the op [@623carr](https://wordpress.org/support/users/623carr/)
   got to solve this problem, cause I’m experiencing it too.
 * And if so, how did you do it?

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

The topic ‘Fatal Error’ is closed to new replies.

 * ![](https://ps.w.org/pw-woocommerce-gift-cards/assets/icon-256x256.png?rev=1809373)
 * [PW WooCommerce Gift Cards](https://wordpress.org/plugins/pw-woocommerce-gift-cards/)
 * [Support Threads](https://wordpress.org/support/plugin/pw-woocommerce-gift-cards/)
 * [Active Topics](https://wordpress.org/support/plugin/pw-woocommerce-gift-cards/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pw-woocommerce-gift-cards/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pw-woocommerce-gift-cards/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [kreativamarketing](https://wordpress.org/support/users/kreativamarketing/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/fatal-error-3441/#post-13409153)
 * Status: resolved