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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Los_Angeles (GMT-08:00)

This topic contains 5 replies, has 2 voices.

Last updated by Bobby 1 year, 4 months ago.

Assisted by: Bobby.

Author Posts
August 18, 2023 at 10:34 am #14251849

sabyasachiD

Tell us what you are trying to do?
Simply install the plugin to my dev site, all other plugins & versions are updated.

Is there any documentation that you are following?
No

Is there a similar example that we can see?
Yes, you can access our dev backend and activate the plugin to replicate the issue.

What is the link to your site?

August 18, 2023 at 7:16 pm #14254981

Bobby
Supporter

Languages: English (English )

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

Hello,

I would need to see the detail of the error. You can see how to enable debug logging here:
https://wpml.org/documentation/support/debugging-wpml/

Go in 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.

August 21, 2023 at 8:58 am #14261305

sabyasachiD

Hey Bobby, even installing the plugin leads to critical error (screenshot attached) and we are not able to access the backend.

As per my understanding, I would need to install the plugin in order for it to create an "error log" when facing one? In our instance, we lose complete access to the backend.

That is why I provided admin access to you guys so that you can replicate the issue and investigate. I have added the code you suggested but could not locate the debug file as the plugin is not installed. Pls let me know if there is another way to access it.

Critical_error.PNG
August 21, 2023 at 9:21 am #14261633

sabyasachiD

PFA

Critical_error.PNG
August 21, 2023 at 6:18 pm #14266419

Bobby
Supporter

Languages: English (English )

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

Thank you for updating me!

Unfortunately, the private access details are no longer available, 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

August 23, 2023 at 8:45 pm #14280563

Bobby
Supporter

Languages: English (English )

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

Thank you for the access details!

I was able to remove the WPML plugin and manually upload it through SFTP and it seems to work OK.

Please go to your site now and "configure" WPML once done let me know your results.

I also suggest deactivating WP Error Log Display to remove these notices from showing

The topic ‘[Closed] Critical Error upon installing the plugin’ is closed to new replies.