Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Los_Angeles (GMT-07:00)

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by Bobby 9 months, 1 week ago.

Assisted by: Bobby.

Author Posts
July 19, 2024 at 10:22 pm #15979956

Josef Azam

Background of the issue:
Hello, for the site pertquebec.ca we noticed that the WPML license key was expired and when we re-registered the site in and added the new license key we received the following message: Unable to parse data from service response.

We even uploaded the most recent WPML version of the plugins "WPML Multilingual CMS" and "WPML String Translation" and tried re-entering the license key "cCWBJi2Fv3" and yet it's still not working.

We contacted WPEngine, the website hosting and they did not see any issues on the server level however they did share the following:

file_get_contents(/nas/content/live/pert2020/wp-content/plugins/wpml-string-translation-new/plugin.php): failed to open stream: No such file or directory in /nas/content/live/pert2020/wp-includes/functions.php on line 6855

Uncaught TypeError: Argument 3 passed to WPMLSTMOFileFailureHooks::__construct() must be an instance of WPMLSTMOGenerateProcessSingleSiteProcess, null given in | | | /nas/content/live/pert2020/wp-content/plugins/wpml-string-translation/classes/MO/File/FailureHooks.php:23 | | 6 | Uncaught Error: Class 'WPMLUtilsPager' not found in /nas/content/live/pert2020/wp-content/plugins/wpml-string-translation/classes/MO/Generate/Process/ProcessFactory.php:56

They also wanted to me to inform you taht the site is using php 7.4.

This is the first time we encounter such an issue from all the sites we built using WPML.

Can you please provide help in resolving this issue?

Also, can you confirm if we were to update the PHP to 8.2, the WPML plugins will be compatible?

Symptoms:
WPML licence key not working and not activated.

Questions:
Hello, for the site pertquebec.ca we noticed that the WPML license key was expired and when we re-registered the site in and added the new license key we received the following message: Unable to parse data from service response.

We even uploaded the most recent WPML version of the plugins "WPML Multilingual CMS" and "WPML String Translation" and tried re-entering the license key "cCWBJi2Fv3" and yet it's still not working.

We contacted WPEngine, the website hosting and they did not see any issues on the server level however they did share the following:

file_get_contents(/nas/content/live/pert2020/wp-content/plugins/wpml-string-translation-new/plugin.php): failed to open stream: No such file or directory in /nas/content/live/pert2020/wp-includes/functions.php on line 6855

Uncaught TypeError: Argument 3 passed to WPMLSTMOFileFailureHooks::__construct() must be an instance of WPMLSTMOGenerateProcessSingleSiteProcess, null given in | | | /nas/content/live/pert2020/wp-content/plugins/wpml-string-translation/classes/MO/File/FailureHooks.php:23 | | 6 | Uncaught Error: Class 'WPMLUtilsPager' not found in /nas/content/live/pert2020/wp-content/plugins/wpml-string-translation/classes/MO/Generate/Process/ProcessFactory.php:56

They also wanted to me to inform you taht the site is using php 7.4.

This is the first time we encounter such an issue from all the sites we built using WPML.

Can you please provide help in resolving this issue?

Also, can you confirm if we were to update the PHP to 8.2, the WPML plugins will be compatible?

July 22, 2024 at 1:22 pm #15987058

Josef Azam

Can we please get support on this matter?

July 22, 2024 at 2:47 pm #15987518

Josef Azam

Here's a screenshot of after going to WPML->Support->Installer log

Screen Shot 2024-07-22 at 10.46.14 AM.png
July 22, 2024 at 2:48 pm #15987534

Josef Azam

Here's a 2nd screenshot of the installer log.

Screen Shot 2024-07-22 at 10.47.58 AM.png
July 22, 2024 at 7:08 pm #15988831

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you for sharing the screenshots!

I can confirm that the communication with our WPML API is being blocked.

Were you able to review the previous thread I shared?

This would happen when the site is blocking communication with our API servers.

Please review the following documentation:
https://wpml.org/faq/wpml-plugin-cannot-connect-to-wpml-org/#:~:text=Check%20the%20Installer%20Support%20Log&text=You%20(if%20testing%20from%20a,not%20properly%20configured%20or%20reachable.&text=Contact%20your%20hosting%20provider%20and,wpml.org

Make sure to have your hosting provider to whitelist the following domains:
wpml.org
cdn.wpml.org
api.wpml.org
api.toolset.com
cloudfront.net

Let me know your results, after whitelisting the IPs of the above domains.

The topic ‘[Closed] WPML Plugin Bug – License key Not Working’ is closed to new replies.