This thread is resolved. Here is a description of the problem and solution.
Problem:
The client encountered a fatal error when trying to activate the OTGS Installer and WPML Multilingual CMS plugins, resulting in a class not found error. Additionally, when the WPML String Translation plugin was activated, the site experienced a critical error and could not load the Spanish homepage.
Solution:
1. We recommended removing the OTGS installer.
2. We advised the client to create a full website backup.
3. We instructed the client to manually download the WPML Multilingual CMS plugin from the WPML downloads page, upload it to the website, and activate it.
4. If the issue persisted, we suggested performing a compatibility test by deactivating all non-WPML plugins and switching to a default theme to identify any conflicts.
5. We manually uploaded and extracted the WPML files to ensure no files were missing and asked the client to try activating the plugin again.
6. Since a new issue arose, we created a separate ticket to handle it, as per our support policy of one issue per ticket.
If this solution doesn't look relevant, please open a new support ticket here.
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: Exception
This topic contains 7 replies, has 2 voices.
Last updated by Mihai Apetrei 1 year, 6 months ago.
Assisted by: Mihai Apetrei.
Author | Posts |
---|---|
November 20, 2023 at 3:35 am #14872533 | |
moodyH |
once installed OTGS, it gives a fatal error as follows: Error Details |
November 21, 2023 at 10:41 am #14885513 | |
Mihai Apetrei WPML Supporter since 03/2018
Languages: English (English ) Timezone: Europe/Bucharest (GMT+03:00) |
Hi there. Sorry for the delayed response - it has been a full queue for the past few days and it can take a bit longer to respond. Now, in regards to your current situation, that can happen either due to the current server settings/limitations or due to one (or more) active plugins (or the current theme) that is not fully compatible with WPML. Let's try something else and let's avoid using the OTGS installer for now. 1. Remove the OTGS installer Let's see if it works like that. If it works like this, you should be able to download the other plugins/add-ons that you want from that same URL that I shared with you above and upload + install them. Please let me know how things go. I will be waiting for your response. Mihai Apetrei |
November 22, 2023 at 2:39 am #14892449 | |
moodyH |
Thanks for the reply. when I try to activate it, this is the error I am getting: Plugin could not be activated because it triggered a fatal error. Thanks |
November 22, 2023 at 5:41 pm #14901639 | |
moodyH |
Hi, i enabled the debug log.... i am copying the debug log below: [22-Nov-2023 17:36:14 UTC] PHP Notice: unserialize(): Error at offset 10897 of 54365 bytes in /home/fcadmin/domains/fanclb.com/public_html/wp-content/themes/ann/includes/utils.php on line 1212 |
November 25, 2023 at 11:52 am #14922241 | |
Mihai Apetrei WPML Supporter since 03/2018
Languages: English (English ) Timezone: Europe/Bucharest (GMT+03:00) |
Hi there and thank you for all the valuable information. I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it. Our Debugging Procedures I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site. Privacy and Security Policy We have strict policies regarding privacy and access to your information. Please see: **IMPORTANT** - Please make a backup of the site files and database before providing us access. - If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link I will be waiting for your response. Kind regards, |
November 29, 2023 at 4:49 pm #14954241 | |
Mihai Apetrei WPML Supporter since 03/2018
Languages: English (English ) Timezone: Europe/Bucharest (GMT+03:00) |
Hi there and thank you for the credentials. 1. This error that you get when you try to enable WPML, it seems that it is a pretty general type of error, not sure that this is related to just WPML: Also, the error that you were receiving when you were trying to activate the OTGS Installer plugin seems to be related to the PHP version used on the server or, again, to server settings. I created this custom search so that you can find the existing tickets on that exact same error message: I removed WPML from your site and manually uploaded and extracted all the files just to make sure that there were no missing files because we had this part of text inside the error message: "not found in". Can you please create a full website backup and then try to activate the latest version of WPML that I already installed here: Please let me know if it worked this time or if you are still getting an error. 2. If that did not work, another thing you can do is try a compatibility test so that we can see if, somehow, this issue doesn't come from (at least) one of the active plugins or the active theme. - create a full website backup If the issue happens even with the non-WPML plugins disabled: If you have the chance, it would be best to do this in a staging (testing) environment. Please let me know how that goes and if following any of these steps solved your issue or brought any change. I will be waiting for your response. Mihai |
November 30, 2023 at 5:04 am #14957711 | |
moodyH |
the home page loads if i disable "WPML String Translation" the site build using elementor so i will need the String plugin but when i activate it, the site dont load at all, pleaes let me know if i should keep it inactive. how can i fix the loading issue of the spanish home? New threads created by Mihai Apetrei and linked to this one are listed below: https://wpml.org/forums/topic/split-fatal-error-cant-load-spanish-homepage/ |
December 4, 2023 at 12:32 pm #14986643 | |
Mihai Apetrei WPML Supporter since 03/2018
Languages: English (English ) Timezone: Europe/Bucharest (GMT+03:00) |
Hi there and welcome back! I am happy to hear that the initial issue was resolved and that you were able to install the plugin. It seems however that you are now dealing with a new issue. Per our Support Policy, we can handle only one issue per ticket. Continuing with one issue per ticket helps not only supporters to focus on one issue at once but also enables other users to find solutions to their questions faster. I am moving this new issue to a new ticket and I am getting back to you in the new ticket with some steps that I will need you to follow to speed things and and help us figure out what is causing the new error. You can find the new ticket I created here: You can mark this current one as resolved. Mihai |