Title: Error when adding license key
Last modified: May 7, 2022

---

# Error when adding license key

 *  Resolved [pacomini](https://wordpress.org/support/users/pacomini/)
 * (@pacomini)
 * [4 years ago](https://wordpress.org/support/topic/error-when-adding-license-key/)
 * Hello.
 * First, thank you for your useful plugin.
 * I’ve 2 questions.
 * (1)
 * I tried to test this “license manager plugin” on my test site.
 * That’s all OK. So i tried to install newly on bitnami wordpress AWS lightsail
   packages.
 * I’ve intalled and deleted several times. (about + 10 times…)
 * After i completed Handbook’s STEP 2 (write secret.txt file’s content on wp-config.
   php and remove directory /opt/bitnami/wordpress/wp-content/uploads/lmfwc-files),
   I met Error Message whenever adding license key.
 * I don’t know what causes this error. I just went through HANDBOOK’s instructions.
 * (2)
 * Because removing lmfwc-files directory caused error, So i don’t touch this folder
   in this time. I try to link product to license key. But i can’t because No product’s
   shown in drop-box.
    (i try to input some characters into drop-box, but i can’t.–
   In advance i added test product and checked the boxes – “sell license keys for
   this product”, “sell license keys from the available stock”, “Virtual” – Plus
   checked “Enable automatic stock management” on setting menu. also “click Syncronize”.)
 * I’m not programmer and I’m not familiar with php, wordpress. So…
    After installing,
   then i just tried to turn other plugin off or change theme. and try again…… All
   day. (I tried to turn off all other plugin except woocommerce and wp mail smtp,
   but it didn’t work / theme was NEVE and ASTRA in this test.)
 * i’ll be very glad for your help.
    thank you for your time.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-when-adding-license-key%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [M Haseeb](https://wordpress.org/support/users/haseeb0001/)
 * (@haseeb0001)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/error-when-adding-license-key/#post-15628375)
 * Hi [@pacomini](https://wordpress.org/support/users/pacomini/)
 * Hope you are doing good.
 * Can you share the screenshot or video of the issue? or share the use case or 
   steps then I can reproduce this on my staging website.
 * Thanks
 *  Thread Starter [pacomini](https://wordpress.org/support/users/pacomini/)
 * (@pacomini)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/error-when-adding-license-key/#post-15630786)
 * Thank you for your reply.
 * “Share steps” means how i did install my site?
    If so, i’ll describe below as
   posible as i can.
 * <Steps for site setting>
 * Step 1 ~ 3 : Reference ( [https://docs.bitnami.com/aws/get-started-lightsail/](https://docs.bitnami.com/aws/get-started-lightsail/))
 * Step 1: Register With Amazon Lightsail
    Step 2: Deploy WordPress On Amazon Lightsail
   Step 3: Log In And Start Using WordPress
 * Step 4: Connect my site to my domain using aws nameserver.
 * And Then,
    Step 5 : Setting HTTPS Reference – [https://docs.bitnami.com/aws/faq/administration/generate-configure-certificate-letsencrypt/](https://docs.bitnami.com/aws/faq/administration/generate-configure-certificate-letsencrypt/)
 * Step 6: Install Plugin – Elementor
    Step 7: Install Theme – Astra Step 8: Install
   Child Theme – Astra Step 9: Install WP MAIL SMTP Step 10: Setting Users. (Change
   administrator E-mail/ Password, site E-mail, Permalink – post name) Step 11: 
   Install Plugin – License Manager for Woocommerce.
 * Steps for Settings – License Manager for Woocommerce
    Reference : [https://www.licensemanager.at/docs/handbook/](https://www.licensemanager.at/docs/handbook/)
 * 1.1.WordPress Dashboard (install License Manager Plugin)
 * 2.1.Cryptographic secrets : I insert secret.txt content and refuse.txt content
   to /opt/bitnami/wordpress/wp-config.php
 * 2.2.Security : As this instructions, i deleted that folder including secret.txt,
   refuse.txt. These files are in /opt/bitnami/wordpress/wp-content/uploads/lmfwc-
   files (WordPress installed by AWS bitnami packages)
 * 2.3 Settings Licnese Manager.
    Check : “Automatically send license keys when 
   an order is set to ‘Complete'” Check : “Stock management” Check : “Display the‘
   License keys’ section inside WooCommerce’s ‘My Account'” Cehck : Enable/disable
   API routes
 * Except these, Uncheck All boxies in “General” Menu.
    and i didn’t touch other
   menu. After setting these up, I clicked “Synchronize”.
 * 2.4 Adding Single License key for testing.
    —> I met Error Message.
 * That’s all (for my question 1).
 * The Steps for my question 2. –>
    All the same Step for my question 1. Except 
   ommiting “license manager Step 2.1 ~ 2.2”.
 * Thank you for your time.
 *  Thread Starter [pacomini](https://wordpress.org/support/users/pacomini/)
 * (@pacomini)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/error-when-adding-license-key/#post-15632110)
 * Sorry. I omitted 2 steps.
 * <In installing site>
    Step 10.5 – Setting woocommerce.
 * <In setting license manager>
    Step 2.3.1 – Add “Test Product” check “Simple product”–“
   virtual” inventory menu – check “Inventory management at the unit level” license
   manager menu – check “Sell license keys for this product” – check “Sell license
   keys from the available stock”
 *  [M Haseeb](https://wordpress.org/support/users/haseeb0001/)
 * (@haseeb0001)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/error-when-adding-license-key/#post-15634613)
 * [@pacomini](https://wordpress.org/support/users/pacomini/) ok let me test it 
   on my staging website, please share the error screenshot also.
 * Thanks
 *  Thread Starter [pacomini](https://wordpress.org/support/users/pacomini/)
 * (@pacomini)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/error-when-adding-license-key/#post-15637024)
 * Sorry for being late.
 * The Error Message is “There has been a critical error on this website. Please
   check your site admin email inbox for instructions.”
 * I set Administration Email Address in Settings – General. i set also Email address
   in Users – edit admin user. But the email (above mentioned) didn’t arrived.
 *  [M Haseeb](https://wordpress.org/support/users/haseeb0001/)
 * (@haseeb0001)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/error-when-adding-license-key/#post-15639401)
 * [@pacomini](https://wordpress.org/support/users/pacomini/)
 * I am 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 and also Enable your website debug mode
   from wp-config and see if there is an error in your website.
 * Thanks
 *  Thread Starter [pacomini](https://wordpress.org/support/users/pacomini/)
 * (@pacomini)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/error-when-adding-license-key/#post-15640141)
 * Thank you for your time.
 * As i wrote above, i tried to deactivate the plugins and change theme.
 * The error still exists. I don’t know why…
 * But i thank you for your great efforts.
 * If i were programmer, i would know why. ??
    But for now, i give up!
 * Thantk you for your time.
 *  [M Haseeb](https://wordpress.org/support/users/haseeb0001/)
 * (@haseeb0001)
 * [3 years, 12 months ago](https://wordpress.org/support/topic/error-when-adding-license-key/#post-15641615)
 * [@pacomini](https://wordpress.org/support/users/pacomini/)
    Sorry for the inconvenience,
   I think you need to hire a developer to find the root cause of this issue, I 
   shared this thread with my senior team they are also testing if they find any
   issues they will fix them and release the updated plugin asap.
 * Thanks

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

The topic ‘Error when adding license 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/)

 * 8 replies
 * 2 participants
 * Last reply from: [M Haseeb](https://wordpress.org/support/users/haseeb0001/)
 * Last activity: [3 years, 12 months ago](https://wordpress.org/support/topic/error-when-adding-license-key/#post-15641615)
 * Status: resolved