Skip Navigation

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

Problem:
The client's website crashed due to multiple WPML requests, specifically with POST requests to admin-ajax.php. The issue persists even after disabling other plugins, indicating that WPML is the cause.

Solution:
We recommend enabling the debug mode to track any errors that might be causing the issue. To do this, add the following lines to the wp-config.php file:

  • define('WP_DEBUG', true);
  • define('WP_DEBUG_LOG', true);
  • define('WP_DEBUG_DISPLAY', false);
  • @ini_set('display_errors', 0);
  • define('SCRIPT_DEBUG', true);

This will create a debug.log file in the wp-content folder, which can help identify the problem. For more detailed instructions, please refer to our documentation on debugging WPML.

If these steps do not resolve the issue or if the debug log does not provide clear insights, we encourage you to share the log using a service like Pastebin and provide us with access to your wp-admin area for further investigation. Please ensure you back up your site before providing any access.

If this solution doesn't look relevant, please open a new support ticket in our 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 7 replies, has 2 voices.

Last updated by Andrey 11 months, 3 weeks ago.

Assisted by: Andrey.

Author Posts
December 6, 2023 at 4:59 pm

nicolasF-24

We have a problem with wpml on our website, it crashed this afternoon because of WPML requests

December 6, 2023 at 5:31 pm
December 8, 2023 at 2:52 pm #15026625

Andrey
Supporter

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

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

I’m sorry that you ran into trouble with this.

Could you please update your WPML plugin to the latest version 4.6.8 and add-ons to benefit from the latest bug fixes and improvements? This may not necessarily resolve your problem, however, in order to troubleshoot the issue best we need to work on the latest code available.

You can check the latest released versions under "My Account -> Downloads" on this site. Instructions to update can be found here: http://wpml.org/faq/install-wpml/

Please remember to backup your database first before you proceed.

Let us know if the issue persists after an update has been done.

December 11, 2023 at 2:00 pm #15038207

nicolasF-24

Hi,
It's okay i made the update

December 11, 2023 at 2:03 pm #15038213

Andrey
Supporter

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

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

Thank you for your feedback. Are you still facing the issue?

December 11, 2023 at 2:06 pm #15038253

nicolasF-24

Not for now, but i think that it will re-appear

December 11, 2023 at 2:25 pm #15038467

Andrey
Supporter

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

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

I suggest you also activate the debug.log and check it if the issue reappears. You can do this by adding a few lines to the site’s wp-config.php file.

To enable it, open your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to:

define('WP_DEBUG', true);

In order to enable the error logging to a file on the server, you need to add yet one more similar line:

define( 'WP_DEBUG_LOG', true );

The errors will be saved to a debug.log log file inside the /wp-content/directory.

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

December 11, 2023 at 2:29 pm #15038471

nicolasF-24

Yes,
I already sent you the preivous log on the previous ticket

December 11, 2023 at 2:33 pm #15038589

Andrey
Supporter

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

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

Let's check the new log when the issue reappears. You can delete the current log. You need to make sure to share the debug.log from the /wp-content/debug.log.