With the plugin "Complianz - Terms and Conditions" active, I try to change languages with the language switcher from English to Norwegian.
Link to a page where the issue can be seen:
hidden link
NB: This is a live site, so I have temporary deactivated the plugin "Complianz - Terms and Conditions". If I can provide it to you securely, I'll give you the wp login so that you may test it.
I expected to see:
The site/page in Norwegian.
Instead, I got:
"Critical error"
More info:
- This error only occurs when the plugin "Complianz - Terms and Conditions" is active.
- I have tested deactivating every other plugin except WPML and Complianz.
- I have tested deleting, reinstalling and reactivating "Complianz - Terms and Conditions" plugin.
- This only happens with Norwegian language, not English and Spanish.
- It happens on all pages, not just the front page.
Yes, I would need to take a closer look 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 if possible in order to be of better help and check if some configurations might need to be changed
Your following answer will be private, which means only you and I have access to it.
✙ I would need your permission to de-activate and re-activate Plugins and the Theme and to change configurations on the site if required. This is also a reason the backup is critical.
I've checked and it looks like the issue came from the "Complianz - Terms and Conditions" plugin. I've commented on the code from Line #234 - Line #242 in wp-content/plugins/complianz-terms-conditions/functions.php and it seems to work fine now.
Could you please check? You need to tell the plugin author about this issue so that they can fix it.
Yes, it seems to work on the clone site now. The strange thing is that there's no apparent issue on other sites where I run these plugins. However, I'll contact and inform Complianz about it.
Thank you