This thread is resolved. Here is a description of the problem and solution.
Problem: The client was experiencing issues with WPML not replicating designs correctly across translations, affecting page layouts, post types, and typography settings. Specifically, there were problems with 'concert' postcards not displaying correctly due to conditional logic based on term IDs, and global typography settings not being carried over in translations.
Solution: 1. We recommended comparing the original and translated versions of the 'concert' postcards to identify any discrepancies in settings or options. 2. We advised correcting the category ID for the English language postcard, as WPML does not automatically register the translated term ID used in Avada's conditional logic. 3. We confirmed that switching to the 'WordPress Editor' would require sticking with it, as switching back to the WPML Editor would necessitate re-translating the entire page. 4. For the Avada options, we provided a link to the documentation on using WPML with the Avada theme: https://wpml.org/documentation/theme-compatibility/using-wpml-with-the-avada-theme/#setting-theme-options 5. To address a critical error on a specific page, we suggested performing a backup, permanently deleting the English language page, and re-translating it from Dutch.
If this solution does not seem relevant to your issue, please do not hesitate to open a new support ticket with us: 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.
Let's solve this critical error first on this page. I've edited the page hidden link and it looks broken. Could you perform a backup and permanently delete this English language page? Then, re-translate it from Dutch again and see if it fixes it.
Woah that is weird. I used the WPML advanced editor to translate, so I didn't see these errors. I will remove the translations for all of those pages, and re-do them with the WPML editor, see if that helps.
Concert pages look good now. I now see another critical error on the news posts hidden link
This was not there earlier today. I can try the same method again. But what is causing these errors?
It looks like a database issue based on the error message. Yes, please try the method I shared earlier to fix this. Let me know how it goes.
[21-Nov-2023 16:39:17 UTC] PHP Fatal error: Uncaught Error: Object of class WP_Post could not be converted to string in /home/customer/www/staging13.worldmasterpianists.nl/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/core-abstract-classes/class-wpml-element-translation.php:225
Stack trace:
#0 /home/customer/www/staging13.worldmasterpianists.nl/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/core-abstract-classes/class-wpml-element-translation.php(225): array_diff(Array, Array)
#1 /home/customer/www/staging13.worldmasterpianists.nl/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/query-filtering/class-wpml-query-parser.php(551): WPML_Element_Translation->prefetch_ids(Array)
#2 /home/customer/www/staging13.worldmasterpianists.nl/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/query-filtering/class-wpml-query-parser.php(444): WPML_Query_Parser->adjust_q_var_pids(Object(WP_Query), Array, 'post__in')
#3 /home/customer/www/staging13.worldmasterpianists.nl/public_html/wp-content/plugins in /home/customer/www/staging13.worldmasterpianists.nl/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/core-abstract-classes/class-wpml-element-translation.php on line 225
Was able to fix the news posts.. Now on to the concert pages?
Here's an example hidden link.
These concert pages consist of a few sections: Introduction, videos, concert programme, an artist post card which links to the corresponding artist page and down below venue information (which consists of 2 post cards).
These post cards are based on ACF relationships. Only the post card of the related location or artist should be shown. This works correctly in the original language, Dutch.
The layout is located here: hidden link It was translated using the WPML advanced editor.
Ok, I will check on this. For your next question, I will have to split it into a new ticket as per our support policy. I am only allowed to handle a single issue per ticket and I hope you understand.
Continuing with one issue per ticket helps not only supporters to focus on one issue at once, but also enables other users to find solutions to their questions faster.
Hi Kor, I see you're working on the website. You might like to know I received a fatal error message from wordpress in my email:
Current plugin: Advanced Custom Fields PRO (version 6.2.3)
PHP version 7.4.33
Error Details
=============
An error of type E_ERROR was caused in line 73 of the file /home/customer/www/staging13.worldmasterpianists.nl/public_html/wp-content/plugins/advanced-custom-fields-pro/includes/acf-bidirectional-functions.php. Error message: Uncaught Error: Object of class WP_Post could not be converted to string in /home/customer/www/staging13.worldmasterpianists.nl/public_html/wp-content/plugins/advanced-custom-fields-pro/includes/acf-bidirectional-functions.php:73
Stack trace:
#0 /home/customer/www/staging13.worldmasterpianists.nl/public_html/wp-content/plugins/advanced-custom-fields-pro/includes/acf-bidirectional-functions.php(73): array_unique(Array)
#1 /home/customer/www/staging13.worldmasterpianists.nl/public_html/wp-content/plugins/advanced-custom-fields-pro/includes/fields/class-acf-field-relationship.php(836): acf_update_bidirectional_values(Array, 11678, Array)
#2 /home/customer/www/staging13.worldmasterpianists.nl/public_html/wp-includes/class-wp-hook.php(326): acf_field_relationship->update_value(Array, 11678, Array)
#3 /home/customer/www/staging13.worldmasterpianists.nl/public_html/wp-includes/plugin.php(256): WP_Hook->apply_filters(Array, Array)
#4 /home/customer/www/staging13.worldmasterpianists.nl/public_html/wp-content/plugins/a
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.