Issue with GTranslate Plugin – Language Switching Intermittently Not Working
-
Dear GTranslate Support Team,
I hope this message finds you well. I am currently experiencing an issue with the GTranslate plugin on my WordPress website, and I would appreciate your assistance in resolving it.Specific Issue:
- The language switcher works intermittently on my homepage. Sometimes, it switches languages without any problems, but other times, it fails to display certain languages correctly.
- For example:
- English (default language) loads without any issues.
- When switching to other languages, the page does not display as expected, and a “Critical Error” message sometimes appears.
- This issue seems to occur sporadically without any consistent triggers. For instance, after refreshing the page or clearing the cache, it may work for a while but revert back to the problematic state later.
Relevant Debug Information:
- My server is running on PHP 8.1.31 with sufficient resources (e.g., memory limit set to 512 MB).
- I am also using the Houzez theme and Elementor page builder. There are some PHP warnings related to these plugins/themes, which might be interacting with GTranslate. Below is an example:
PHP Warning: Trying to access array offset on value of type bool in /srv/htdocs/wp-content/themes/houzez/framework/functions/helper_functions.php on line 6548
PHP Fatal error: Uncaught Error: Call to a member function get_component() on null in /srv/htdocs/wp-content/plugins/elementor/includes/api.php on line 129
Testing and Observations:
- When I deactivate the GTranslate plugin, the site functions normally.
- Reactivating the plugin restores the issue, specifically with the homepage language switching.
- Other pages appear to function normally, but the homepage has consistent issues when switching languages.
Steps Taken:
- I have tried clearing all caches (browser, server, and GTranslate cache).
- Ensured that the plugin is up to date.
- Tested with and without URL translation enabled, but the issue persists.
Additional Context:
I came across a similar issue on a forum where someone mentioned that language switching inside Elementor popups did not work unless the GTranslate shortcode was placed elsewhere on the site. Could this be related to the initialization process of GTranslate within dynamically loaded content or specific themes?Request:
- Could you please assist in diagnosing this issue further?
- Are there any known compatibility issues with Houzez or Elementor that might cause such behavior?
- Would you recommend any specific troubleshooting steps to resolve this?
Thank you in advance for your support. Please let me know if you require additional information or access to my site for further investigation.
Looking forward to your guidance.
Best regards,
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.