Skip Navigation

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

Problem:

The client is unable to access the 'Translations queue' to review translations before publishing. The page shows a 'loading' circle and does not load the translated content. Additionally, the client encounters several error and deprecated notices related to WordPress functions.

Solution:

We recommend following these steps to resolve the issue:

1) Create a new post for testing.
2) Navigate to WPML>>Translation Management Dashboard.
3) Select the post for translation or update existing translations.
4) Send it to the Translation Basket.
5) Go to WPML>>Translation Management>>Translation Basket.
6) Assign yourself as the translator and send it for translation.
7) Visit WPML>>Translations queue and translate the post by clicking the 'Translate' button.

For more detailed guidance, refer to our documentation on translating your contents.

If the issue persists, try removing yourself from the translators list and then re-adding yourself:

1) Go to WPML>>Translation Management.
2) Click on the 'Translators' tab.
3) Remove yourself from the translators list.
4) Refresh the page.
5) Revisit WPML>>Translation Management>>Translators.
6) Add yourself back as a translator.

Please note that this solution might be outdated or not applicable to your specific case. 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 the problem persists, please open a new support ticket.

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 5 replies, has 0 voices.

Last updated by shayL-4 1 week, 5 days ago.

Assisted by: Bigul.

Author Posts
January 2, 2025 at 11:24 am #16558396

shayL-4

Background of the issue:
I am trying to enter the 'Translations queue' to review my translation before publishing, but I encounter an issue. A few days ago, this page worked and showed results. When I click the 'Review' button, it just shows a 'loading' circle on the side of the review button, but doesn't load the translated page for review. Link to a page where the issue can be seen: hidden link

Symptoms:
I get an empty blank page instead of the expected list of translated posts to review. The page only displays the title 'Translations queue' at the top, with no other information or results. I also receive several error and deprecated notices, including issues with wp_register_style, wp_enqueue_style, _load_textdomain_just_in_time, add_shortcode, add_menu_page, and deprecated functions like strpos() and str_replace().

Questions:
Why is the 'Translations queue' page displaying blank?
How can I resolve the error and deprecated notices?

January 2, 2025 at 2:38 pm #16559141

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

To help you faster, I've enabled debug information for this support ticket. Please see this link for how to get this information from your site and give it to us: http://wpml.org/faq/provide-debug-information-faster-support/

Does it happen after a recent upgrade to the latest version of WordPress, WPML, any other plugin, or your theme? Please send a new post or page for translation and make sure the bug exists or not.

Please share the WordPress debug.log (not WPML debug information) to collect more details on this. Refer to the following pages for instructions

https://wpml.org/documentation/support/debugging-wpml/

https://wordpress.org/documentation/article/debugging-in-wordpress/

To enable the WordPress Debug log, open your wp-config.php file of site root and look for define('WP_DEBUG', false);. Change it to:

// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
 
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
 
// Disable display of errors and warnings 
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );

The errors will be saved to a debug.log log file inside the */wp-content/* directory. Please do the steps to reproduce the bug and check if you are getting any errors or warnings related to WPML in the log file.

If you can paste your debug.log to http://pastebin.com/index.php and provide me with that link, it would be great! (This is the cleanest way because sometimes the logs are long and create a complete mess of discussion)

--
Thanks!

Bigul

January 2, 2025 at 11:39 pm #16560096

shayL-4

Hi,

This translation preview page worked ok yesterday, while i started to review my translation post, it suddenly stopped showing the waiting review results list (even that it keep saying that i got 11 post that waiting to review).

I also always had a bug, when clicking on the "Review" button, it only show loader circle on the side, but didn't load the post page for review.
Only if i clicked the review button few times on different post, it suddenly worked on only of the posts on the list and i was able to review it.

i didn't change anything on my system, or made any upgrade, it just stopped working during review my translation post.

here is my debug.log (I delete the file before i refresh the "translation review" page, so it should show only the specific page debug log):
https://pastebin.com/pjzNxS64

January 3, 2025 at 8:50 am #16560480

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

Thank you for the details and the Debug log file. The Debug log shows a few notices related to WPML, but it will not cause these errors.

Please try the following steps and check if there are any differences in the results.

1) Create a new post for testing
2) Visit WPML>>Translation Management Dashboard
3) Choose the post you want to translate or update the existing translations
4) Send it to Translation Basket
5) Visit WPML>>Translation Management>>Translation Basket
6) Send it for translation, by choosing yourself as a translator
7) Visit WPML>>Translations queue and translate the post by clicking the *Translate* button

This is the correct workflow for translation. Refer to this article for more details https://wpml.org/documentation/translating-your-contents/

You can also try the same steps with the existing posts or pages in the original language, by updating the post after minor modifications in the content to refresh the translation settings.

--
Thanks!

Bigul

January 5, 2025 at 5:19 pm #16564641

shayL-4

Hi,

I've done all the steps you've asked me:
1. I've created a new post

2. Then i've enter the "Translation Management" page and select the new post i want to translate.

3. I've clicked on the bottom "How do you want to translate?" -> "Translate myself" and then click on "Start Translating" button.

4. Then it appeared to add my new post to the number of translations waiting to review (the number of translations increase by one)

5. I've clicked on "12 translations waiting for review" and again i got the the page of "Translations queue" with title only while other of the page is blank

I appreciate your help please.

Thank you.

January 6, 2025 at 7:16 am #16565153

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

Thank you for the updates. Please try the following steps after a site backup and check if is there any difference in the results.

1) Visit WPML>>Translation Management
2) Click on the *Translators* tab
3) Remove yourself from the translators list
4) Refresh the page
5) Visit again WPML>>Translation Management>>Transaltors
6) Add yourself as a translator

If the bug exists, please fill in the private details fields after a full site backup. I would like to access the admin area of your site for further checking. Refer to the following links for more details about our private information sharing policies.

https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

hidden link

--
Thanks!

Bigul

January 8, 2025 at 12:25 am #16571620

shayL-4

Thank you for your help Bigul, it solved the problem.