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 – 18:00 | 9:00 – 18:00 | 9:00 – 18:00 | 9:00 – 18:00 | 9:00 – 18:00 | - |
- | - | - | - | - | - | - |
Supporter timezone: Asia/Karachi (GMT+05:00)
Tagged: Bug
This topic contains 12 replies, has 2 voices.
Last updated by Waqas Bin Hasan 1 year, 6 months ago.
Assisted by: Waqas Bin Hasan.
Author | Posts |
---|---|
July 6, 2023 at 12:14 pm #13959605 | |
cronutsd |
Hello, we've already added the debugging code snippets in config-wp.php that Subash indicated earlier this morning. Could you please let us know whether you have access to the errors or not? If you do, could you tell us what's wrong and what we can do to fix it? Thank you! |
July 7, 2023 at 9:10 am #13966453 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Hi, Thank you for contacting the support. I checked the debug information that looks fine. But as Subash mentioned that we need information on actual errors which happen when using WPML with Elementor. For this you need to enable debugging on your site. 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 ); In this case, the errors will be saved to a debug.log log file inside the /wp-content/ directory. Once that is done, please try the steps again which run into the error, so the error details are logged. Then you can download that debug.log file and upload to hidden link and share the link in your next reply. Regards. |
July 10, 2023 at 7:17 am #13974659 | |
cronutsd |
Hello, If I'm not mistaken, debugging has already been enabled in our wp-config.php file. Could you please confirm this? And if it is changed correctly, could you let me know what you learn from the actual errors? Thank you. |
July 10, 2023 at 9:38 am #13976303 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
May I ask for admin and FTP access to your website to check the issue in detail? Remember to take full backup of your website and database before proceeding. I've set your next reply as private to share this information safely. IMPORTANT: If you don't see the section for providing access information, do not write in the message box or the information may appear as public. See https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ for details on privacy and security. |
July 10, 2023 at 1:28 pm #14002793 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Looks like the provided user has subscriber access thus having no access to anywhere in the website. I'd need Admin access to check issue in detail. As well as, correct FTP access, the server address doesn't look correct also. I've enabled your next reply as private to share the updated information. |
July 11, 2023 at 11:15 am #14013665 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thank you, I can access the several areas of the site and I was able to observe the error. It is 500 Internal Server Error when trying to edit a page. Looks like debugging is not enabled. I checked via FTP and your wp-config.php file has define('WP_DEBUG', false);. I downloaded, enabled debugging and uploaded back but due to permissions problem, file can't be uploaded. Then I tried with Debug Log Manager plugin (installed anew - hidden link) but it also doesn't seem to log anything, perhaps the same file permissions are blocking this. On this page you can see the path to file it creates, which has 0 size. Please check that if you can enable debugging? For this use the same FTP so you go to the same location. Use a user which has write permissions and add debugging as mentioned earlier. Also, let me know if it is OK to deactivate other plugins and switch to another theme for investigation? Remember to take full backup of your website and database beforehand. Your theme also needs an update, perhaps you can check with that as well. Since the theme is from Elementor, it is better to keep it and Elementor plugins updated. Let me know. |
July 11, 2023 at 12:22 pm #14014577 | |
cronutsd |
Hi Waqas, I'm double-checking with our web developer, and all coding lines indicated here (https://wpml.org/documentation/support/debugging-wpml/) are the ones we've changed in the wp-config.php folder. I'm copy-pasting the entire coding lines in wp-config.php. Please, let us know what it is exactly that we need to change: <?php //Begin Really Simple SSL session cookie settings define('WP_CACHE', true); // Added by WP Rocket **** SOME INFO REMOVED FOR SECURITY REASON **** define( 'WP_DEBUG', true ); /* Add any custom values between this line and the "stop editing" line. */ define( 'SCRIPT_DEBUG', true ); /** Absolute path to the WordPress directory. */ /** Sets up WordPress vars and included files. */ I've also updated the Elementor theme, and the error is still happening. Also, we have a full backup of the website and database, but if we could first figure out why it's happening, that'll be great. |
July 11, 2023 at 1:45 pm #14015811 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thank you for the updates. Please DO NOT share any sensitive information (i.e. credentials) in a public message or it can put your site to risk. I've removed such information from your previous message for now. Always ask to enable private reply if you need to share anything like that. I checked the site and honestly can't find anything relating to debug logs. But, I went further and deactivated all plugins, starting with WPML and Elementor only. And that went just fine. Then I started activating one by one and found that there was some contest between WP Rocket and Really Simple SSL. I updated these 2 plugins, as well as, a few other active ones. Even after still updating these both, one of these seem to break the site. Sometimes SSL one and sometime WP Rocket. At this moment, I 've deactivated these both and can open a page for editing in WP editor, as well as, in Elementor (see attached images). Probably I'll need a copy of the site to check in another environment. Is this OK if I install Duplicator plugin and take a copy of the site? Please see https://wpml.org/faq/provide-supporters-copy-site/ for more details. Meanwhile, I'll also suggest if your developer can really get the logs that would be great and you can provide those for as well. If you do, try enabling the said plugins so you run into errors and get these logged. |
July 18, 2023 at 7:44 am #14055427 | |
cronutsd |
The problem still remains: we can't work on Elementor while WPML is active. Separately, they work just fine. The main problem is that we need to translate the entire website, as well as work on some major modifications on Elementor, and we can't do both things at the same time. Do you reckon we can just go ahead and do 1 thing at the time? What I want to avoid at all costs is that, due to some sort of incompatibility, our progress will be 'deleted' somehow. You can do a copy of the site to check in another environment, as long as the webpage remains untouched, yes. Thank you. |
July 18, 2023 at 12:26 pm #14059109 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thank you for confirming. I'll get a copy of the site soon and 'll install & try in another environment. I'll update you as soon as I've more information. |
July 19, 2023 at 7:50 am #14062993 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thank you for your patience on this. I've taken a copy of the site using Duplicator plugin and have escalated the matter to 2nd tier team for an investigation. I'll update you as soon as I hear back. |
July 19, 2023 at 11:23 am #14065679 | |
cronutsd |
Thank you, Waqas; please, let me know as soon as you know something! |
July 25, 2023 at 6:04 am #14093075 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Thank you for your patience and cooperation. Our team tried to reproduce the issue in different environment (i.e. PHP versions including 8), as well as, including the suspected plugins (i.e. WP Rocket and Really Simple SSL). But we are unable to reproduce the issue in any of the tries. The problem seems to be the server related since it is only happening there. Is this possible for you to create a staging/dev site by cloning the same site on the same server/environment? If not, is this OK to debug the problems on your production/live site (the one you already gave access to)? I've enabled your next reply as private, in case you can prepare a staging and want to provide the access. Please let me know. |
The topic ‘[Closed] Elementor & WPML incompatibility’ is closed to new replies.