This thread is resolved. Here is a description of the problem and solution.
Problem: The client needed to upgrade from WPML version 4.2.1 and was concerned about potential issues when upgrading to the latest version. They also encountered a problem where a page displaying posts by category broke after the upgrade. Solution: 1. We advised the client to create a full website backup before proceeding with the upgrade. 2. To upgrade WPML, the client should manually download and install each major version sequentially (4.3, 4.4, 4.5, then 4.6) and disable the plugin temporarily during the process to avoid conflicts with the new WordPress version. 3. For the issue with the category page, we recommended enabling the WordPress debug feature to identify any specific PHP errors. The client should add the following lines to their
After making these changes, the client should reproduce the issue and check for detailed error messages.
If this solution does not resolve your issue or seems outdated, please check the related known issues, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If the problem persists, we highly recommend opening a new support ticket at WPML support forum for further assistance.
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.
Background of the issue:
I need to upgrade from WPML version 4.2.1 on my site hidden link. I want to know if there are any known issues when upgrading from this old version to the new one and the best practices to avoid issues. I plan to make a copy of my database before proceeding with the upgrade.
Symptoms:
No specific issue or error message mentioned.
Questions:
Are there any known issues when upgrading from WPML version 4.2.1 to the latest version?
What is the best practice to upgrade WPML to avoid issues?
Can I upgrade WPML via WP Admin?
"I recommend that you update to each new major version (3.9, 4.0, 4.1, 4.2 and 4.3)."
I have already upgrade to latest WP version, but if I upgrade from 4.2.1 to 4.6.15 by upgrading first to 4.3, 4.4, 4.5 and then 4.6, I wonder if WP will break since I am running on a new version.
One more question. I suppose that I need to manually download older versions (4.3, 4.4 and 4.5) and then install by uploading the plugin? While the last 4.6 I can via WP Admin.
I suppose I can also disable plugin and then upgrade for avoid issue with new WP version.
I am not sure if WP will break; I don't think it should but please do create a full website backup first so that you can have a safety net no matter what happens.
And yes, you would have to manually download the major versions, then install and activate them, then disable them, one by one.
I hope that you will find this information helpful.
Hi,
I upgrade successfully, and the only page that seems to break after upgrading WPML is the page that show posts by category, like this one hidden link
I'm happy to hear that you were able to make good progress on this.
I recommend that you enable the WordPress debug feature and recreate the issue. This will help you determine if you're receiving a specific error message instead of the general "fatal error" message.
By doing this, you can check for any PHP errors that might be occurring.
Here’s how to enable debugging:
1. Edit the `wp-config.php` file in your WordPress directory.
2. Add the following lines:
Once you’ve made these changes, please reproduce the issue again.
After that, check if you see any additional information. You might get a more detailed error message.
Then, if you have more information, you can try to see if you can find any existing tickets with that exact error together with a resolution from our colleagues, and if you can't find any, please open a new ticket for this specific issue so that we can properly focus on one issue per ticket.
Per our Support Policy, we can handle only one issue per ticket.
Continuing with one issue per ticket helps supporters focus on one issue at once and enables other users to find solutions to their questions faster.
Thank you very much for your understanding and cooperation.