This thread is resolved. Here is a description of the problem and solution.
Problem: The client changed the language string for the portfolio archive page from Lithuanian ('projektai') to English ('projects'), causing an error in displaying portfolio single items. Solution: We resolved the issue by translating the slug via WPML's String Translation tool. After updating the slug, it functioned correctly in both languages. We recommend checking if the portfolio items now work as expected in both languages. If the problem reoccurs, we suggest replacing the .htaccess file with the default WordPress version and resaving the permalinks using the following code:
If this solution does not resolve your issue or seems outdated, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. We highly recommend opening a new support ticket if needed.
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 changed the string for the portfolio archive page from LT(projektai) to EN(projects), and now the portfolio single items are showing an error. The issue can be seen on this page: hidden link.
Symptoms:
The portfolio single items are displaying an error after changing the language string from LT to EN.
Questions:
Why are the portfolio single items showing an error after changing the language string?
How can I fix the error on the portfolio single items page?
Thanks for contacting WPML forums support. I'll be glad to help you today.
I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP) Preferably to a test site where the problem has been replicated.
Your answer will be private, meaning only you and I can access it.
❌ Please back up your database and website ❌
✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.
✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.
I changed the .htaccess file to the WordPress default one, which fixed the issue for a few minutes.
Please try the following test:
1- Deactivate all the plugins except WPML CMS and String Translation.
2- Switch to your parent theme
3- Resave the permalinks
4- Check the portfolio (hidden link)
If the issue is gone, activate them one by one to see which one is causing an interaction issue.
❌ Please back up your database before the above test ❌
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.