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.

Tagged: 

This topic contains 7 replies, has 2 voices.

Last updated by Bigul 1 year, 11 months ago.

Assisted by: Bigul.

Author Posts
July 11, 2023 at 1:21 pm #14015545

pennyK

WPML is missing some records in the languages tables and it cannot fully work until this issue is fixed.
Please go to the Troubleshooting page and click on "Clear language information and repopulate languages" to fix this problem.

This warning will disappear once this issue is fixed.
========================================
this error message keep appear, I've follow the step it mentioned, but not fixed, after that the "Clear language information and repopulate languages" even can't click again.

July 11, 2023 at 5:15 pm #14017343

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

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

How long have you been using WPML on this site? Have you translated any posts or pages?

Please share with us the WordPress debug.log(not WPML debug information) for collecting more details on this. Refer to these 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 );

In this case, the errors will be saved to a debug.log log file inside the */wp-content/* directory. Please visit the site backend pages like All Plugins 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 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

July 12, 2023 at 10:49 am #14022703

pennyK

thank you for your reply.
here is the link to view debug.log
https://pastebin.com/BQYtimRP
thx

July 12, 2023 at 1:41 pm #14024783

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Thank you for the updates. The Debug.log is only showing the following error. So please try the workaround suggested in the previous thread for this.

PHP Fatal error:  Uncaught Error: Call to undefined function mb_ereg_replace_callback() in

Hope you are able to translate Posts, Pages, & Strings and update the existing translations of it.

If so, please try the workaround suggested in the following ticket after a full site backup{mandatory} and make sure the issue is existing or not.

https://wpml.org/forums/topic/cant-clear-language-information/#post-11052203

--
Thanks!

Bigul

July 12, 2023 at 2:47 pm #14026051

pennyK

i can't reproduce this error, because it appeared immediately after installed WPML (a few days ago), now even can't click on "Clear language information and repopulate languages" any more. Therefore I can't do anything to make it happen again, because it has never disappeared. thx

error02.png
July 13, 2023 at 7:14 am #14029303

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Thank you for the updates. Please try the workaround suggested in the following ticket after a full site backup{mandatory} and make sure the issue is existing or not.

https://wpml.org/forums/topic/cant-clear-language-information/#post-11052203

Also, please confirm you are able to translate Posts, Pages, & Strings and update the existing translations of it now.

--
Thanks!

Bigul

July 13, 2023 at 1:09 pm #14033397

pennyK

hidden link
the error message still exist, here is the new log, too large, can't paste on pastebin.com
yes, i can translate pages now

July 13, 2023 at 1:39 pm #14033671

Bigul
WPML Supporter since 01/2013

Languages: English (English )

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

Hello,

Thank you for the updates. The Debug log is not showing any warning or error from WPML on today's date.

So please try the following steps to remove the wpml_notices key from the options table and check whether the notice is still showing or not.

1) Be sure of having a full backup of your site before proceeding
2) Access to your database
3) Open the wp_options table
4) Look for the wpml_notices key
5) Remove it

--
Thanks!

Bigul