Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are using WPML and encountered an error: Uncaught Error: WPMLStringTranslationInfrastructureStringGettextRepositoryFrontendQueueJsonRepository::get(): Return value must be of type array, null returned.
Solution:
We are currently investigating a similar issue. In the meantime, we recommend following this workaround to help resolve the issue. Please ensure that you back up your database before making any changes. For detailed instructions, visit WPML Errata.

If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please open a new support ticket at WPML support forum.

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: 

This topic contains 1 reply, has 0 voices.

Last updated by Andrey 3 weeks, 6 days ago.

Assisted by: Andrey.

Author Posts
March 11, 2025 at 11:57 am #16801242

przemyslawD-3

Background of the issue:
I am trying to use WPML and encountered an issue. The problem can be seen on this page: hidden link

Symptoms:
Uncaught Error: WPMLStringTranslationInfrastructureStringGettextRepositoryFrontendQueueJsonRepository::get(): Return value must be of type array, null returned

Questions:
What is causing the error in WPML?
How can I resolve the error related to FrontendQueueJsonRepository?

March 11, 2025 at 11:01 pm #16804397

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for contacting WPML support.

We are aware of a similar issue that has been reported, and our development team is currently investigating it.

In the meantime, please follow this workaround to help resolve the issue: https://wpml.org/errata/wpml-string-translationstringtranslationinfrastructurestringgettextrepositoryfrontendqueuejsonrepository-php-on-line-36/.

Before making any changes, please ensure that you back up your database.