Thanks for contacting WPML forums support. I'll be glad to help you today.
First of all, sorry for the late reply; it was due to a higher workload.
1) 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 backup 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.
2) It's unrelated to the issue, but according to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. The minimum requirements for WPML are 128 MB. (Kindly check this page https://wpml.org/home/minimum-requirements/)
You can increase it by adding the following code in your wp-config.php file right before the /* That's all, stop editing! Happy publishing. */ line:
After that, please create a test footer and translate it to replicate the issue. If the issue is replicable, please let me know to consult our compatibility team.
Hello,
I am unable to install the theme on the sandbox account as the license code is restricted to a single domain and is currently active on my production website.
Hi,
Yes, the issue is the same. Even when I switch language the translation is still the same. It stays as the second translation, in this case in albanian.
Thanks for your patience. Please check the following steps:
1- Open the app/public/wp-content/plugins/residence-studio/includes/class-header-footer-templates.php file
2- Around line 21, replace the following snippet (display_custom_elementor_header and display_custom_elementor_footer methods):
public function display_custom_elementor_header() {
$first_before_header_key = array_search('wpestate_template_before_header', $this->header_footer_templates);
$wpestate_template_header = array_search('wpestate_template_header', $this->header_footer_templates);
$wpestate_template_after_header = array_search('wpestate_template_after_header', $this->header_footer_templates);
echo '<div class="wpestate_elementor_header_custom">';
if ($first_before_header_key !== false) {
$this->render_elementor_post($first_before_header_key);
}
if ($wpestate_template_header !== false) {
$this->render_elementor_post($wpestate_template_header);
}
if ($wpestate_template_after_header !== false) {
$this->render_elementor_post($wpestate_template_after_header);
}
echo '</div>';
}
/**
* Display custom Elementor footer
*/
public function display_custom_elementor_footer() {
$first_before_footer_key = array_search('wpestate_template_before_footer', $this->header_footer_templates);
$wpestate_template_footer = array_search('wpestate_template_footer', $this->header_footer_templates);
$wpestate_template_after_footer = array_search('wpestate_template_after_footer', $this->header_footer_templates);
echo '<div class="wpestate_elementor_footer_custom">';
if ($first_before_footer_key !== false) {
$this->render_elementor_post($first_before_footer_key);
}
if ($wpestate_template_footer !== false) {
$this->render_elementor_post($wpestate_template_footer);
}
if ($wpestate_template_after_footer !== false) {
$this->render_elementor_post($wpestate_template_after_footer);
}
echo '</div>';
}