This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Tagged: Exception
This topic contains 7 replies, has 2 voices.
Last updated by Waqas Bin Hasan 1 year, 5 months ago.
Assisted by: Waqas Bin Hasan.
Author | Posts |
---|---|
September 9, 2023 at 1:29 pm #14369585 | |
bikbulatovaE |
I am trying to: add maxmind key to wpml settings Link to a page where the issue can be seen: hidden link I expected to see: success Instead, I got: The MaxMind license key is not valid. If you have recently created this key, you may have to wait until it is active. |
September 11, 2023 at 8:57 am #14373885 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Hi, Thank you for contacting the support. Before proceeding further, may I ask you to try the following? IMPORTANT: Take full backup of your website and database beforehand. It is highly advised to try the following on a staging/dev site first, so your live website isn't compromised. - Fix “WP Memory Limit” to at least 128MB while 256MB is recommended. See https://wpml.org/home/minimum-requirements/ for detailed information. You can set this in your wp-config.php file by adding following code: define( 'WP_MEMORY_LIMIT', '128M' ); define( 'WP_MAX_MEMORY_LIMIT', '256M' ); Remember to add these lines before the line where it says: Then clear the caches and try again. If issue is still there, try following: - Deactivate all plugins except WPML and its addons and check for the issue. Please let me know and I'll try my best to help you further on the matter. Regards. |
September 11, 2023 at 9:49 am #14374385 | |
bikbulatovaE |
No result. I have the same issue with woocommerce core plugin. Keys aren't recognized. |
September 11, 2023 at 12:03 pm #14375997 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thank you for the updates. I need to take a closer look at your site. So I request temporary access (WP-Admin and FTP), preferably to a test site where the problem has been replicated. Your next answer will be private, to share this information safely. Also provide detailed steps to reproduce the issue and links to pages in admin and on frontend. As well as, the key you're using to try with. IMPORTANT: Please take a complete backup of the site to avoid data loss. See https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ for details on privacy and security. |
September 11, 2023 at 2:41 pm #14377405 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thank you for the access. I just tried in your site by following https://woocommerce.com/document/maxmind-geolocation-integration/. I created a new account and generated a new key. Then I was able to add the key into WC -> Settings -> Integration and it saved fine. Then I removed from there and tried again in WC -> WCML -> Multicurrency -> Enabled multicurrency -> switched to Client Location and added the same key, which also was accepted and saved fine. I then rechecked WC -> Settings -> Integration and could see the key there too. See attached screenshots. I think you should generate a new key and try again. |
September 11, 2023 at 4:40 pm #14378409 | |
bikbulatovaE |
Hey man this is strange, When I create new keys I get 40 symbols. |
September 11, 2023 at 4:46 pm #14378439 | |
bikbulatovaE |
Oh sorry I mixed keys between the finance multi currency api and the maxmind api. |
September 12, 2023 at 6:57 am #14380511 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Glad that it worked and thank you for the confirmation. I'll close this ticket as resolved for now. Please feel free to open a new one anytime for anything WPML related. Have a great day 🙂 |