Title: Error when delete a key
Last modified: May 20, 2019

---

# Error when delete a key

 *  Resolved [madgicsysteme](https://wordpress.org/support/users/madgicsysteme/)
 * (@madgicsysteme)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/error-when-delete-a-key/)
 * Hello,
 * I try your plugin and when I delete a licence key, I have this error :
 * Fatal error: Uncaught LicenseManagerForWooCommerce\Exception: No valid IDs given
   in D:\programmes\wamp64\www\wordpress\wp-content\plugins\license-manager-for-
   woocommerce\includes\repositories\License.php:1245 Stack trace: #0 D:\programmes\
   wamp64\www\wordpress\wp-includes\class-wp-hook.php(286): LicenseManagerForWooCommerce\
   Repositories\License->deleteLicenseKeys(Array) #1 D:\programmes\wamp64\www\wordpress\
   wp-includes\plugin.php(208): WP_Hook->apply_filters(Array, Array) #2 D:\programmes\
   wamp64\www\wordpress\wp-content\plugins\license-manager-for-woocommerce\includes\
   lists\LicensesList.php(942): apply_filters(‘lmfwc_delete_li…’, Array) #3 D:\programmes\
   wamp64\www\wordpress\wp-content\plugins\license-manager-for-woocommerce\includes\
   lists\LicensesList.php(650): LicenseManagerForWooCommerce\Lists\LicensesList-
   >delete_license_keys() #4 D:\programmes\wamp64\www\wordpress\wp-content\plugins\
   license-manager-for-woocommerce\includes\lists\LicensesList.php(676): LicenseManagerForWooCommerce\
   Lists\LicensesList->process_bulk_acti in D:\programmes\wamp64\www\wordpress\wp-
   content\plugins\license-manager-for-woocommerce\includes\repositories\License.
   php on line 1245
 * As you can see, I try on a local wordpress with wamp.
 * And when I try to activate or deactivate a key, I have this message :
 * License Manager: 0 license key(s) activated successfully. Skipped 1 license key(
   s) due to their incompatible status. Thee status of the key is delivered.
 * Thank you for your help

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

 *  [Drazen Bebic](https://wordpress.org/support/users/drazenbebic/)
 * (@drazenbebic)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/error-when-delete-a-key/#post-11552743)
 * Hello [@madgicsysteme](https://wordpress.org/support/users/madgicsysteme/),
 * currently it’s not possible to delete already delivered license keys. I will 
   change this in the next version so that the administrator has full control over
   this.
 *  Thread Starter [madgicsysteme](https://wordpress.org/support/users/madgicsysteme/)
 * (@madgicsysteme)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/error-when-delete-a-key/#post-11552777)
 * Ok, it’s me, I believed that a key can remove at any time.
 *  [gokuale](https://wordpress.org/support/users/gokuale/)
 * (@gokuale)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/error-when-delete-a-key/#post-11564257)
 * hello thanks for this plugin it’s awesome.
    I have same issue beacause the license
   is in delivered status but from backand the administrator are not able to change
   status
 * if activate license from API this status remain Delivered (icons green on the
   right), the activation from API change number it’s right
 * thanks for help us 🙂
 *  [Drazen Bebic](https://wordpress.org/support/users/drazenbebic/)
 * (@drazenbebic)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/error-when-delete-a-key/#post-11565967)
 * Hello [@gokuale](https://wordpress.org/support/users/gokuale/),
 * thanks for the great news, I’m glad my plugin proved useful to you!
 * As I said earlier, in the next version the administrator accounts will have full
   and unlimited permissions to change all and any license key status.
 *  [sedyo15](https://wordpress.org/support/users/sedyo15/)
 * (@sedyo15)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/error-when-delete-a-key/#post-11739015)
 * Hi, I have the same problem. How we can fix this?
 * thanks and nice plugin.
 *  [Drazen Bebic](https://wordpress.org/support/users/drazenbebic/)
 * (@drazenbebic)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/error-when-delete-a-key/#post-11739039)
 * Hello [@sedyo15](https://wordpress.org/support/users/sedyo15/),
 * what is the status of the license key you are trying to delete?
 *  [sedyo15](https://wordpress.org/support/users/sedyo15/)
 * (@sedyo15)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/error-when-delete-a-key/#post-11741830)
 * Hi [@drazenbebic](https://wordpress.org/support/users/drazenbebic/)
 * I received the error when I try delete o unactive a delivered key.
 * Status = Delivered
 *  [Drazen Bebic](https://wordpress.org/support/users/drazenbebic/)
 * (@drazenbebic)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/error-when-delete-a-key/#post-11742111)
 * [@sedyo15](https://wordpress.org/support/users/sedyo15/),
 * see, that’s the problem. Currently the plugin won’t allow you to delte license
   keys which are already delivered. This will be changed in the next update, then
   you’ll be able to delete any key.
 *  [sedyo15](https://wordpress.org/support/users/sedyo15/)
 * (@sedyo15)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/error-when-delete-a-key/#post-11742238)
 * Hi, thanks for your quick response. I look forward to the update.
 *  [Drazen Bebic](https://wordpress.org/support/users/drazenbebic/)
 * (@drazenbebic)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/error-when-delete-a-key/#post-11745865)
 * [@sedyo15](https://wordpress.org/support/users/sedyo15/),
 * No problem! The update is coming some time by mid/end of august, after I get 
   back from vacation.
 * PS: I would greatly appreciate if you took some time out of your day to write
   a plugin review here on WordPress.org. Those reviews really help spread the plugin
   and mean a lot to me personally. Here’s the link:
 * [https://wordpress.org/support/plugin/license-manager-for-woocommerce/reviews/#new-post](https://wordpress.org/support/plugin/license-manager-for-woocommerce/reviews/#new-post)
 * Have a great evening!

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

The topic ‘Error when delete a key’ 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/)

## Tags

 * [delete](https://wordpress.org/support/topic-tag/delete/)
 * [serial](https://wordpress.org/support/topic-tag/serial/)

 * 10 replies
 * 4 participants
 * Last reply from: [Drazen Bebic](https://wordpress.org/support/users/drazenbebic/)
 * Last activity: [6 years, 8 months ago](https://wordpress.org/support/topic/error-when-delete-a-key/#post-11745865)
 * Status: resolved