Title: Send License Key(s) Function is Crashing
Last modified: April 17, 2022

---

# Send License Key(s) Function is Crashing

 *  Resolved [superkilla21](https://wordpress.org/support/users/superkilla21/)
 * (@superkilla21)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/send-license-keys-function-is-crashing/)
 * Hello,
 * I have been really enjoying your plugin. Since the most recent update for WooCommerce
   and WordPress, I am unable to use the Send License Key(s) to Customer function
   when I go into their order. I have a key in the license manager correlating to
   the customers’ order and when I try to send I get an error.
 * WordPress version 5.9.3
    Current theme: Gaming Pro (version 1.1) Current plugin:
   License Manager for WooCommerce (version 2.2.6) PHP version 7.4.25
 * WordPress caught an error with one of your plugins, License Manager for WooCommerce.
 * Error Details
    ====================== An error of type E_ERROR was caused in 
   line 246 of the file /home/”My Username”/superssupplies.xyz/wp-content/plugins/
   license-manager-for-woocommerce/includes/integrations/woocommerce/Order.php. 
   Error message: Uncaught Error: Call to a member function trigger() on null in/
   home/”My Username”/superssupplies.xyz/wp-content/plugins/license-manager-for-
   woocommerce/includes/integrations/woocommerce/Order.php:246 Stack trace: #0 /
   home/”My Username”/superssupplies.xyz/wp-includes/class-wp-hook.php(307): LicenseManagerForWooCommerce\
   Integrations\WooCommerce\Order->processSendLicenseKeysAction(Object(Automattic\
   WooCommerce\Admin\Overrides\Order)) #1 /home/”My Username”/superssupplies.xyz/
   wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array) #2 /home/”
   My Username”/superssupplies.xyz/wp-includes/plugin.php(474): WP_Hook->do_action(
   Array) #3 /home/”My Username”/superssupplies.xyz/wp-content/plugins/woocommerce/
   includes/admin/meta-boxes/class-wc-meta-box-order-actions.php(132): do_action(‘
   woocommerce_ord…’, Object(Automattic\WooCommerce\Admin\Overrides\Order)) #4 /
   home/”My Username”/superssupplies.xyz/wp-includes/class-wp-hook.php(307): WC_Meta_Box_Order_Actions::
   save(950, Object(WP_Post)) #5 /home/”My Username”/superssupplies.xyz/wp-inc
    -  This topic was modified 4 years, 1 month ago by [superkilla21](https://wordpress.org/support/users/superkilla21/).

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

 *  [M Haseeb](https://wordpress.org/support/users/haseeb0001/)
 * (@haseeb0001)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/send-license-keys-function-is-crashing/#post-15569478)
 * [@superkilla21](https://wordpress.org/support/users/superkilla21/) Hi,
 * Hope you are doing good.
 * Let me know is there any woocomerce addon you are using?
 * Share the Setting Page > General Tab Screenshot.
 * Thanks
 *  Thread Starter [superkilla21](https://wordpress.org/support/users/superkilla21/)
 * (@superkilla21)
 * [4 years ago](https://wordpress.org/support/topic/send-license-keys-function-is-crashing/#post-15572885)
 * [@haseeb0001](https://wordpress.org/support/users/haseeb0001/) Hey,
 * I have a few addons: [https://imgur.com/a/8d2gjrj](https://imgur.com/a/8d2gjrj)
 * As far as the settings page goes, there is all my personal information and I 
   verified everything was correct.
 * Regards
 *  Thread Starter [superkilla21](https://wordpress.org/support/users/superkilla21/)
 * (@superkilla21)
 * [4 years ago](https://wordpress.org/support/topic/send-license-keys-function-is-crashing/#post-15572912)
 * Also, have an additional issue as well. When a customer buys two different products
   in the same order and the configuration for the inventory is set to Sold Individually,
   it cause the payment to be authorized then placed on Hold. Any solution? I have
   already made a forum for WooCommerce about this issue too.
 *  [M Haseeb](https://wordpress.org/support/users/haseeb0001/)
 * (@haseeb0001)
 * [4 years ago](https://wordpress.org/support/topic/send-license-keys-function-is-crashing/#post-15573603)
 * [@superkilla21](https://wordpress.org/support/users/superkilla21/)
 * let me look into these issues, I will reproduce this on my staging websites, 
   and will get back to you soon with updates.
 * thanks
 *  [M Haseeb](https://wordpress.org/support/users/haseeb0001/)
 * (@haseeb0001)
 * [4 years ago](https://wordpress.org/support/topic/send-license-keys-function-is-crashing/#post-15577125)
 * [@superkilla21](https://wordpress.org/support/users/superkilla21/)
 * We are unable to reproduce the mentioned issue on our staging site. It seems 
   like the theme or some other plugin is conflicting with the Our plugin Can you
   change the theme to WordPress default 2022 or deactivate the plugins one by one
   and check if the issue still persists or not.
 * Another thing you can do is provide me with a complete video of this issue then
   I will test again this issue on my staging websites.
 * Thanks
 *  [M Haseeb](https://wordpress.org/support/users/haseeb0001/)
 * (@haseeb0001)
 * [4 years ago](https://wordpress.org/support/topic/send-license-keys-function-is-crashing/#post-15628714)
 * Hi,
 * We haven’t heard from you so we’re going to mark this thread as resolved. Feel
   free to open a new one if you need it.
 * Thanks

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

The topic ‘Send License Key(s) Function is Crashing’ is closed to new replies.

 * ![](https://ps.w.org/license-manager-for-woocommerce/assets/icon-256x256.gif?
   rev=2824216)
 * [License Manager for WooCommerce](https://wordpress.org/plugins/license-manager-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/license-manager-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/license-manager-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/license-manager-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/license-manager-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/license-manager-for-woocommerce/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [M Haseeb](https://wordpress.org/support/users/haseeb0001/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/send-license-keys-function-is-crashing/#post-15628714)
 * Status: resolved