Solution for Magento 2 Community Edition (CE / Open Source)

If you get the error "Product Key is empty or invalid. The extension has been automatically disabled." while saving Magefan extension on Magento Community edition and  don't see any Product Key field, as on the screenshot:

Product Key is empty or invalid. The extension has been automatically disabled.

please make sure that you have the latest version of Magefan Community extension. You can always get the latest version from Magefan GitHub page.

Attention! Magefan Community is not a Magefan Blog or e.g. Magefan Login as Customer, it is a separate module that used together with Magefan extensions.

To check the version of the Magefan Community extension have a look inside one of these files:

app/code/Magefan/Community/composer.json
app/code/Magefan/Community/etc/module.xml
vendor/magefan/module-community/composer.json
vendor/magefan/module-community/etc/module.xml

If you have an old version, then you need to update the extension. 

If you have the latest Magefan_Community version, use Magento Community (not Magento Enterprise) and the issue is still there, please contact us.

 

Solution for Magento 2 Enterprise Edition (EE / Commerce)

If you use Magento EE, then you need to login into your Magefan account to get the product key. If you don't have any product keys (paid orders), then you need to purchase Magefan extension for EE.

Magefan extensions are paid for Magento EE, but until some versions, we didn't require a product key. Developers were able to download them from GitHub or other open places and use without actually paying. In the latest versions, we added the product key field. If you use a free version (do not have any paid orders) you need to purchase Magefan extension for EE to be able to use the recent version. 

FAQ

What is the difference between Magefan extension for Magento Community and Magento Enterprise, why it is not free fro Enterprise?

 - Magefan extensions code was made to be completely the same as for Magento Community (CE) and Magento Enterprise (EE). We made one extension (code) for both Magento editions to maintain it easier. Magento EE has additional functionality (modules), one of the examples is a page builder or catalog restrictions, and in our code, we made sure the extension does not conflict with them and works properly. A module included EE only specific code, that's why it the same code, but it is free for Magento CE and paid for Magento EE.