[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?
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
This failure is not to be connected to Yoast SEO.
Your example also showed the error, if I saved the original content without making any changes.
Settings these "Duplicates" to "Translate independently" appears to solve the issue.
In this case, I would suggest not duplicating these custom post types with WPML.
Manage Cookie Consent
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.