[Resolved] My site has a critical error and crashed
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing site crashes when attempting to complete translations. This issue has occurred previously and is suspected to be related to a plugin conflict, potentially with WordFence, as indicated by the error message from the file
. Solution: 1. Temporarily disable the WPEngine cache to check if it resolves the issue. 2. Put the website in maintenance mode and deactivate as many plugins as possible to identify if a specific plugin is causing the translation issue. Reactivate them one by one to pinpoint the problematic plugin. 3. Verify that WordFence is configured correctly as it is compatible with WPML. Consider trying another security plugin recommended by WPML if the issue persists. You can find a list of recommended security plugins here: https://wpml.org/plugin-functionality/security/.
If these steps do not resolve your issue, or if the solution seems outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket at 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.
<b>Background of the issue: </b>
I am trying to complete a translation and in trying to do so the site crashed. This has happened before on this site. This happened 2 weeks ago but was not resolved: reference this ticket https://wpml.org/forums/topic/critical-error-issue-translation-loss/page/3/ for follow-up.
<b>Symptoms: </b>
My site has a critical error and crashed.
<b>Questions: </b>
Why does my site crash when I try to complete a translation?
How can I resolve the critical error that causes my site to crash?
The plugins were updated and I tried again to complete the translation, the site crashed again, here is the critical error info: Error Details
=============
An error of type E_ERROR was caused in line 501 of the file /nas/content/live/thebigideas1/wp-content/plugins/sitepress-multilingual-cms/inc/functions-load-tm.php. Error message: Uncaught Error: Call to a member function get_source_language_code() on bool in /nas/content/live/thebigideas1/wp-content/plugins/sitepress-multilingual-cms/inc/functions-load-tm.php:501
Kindly update all outdated WPMLL plugins in WP > Plugins > Add New > Commercial Tab > Click Update.
Once you've done that, please check and see if the issue is resolved.
If the issue continues, I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.
Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.
Your upcoming reply will be treated with confidentiality and will only be visible to you and me.
✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.
Hi Kor, I've just received an emial from WP ENGINE that the site has just crashed. 12.27pm
An error of type E_ERROR was caused in line 36 of the file /nas/content/live/thebigideas1/wp-content/plugins/sitepress-multilingual-cms/classes/records/class-wpml-tm-icl-translation-status.php. Error message: Uncaught InvalidArgumentException: Unknown column: rid or invalid id: 0 in /nas/content/live/thebigideas1/wp-content/plugins/sitepress-multilingual-cms/classes/records/class-wpml-tm-icl-translation-status.php:36
I don't know what to tell you on this. When it crashed a day ago I was trying to amend a Russian translation of marketing guide no. 3. The translator was unable to complete the translation even though all fields were completed. She asked for my help. I went in and tried to cancel the job and take a look myself. When I cancelled the job the site crashed.
This is the page: hidden link the issue was with the Russian translation but that has disappeared when it crashed. I was trying to find out why the russian translation could not complete with 96% even though it all appeared done. When I tried to cancel the job the site crashed and the russian translation has now been lost. I could try roll the site back to a previous time so the problem page reappears?
I tested it again at hidden link and was able to translate the Russian page without any crashes, as shown in this video: hidden link . However, the page still shows as "need update." To address this, I ran the options at hidden link , as demonstrated in the attached screenshot.
The Russian language page is now fully translated.
Yes, I’m using ATE and haven’t encountered any crashes. I don’t think it’s necessary to restore the site since everything seems to be working fine now.
Could you please continue translating the site? If you experience any crashes again, let me know, and we’ll see what we can do to assist.
I'd like it if you could specifically respond to my questions please.
This cycle of the site crashing then you being unable to replicate it then it happening again is really demoralising and to be honest a am seriously questioning this software. I've been trying to operate this site for some years and it is never without translation issues. It wastes hours of down time and is very disheartening.
If it crashes again and you can't replicate it, what would you do in my shoes?
Kor, I have rolled the site back to restore it to a point where the original Russian translation is there but showing 'in progress'. This was before the site crashed.
Please can you now go to the no 3 marketing guide 'be seen' and you'll find the russian is only 96% complete. This is where the issues began. I couldn't complete it, even though it shows all sections complete.
I tried the troubleshooting fixes you suggest. This did nothing.
When I went to cancel the job to try and see if I could take over and fix it the site crashed. Please can you check this out now with those steps? thank you.
Ok, I will recheck this for you. Could you please update the credentials again? I've enabled the private reply option for you. Please make sure to perform a full backup just incase anything happens.