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.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 10:00 8:00 – 10:00 8:00 – 13:00 8:00 – 13:00 9:00 – 13:00 -
- 11:00 – 17:00 11:00 – 17:00 14:00 – 17:00 13:00 – 17:00 13:00 – 18:00 -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 3 replies, has 0 voices.

Last updated by Lauren 1 month, 1 week ago.

Assisted by: Lauren.

Author Posts
August 8, 2025 at 8:25 pm #17306270

stephenG-6

Background of the issue:
I am trying to access and edit 20 pages that are showing a critical error. The issue is present on both the English and Spanish pages. Here are some examples of the affected pages: hidden link, hidden link, hidden link, hidden link. I expected to see the page so I could check and edit it if necessary. The issue can also be seen here: hidden link.

Symptoms:
There are 20 pages showing a critical error on both English and Spanish versions. The expected page content is not visible, preventing editing and translation checks.

Questions:
What is causing the critical error on these pages?
How can I resolve the critical error to access and edit the pages?

August 8, 2025 at 10:37 pm #17306387

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

Thank you for contacting WPML support. I'll be happy to help you with this. I'm not seeing an error on the link you shared, but I do see a 404 page. Can you share a screenshot of the error you are seeing? You mentioned the error is showing in more than one language. If you disable WPML, does the error still show? If so, please check and see if you disable all non WPML plugins so that only WPML is active if the error still shows. This is best tested in a staging environment so as not to interrupt your live site. Please let me know the results.

August 11, 2025 at 7:05 pm #17311243

stephenG-6

Hi Lauren,

Thank you for your assistance. I will try this solution.
If I am logged in WordPress I get the critical error attached if I am not logged in I get 404 page.

critical error.JPG
August 13, 2025 at 1:05 pm #17317584

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

Is this message showing with WPML Disabled?

WordPress includes a debug mode that helps reveal PHP problems. Let's enable this and see if there are any errors we can locate.

To enable it, open your wp-config.php file and look for

define('WP_DEBUG', false);

Change it to:

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

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

The wp-config.php is located in your WordPress root directory. It’s the same file where the database configuration settings are. You will have to access it by FTP or SFTP in order to edit it.
If you open wp-config.php and that define statement is not there, you can add it right before this line:

/* That's all, stop editing! Happy blogging. */

Please note that you’ll see everything, not only related to our Plugins. This will most likely include messages from other plugins, your theme, and sometimes even WordPress core. The messages appear all over the place.
Sometimes they appear right on top, but they can also appear in the middle of the page.

DOC:
https://codex.wordpress.org/Debugging_in_WordPress

After enabling the debug mode, please try to replicate the issue. Navigate to the page where the error message being displayed. The errors will be either displayed on the screen or logged in the debug.log log file inside the /wp-content/directory.

Paste the latest lines here. No need to paste the entire log file, just 50 lines or so will do. Please censor any sensitive information.

The topic ‘[Closed] Critical error on some pages’ is closed to new replies.