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.
Tagged: Exception
This topic contains 14 replies, has 2 voices.
Last updated by Mohamed Sayed 1 year, 8 months ago.
Assisted by: Mohamed Sayed.
Author | Posts |
---|---|
October 31, 2023 at 10:42 am #14698501 | |
meng-hanT |
Hii, sorry previously I closed my ticket for the header and footer, but I just realize that I follow every step as you did but the Header and Footer are still not working. Please Help |
October 31, 2023 at 12:10 pm #14699473 | |
Mohamed Sayed |
Hi there, 1. To ensure the quickest and most accurate support, please provide your debug information so that I can get a look at some of your configurations. You can find it in WPML > Support > click on “Debug information” link. Please check this link for more info: http://wpml.org/faq/provide-debug-information-faster-support/ 2. I would need to request temporary access (WP-Admin) so I can investigate this issue further. Your next answer will be private, which means only you and I have access to it. ❌ Please backup your database and website before providing us with access details ❌ If you don't see the form below, please don't add your credentials as they will be publicly exposed: Privacy and Security when Providing Debug Information for Support: Thanks for your cooperation |
November 1, 2023 at 8:08 am #14705661 | |
meng-hanT |
I sorry for disturb, do you have any update regrading the problem ? Thanks |
November 1, 2023 at 10:12 am #14706471 | |
Mohamed Sayed |
Hi, I see that you're following the same steps, but there are some differences between the sandbox where my colleague tested and the staging site you provided. Please try the following steps after creating a full backup of the database and website and let me know if that helps: 1. Update the Elementor and Royal addons plugins to the latest version I'm also consulting our 2nd tier supporters about this issue and will update you with their reply. |
November 1, 2023 at 2:20 pm #14708227 | |
meng-hanT |
What is the purpose of doing this... 1. Update the Elementor and Royal addons plugins to the latest version Even if I seccussfully switched with Twenty Twenty-one Theme, I'm not going to use that theme for my website... what I need is to apply the translation of the custom header and footer in my current theme ( ShineTheme ) |
November 1, 2023 at 11:26 pm #14711591 | |
Mohamed Sayed |
I'm trying to isolate the issue and know why the steps provided by my colleague are not working on your site. Since you're using different plugin versions and a different theme, I suggested checking if this can be related. If this test didn't help, kindly create a copy of your site and provide a link to download it. You can use the Duplicator plugin (https://wordpress.org/plugins/duplicator/) or the All-in-One WP Migration plugin (https://wordpress.org/plugins/all-in-one-wp-migration/). The plugin will create a package file that you can download then upload again to Google Drive or Dropbox and share the download link in the next reply which I have marked as private. Then I’ll escalate this issue to our developers for further investigation. Alternatively, you can grant me permission to create the site copy from my side. For this, I’ll need to temporarily install the plugin called “Duplicator” or "All in One WP Migration" on your site to create the site clone. Please check here for more details: https://wpml.org/faq/provide-supporters-copy-site/ |
November 2, 2023 at 12:51 am #14711739 | |
meng-hanT |
Hi, you can go to my side, install the plugin and duplicate the content, Thanks. |
November 2, 2023 at 1:26 pm #14717107 | |
Mohamed Sayed |
Hi, I'm still investigating this issue on the local copy of your site. I found that even the header template is translated with the WPML translation editor, the translation works on the front end after replacing the condition string as suggested by my colleague in the previous ticket. I also noticed that if the Royal template post type is set to "Not Translatable", the custom header will show in all languages as you can see here: hidden link But this is not the case in your site, even when I create a new custom header and set to display in the entire site, it's not showing in the default language. This is also the same behavior when I switch your theme to a default WP theme. Could you please tell me how you set the custom header on your site? Also, are you able to add a new custom header to the default language? |
November 3, 2023 at 12:49 am #14721765 | |
meng-hanT |
I just create the header and set the condition to entire site like usual. Yes I can add any new custom header I want to the default languages. |
November 3, 2023 at 4:08 pm #14727175 | |
Mohamed Sayed |
I'm checking with our developers as I couldn't find more clues and will let you know once I get their reply. Kind regards. |
November 6, 2023 at 1:11 am #14734297 | |
meng-hanT |
Hii any update ? |
November 6, 2023 at 9:53 am #14736165 | |
Mohamed Sayed |
Hi, Our devs are still working on debugging this issue and I will update here soon. |
November 9, 2023 at 12:41 am #14761661 | |
Mohamed Sayed |
Hi, This is a compatibility issue with the Royal addons plugin, kindly create a full backup then try the following workaround: Please try the following steps after creating a full database and website backup: - Go to your database manager (Like phpMyAdmin) UPDATE `wp_posts` SET `post_name` = 'user-header-customheader2id' WHERE `ID` = '36516'; UPDATE `wp_posts` SET `post_name` = 'user-header-customheader2ms' WHERE `ID` = '36517'; UPDATE `wp_posts` SET `post_name` = 'user-footer-customfooter2' WHERE `ID` = '36243'; UPDATE `wp_posts` SET `post_name` = 'user-footer-customfooter2' WHERE `ID` = '36254'; - Edit the wp-content/plugins/royal-elementor-addons/classes/utilities.php file $template_id = Utilities::get_template_id( $slug ); - Just after that code, add the following: $template_id = apply_filters('wpml_object_id', $template_id, 'wpr_templates', true); Since the "Royal Elementor Addons" plugin is not listed on the WPML compatibility list for plugins https://wpml.org/plugin/, we suggest contacting the author and asking them to join our Go Global program so our compatibility team can work with them to make the plugin fully compatible with WPML. They can join at this link: https://wpml.org/documentation/support/go-global-program/ Let us know your feedback please. |
November 9, 2023 at 2:55 am #14761953 | |
meng-hanT |
Hi, Thanks. |
November 9, 2023 at 9:05 am #14763475 | |
Mohamed Sayed |
Hi, May I kindly ask you to mark this ticket as resolved if you don't see any other issues with the Royal addons templates? |