[Resolved] Split: Fatal error between Yoast SEO and WPML
This thread is resolved. Here is a description of the problem and solution.
Problem: If you're experiencing errors when trying to set a post as nofollow with Yoast, and encountering fatal errors after saving the post, it might be related to your WPML settings and configurations. Solution: The issue occurred only with specific custom post types, such as "Downloads" from "Download Manager Pro". Setting these custom post types in WPML to "Translate independently" instead of duplicating them resolved the issue. We also recommend updating all your plugins to verify if the issue persists. If it does, we can try to recreate the issue on a test site.
Please note that this solution might be outdated or not applicable to your specific 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 continues, 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.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Note, on your site the WP MEMORY LIMIT was not declared correctly inside wp-config.php.
It said:
define('WP_MEMORY_LIMIT', '256');
But should be:
define('WP_MEMORY_LIMIT', '256M');
I have adjusted this.
---
Next, I went to one of your example posts, and changed the NoIndex setting, then saved the post.
This triggers the following fatal error:
PHP Fatal error: Uncaught Exception: Modèle de page non valide. in /nas/content/live/heskins1/wp-content/plugins/sitepress-multilingual-cms/inc/post-translation/wpml-post-duplication.class.php:104
Stack trace:
#0 /nas/content/live/heskins1/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php(4561): WPML_Post_Duplication->make_duplicate(285706, 'fr')
#1 /nas/content/live/heskins1/wp-content/plugins/sitepress-multilingual-cms/inc/post-translation/wpml-post-synchronization.class.php(94): SitePress->make_duplicate(285706, 'fr')
#2 /nas/content/live/heskins1/wp-content/plugins/sitepress-multiling
Now, this example is not a normal WordPress Post, it is a Custom Post Type called "Downloads".
Do I understand right, that the issue only occurs on this post type and this post type is coming from "Download Manager Pro"?
Please update all plugins and verify if the issue persists. If this will be the case, we should try to recreate the issue on a test site which I will provide.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
So far I have not been able to replicate the issue on the sandbox and need to run further tests.
A question:
As you can see on the screenshot some of the translations that you created are duplicates. This means that those are not independent translations and they will get overwritten each time the original product is updated.
Would you mind if we ran a test and set those duplicates as independent translations to verify if this solves the issue?