Skip to content Skip to sidebar

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 6 replies, has 2 voices.

Last updated by Bobby 1 year, 11 months ago.

Assisted by: Bobby.

Author Posts
September 12, 2023 at 2:55 pm #14384837

Rudi

I am trying to:
One language, Uganda just does not load and times out on all the pages.

Link to a page where the issue can be seen:

See dev site here hidden link

All the other languages load fine.

September 13, 2023 at 7:09 pm #14392413

Bobby
WPML Supporter since 04/2015

Languages: English (English )

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

Hello,

Please go to WPML->Languages->Language URL Format and switch to using a parameter instead of directories

-- Does it work OK with the new format?

At the moment I am not seeing any redirect errors, I would need to see the details of the error log.

You can see how to enable debug logging here:
https://wpml.org/documentation/support/debugging-wpml/

Go into your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to:
define('WP_DEBUG', true);

Edit your wp-config.php file and add these lines, just before it says 'stop editing here':

ini_set('log_errors',TRUE);
ini_set('error_reporting', E_ALL);
ini_set('error_log', dirname(__FILE__) . 'https://cdn.wpml.org/error_log.txt');

This will create an error_log.txt file in your site's root directory. Please send me its contents.

September 14, 2023 at 7:20 am #14393755

Rudi

Ok have enabled debugging.

No it does not work still: hidden link

Request just times out and kicks this error Fatal error: Maximum execution time of 90 seconds exceeded in /usr/www/users/webwokzevk/mukuru/wp-content/plugins/wpml-string-translation/classes/MO/LoadedMODictionary.php on line 131

There are no other errors in the console really.

All the other languages work just not Uganda.

Must be something corrupted in the DB just for this language or something?

Let me know if you need a login to have a look. Thanks!

September 14, 2023 at 7:22 am #14393761

Rudi

ok here is the error log

[14-Sep-2023 07:08:19 UTC] PHP Notice: Function Filter: 'wpseo_breadcrumb_links' was called incorrectly. The `wpseo_breadcrumb_links` filter should return a multi-dimensional array. Please see Debugging in WordPress for more information. (This message was added in version YoastSEO v20.0.) in /usr/www/users/webwokzevk/mukuru/wp-includes/functions.php on line 5905
[14-Sep-2023 07:08:23 UTC] PHP Notice: Function Filter: 'wpseo_breadcrumb_links' was called incorrectly. The `wpseo_breadcrumb_links` filter should return a multi-dimensional array. Please see Debugging in WordPress for more information. (This message was added in version YoastSEO v20.0.) in /usr/www/users/webwokzevk/mukuru/wp-includes/functions.php on line 5905
[14-Sep-2023 07:08:27 UTC] PHP Notice: Function Filter: 'wpseo_breadcrumb_links' was called incorrectly. The `wpseo_breadcrumb_links` filter should return a multi-dimensional array. Please see Debugging in WordPress for more information. (This message was added in version YoastSEO v20.0.) in /usr/www/users/webwokzevk/mukuru/wp-includes/functions.php on line 5905
[14-Sep-2023 07:08:30 UTC] PHP Notice: Function Filter: 'wpseo_breadcrumb_links' was called incorrectly. The `wpseo_breadcrumb_links` filter should return a multi-dimensional array. Please see Debugging in WordPress for more information. (This message was added in version YoastSEO v20.0.) in /usr/www/users/webwokzevk/mukuru/wp-includes/functions.php on line 5905
[14-Sep-2023 07:08:41 UTC] PHP Notice: Function Filter: 'wpseo_breadcrumb_links' was called incorrectly. The `wpseo_breadcrumb_links` filter should return a multi-dimensional array. Please see Debugging in WordPress for more information. (This message was added in version YoastSEO v20.0.) in /usr/www/users/webwokzevk/mukuru/wp-includes/functions.php on line 5905
[14-Sep-2023 07:08:45 UTC] PHP Notice: Function Filter: 'wpseo_breadcrumb_links' was called incorrectly. The `wpseo_breadcrumb_links` filter should return a multi-dimensional array. Please see Debugging in WordPress for more information. (This message was added in version YoastSEO v20.0.) in /usr/www/users/webwokzevk/mukuru/wp-includes/functions.php on line 5905
[14-Sep-2023 07:09:36 UTC] PHP Notice: Function Filter: 'wpseo_breadcrumb_links' was called incorrectly. The `wpseo_breadcrumb_links` filter should return a multi-dimensional array. Please see Debugging in WordPress for more information. (This message was added in version YoastSEO v20.0.) in /usr/www/users/webwokzevk/mukuru/wp-includes/functions.php on line 5905
[14-Sep-2023 07:09:45 UTC] PHP Notice: Function Filter: 'wpseo_breadcrumb_links' was called incorrectly. The `wpseo_breadcrumb_links` filter should return a multi-dimensional array. Please see Debugging in WordPress for more information. (This message was added in version YoastSEO v20.0.) in /usr/www/users/webwokzevk/mukuru/wp-includes/functions.php on line 5905
[14-Sep-2023 07:10:48 UTC] PHP Notice: Function Filter: 'wpseo_breadcrumb_links' was called incorrectly. The `wpseo_breadcrumb_links` filter should return a multi-dimensional array. Please see Debugging in WordPress for more information. (This message was added in version YoastSEO v20.0.) in /usr/www/users/webwokzevk/mukuru/wp-includes/functions.php on line 5905
[14-Sep-2023 07:11:23 UTC] PHP Fatal error: Maximum execution time of 90 seconds exceeded in /usr/www/users/webwokzevk/mukuru/wp-includes/l10n.php on line 783
[14-Sep-2023 07:12:24 UTC] PHP Fatal error: Maximum execution time of 90 seconds exceeded in /usr/www/users/webwokzevk/mukuru/wp-content/plugins/wpml-string-translation/classes/MO/LoadedMODictionary.php on line 131
[14-Sep-2023 07:17:00 UTC] PHP Notice: Function Filter: 'wpseo_breadcrumb_links' was called incorrectly. The `wpseo_breadcrumb_links` filter should return a multi-dimensional array. Please see Debugging in WordPress for more information. (This message was added in version YoastSEO v20.0.) in /usr/www/users/webwokzevk/mukuru/wp-includes/functions.php on line 5905
[14-Sep-2023 07:17:17 UTC] PHP Notice: Function Filter: 'wpseo_breadcrumb_links' was called incorrectly. The `wpseo_breadcrumb_links` filter should return a multi-dimensional array. Please see Debugging in WordPress for more information. (This message was added in version YoastSEO v20.0.) in /usr/www/users/webwokzevk/mukuru/wp-includes/functions.php on line 5905

September 14, 2023 at 6:31 pm #14399317

Bobby
WPML Supporter since 04/2015

Languages: English (English )

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

Thank you for sharing the error log.

This error is the one that is pointing to the behavior you are experiencing which looks like it's caused by a timeout PHP Fatal error: Maximum execution time of 90 seconds exceeded in /usr/www/users/webwokzevk/mukuru/wp-includes/l10n.php on line 783

Please try increasing the PHP Time Limit from 90 to 300 and let me know your results

hidden link

September 15, 2023 at 6:02 am #14400651

Rudi

no this is not the problem. Even with the max execution time set to 10 mins it still times out. This is just a symptom and not the cause. All the other languages which are exactly the same work fine.

There must be something corrupted in the DB for this language or something. How do we get better logs for wpml ? the logs are not telling us what the issue is.

Do you need a wp login to take a closer look?

September 16, 2023 at 3:20 am #14405949

Bobby
WPML Supporter since 04/2015

Languages: English (English )

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

Thank you for updating me!

I would like to request temporary access (wp-admin and FTP) to your site to test the issue.
(preferably to a test site where the problem has been replicated if possible)

**Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken **

I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/
You will find the needed fields for this below the comment area when you log in to leave your next reply.
The information you enter is private which means only you and I have access to it.

NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin.

Thank you,
Bobby

September 18, 2023 at 8:15 am #14409863

Rudi

We managed to find the issue, was a string translation issue for that language