 arturasJ-2
|
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?
|
 Osama Mersal
WPML Supporter since 02/2020
Languages:
English (English )
Arabic (العربية )
Timezone:
Africa/Cairo (GMT+03:00)
|
Hi,
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.
Best regards,
Osama
|
 Osama Mersal
WPML Supporter since 02/2020
Languages:
English (English )
Arabic (العربية )
Timezone:
Africa/Cairo (GMT+03:00)
|
Hi,
Thanks for the access details. I translated the slug via WPML-> hidden link">String Translation. After that, the slug worked correctly in both languages. (Kindly check this hidden link">screenshot)
Please check if the proftfolio items work as expected in both languages.
If the issue happens again, please replace your .htaccess with the default WordPress one and resave the permalinks.
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Best regards,
Osama
|
 arturasJ-2
|
for not working project even in lithuania language now, please check
|
 Osama Mersal
WPML Supporter since 02/2020
Languages:
English (English )
Arabic (العربية )
Timezone:
Africa/Cairo (GMT+03:00)
|
Hi,
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 ❌
Best regards,
Osama
|
 arturasJ-2
|
Contact Form 7 Multilingual - does the error.
Just tryed to disable/enable all plugins and found error comes from this plugin.
|
 arturasJ-2
|
Problem still exist when all plugins deactivated.
|
 Osama Mersal
WPML Supporter since 02/2020
Languages:
English (English )
Arabic (العربية )
Timezone:
Africa/Cairo (GMT+03:00)
|
Hi,
Please check this hidden link">video. The issue doesn't happen with the parent theme with WPML CMS and String Translation activated.
Best regards,
Osama
|
 arturasJ-2
|
Thank you, my issue is resolved.
|