Title: Fatal error when adding order as admin
Last modified: May 7, 2019

---

# Fatal error when adding order as admin

 *  Resolved [adamanto](https://wordpress.org/support/users/adamanto/)
 * (@adamanto)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-adding-order-as-admin/)
 * Hi. I tried to create an order for a client as admin using woocommerce and wp
   crowdfunding plugins, but on products section on creating a new order, there 
   is an error that prevents me from adding any products to order. The error stands
   as follows:
    `Fatal error: Uncaught Error: Call to a member function get_cart()
   on null in /home/klient.dhosting.pl/aido/kizango.pl/public_html/wp-content/plugins/
   wp-crowdfunding/includes/woocommerce/class-wpneo-crowdfunding.php:683 Stack trace:#
   0 /home/klient.dhosting.pl/aido/kizango.pl/public_html/wp-includes/class-wp-hook.
   php(286): Wpneo_Crowdfunding->wpneo_wc_coupon_disable(true) #1 /home/klient.dhosting.
   pl/aido/kizango.pl/public_html/wp-includes/plugin.php(208): WP_Hook->apply_filters(
   true, Array) #2 /home/klient.dhosting.pl/aido/kizango.pl/public_html/wp-content/
   plugins/woocommerce/includes/wc-coupon-functions.php(69): apply_filters('woocommerce_cou...',
   true) #3 /home/klient.dhosting.pl/aido/kizango.pl/public_html/wp-content/plugins/
   woocommerce/includes/admin/meta-boxes/views/html-order-items.php(223): wc_coupons_enabled()#
   4 /home/klient.dhosting.pl/aido/kizango.pl/public_html/wp-content/plugins/woocommerce/
   includes/admin/meta-boxes/class-wc-meta-box-order-items.php(41): include('/home/
   klient.dh...') #5 /home/klient.dhosting.p in /home/klient.dhosting.pl/aido/kizango.
   pl/public_html/wp-content/plugins/wp-crowdfunding/includes/woocommerce/class-
   wpneo-crowdfunding.php on line 683`

Viewing 1 replies (of 1 total)

 *  [FahimMurshed](https://wordpress.org/support/users/fahimmurshed/)
 * (@fahimmurshed)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-adding-order-as-admin/#post-11512704)
 * Hello,
    I have checked the plugin with coupon.
 * Coupon does not work in Campaign
 * Coupon field work in product
 * I have checked the Twentynineteen theme with WooCommerce and WP Crowdfunding 
   plugin.

Viewing 1 replies (of 1 total)

The topic ‘Fatal error when adding order as admin’ is closed to new replies.

 * ![](https://ps.w.org/wp-crowdfunding/assets/icon-256x256.jpg?rev=3262578)
 * [WP Crowdfunding](https://wordpress.org/plugins/wp-crowdfunding/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-crowdfunding/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-crowdfunding/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-crowdfunding/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-crowdfunding/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-crowdfunding/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [FahimMurshed](https://wordpress.org/support/users/fahimmurshed/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-when-adding-order-as-admin/#post-11512704)
 * Status: resolved