Background of the issue:
I installed WPML to translate my website and make it available in multiple languages. After activating WPML, a conflict immediately occurred with the Comgate payment gateway plugin, causing critical issues. Additionally, translated pages, such as the shopping cart, break and display incorrect layouts. Link to a page where the issue can be seen: hidden link
Symptoms:
1. Conflict between WPML and the Comgate plugin: Errors appear immediately after WPML installation and activation. Turning off the Comgate plugin resolves the issue but disables essential payment functionality. 2. Multiple PHP warnings and errors: Warning: Undefined array key "merchantsk" in /www/doc/www.extraprivlac.sk/www/wp-content/plugins/woo-comgate/includes/class-wc-gateway-comgate.php on line 51 Warning: Undefined array key "secure_keysk" in /www/doc/www.extraprivlac.sk/www/wp-content/plugins/woo-comgate/includes/class-wc-gateway-comgate.php on line 52 Warning: Undefined array key "merchanthu" in /www/doc/www.extraprivlac.sk/www/wp-content/plugins/woo-comgate/includes/class-wc-gateway-comgate.php on line 51 Warning: Undefined array key "secure_keyhu" in /www/doc/www.extraprivlac.sk/www/wp-content/plugins/woo-comgate/includes/class-wc-gateway-comgate.php on line 52 Warning: session_start(): Session cannot be started after headers have already been sent in /www/doc/www.extraprivlac.sk/www/wp-content/plugins/wc-dpd/includes/Notice.php on line 28 3. Broken layouts in translated pages: Pages like the shopping cart break when viewed in a translated language. Disabling WPML restores functionality, but I need both WPML and Comgate to work together.
Questions:
How can I resolve the conflict between WPML and the Comgate plugin?
What steps can I take to fix the broken layouts in translated pages?
This looks like some sort of PHP conflict. I will need to closely examine your website to confirm the issue. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.
Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.
Your upcoming reply will be treated with confidentiality and will only be visible to you and me.
✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.
I can confirm the compatibility with Woo Comgate. However, it looks like all warnings point to the Woo Comgate plugin. Could you get the plugin author Woo Comgate to check on it?
Usually, these PHP warnings will not affect the functionality and should be fixed by the plugin developer. Let me know how it goes.
The topic ‘[Closed] Plugin Conflict After Installing WPML: Comgate Errors and Broken Translated Pages’ is closed to new replies.